Comments (15)
This is indeed incorrect. That is odd... @RubenVerborgh I think this trickles down to the (old) https://github.com/rdfjs/N3.js
from turtlevalidator.
from turtlevalidator.
I was using the web version http://ttl.summerofcode.be/
maybe its then only that the webversion is not running the latest version?
Best
Georg
from turtlevalidator.
Unfortunately not, I reproduced it in command-line as well. The fix is in v1 of N3.js, which has a breaking API change, thus it will take some more time to update this repo (and the web service) as well.
from turtlevalidator.
@mielvds The change is quite easy actually. Just drop the N3.Util import, and replace
if (N3Util.isLiteral(triple.object)) {
var value = N3Util.getLiteralValue(triple.object);
var type = N3Util.getLiteralType(triple.object);
by
if (triple.object.termType === 'literal') {
var value = triple.object.value;
var type = triple.object.datatype;
from turtlevalidator.
After updating N3, the issue remains. @GeorgFerdinandSchneider or @RubenVerborgh I suggest you recreate this issue at https://github.com/rdfjs/N3.js
from turtlevalidator.
@mielvds N3.js is fine. It's the validator not passing format: 'turtle'
to N3.js.
from turtlevalidator.
Okay, didn't know about the permissive parsing. Fixed in https://github.com/IDLabResearch/TurtleValidator/tree/v1.1 @pietercolpaert can you update the webpage?
from turtlevalidator.
Done
from turtlevalidator.
Doesn't look correct, not all changes went trough. Can you check?
from turtlevalidator.
The last commit in v1.1 and on master was an hour ago. Did you push the changes alright?
from turtlevalidator.
The repo is correct. Reason I ask is because https://github.com/IDLabResearch/TurtleValidator/blob/master/lib/validator.js#L4 is not reflected in http://ttl.summerofcode.be/js/ttl.js
from turtlevalidator.
No change ...
from turtlevalidator.
Works for me: there’s a heavy caching policy on this server though. Can you try a hard refresh?
from turtlevalidator.
yep, all good!
from turtlevalidator.
Related Issues (9)
- syntax error thrown when using '=' as shortcut for owl:sameAs HOT 5
- # invalid in @base ? HOT 6
- exit with error code if errors HOT 3
- How do I cite this tool? HOT 1
- spaces in filepath HOT 1
- Undetected syntax error: blank spaces between literal and langtag/datatype HOT 3
- Request: Expose validator with a Javascript API HOT 2
- Typos with double columns not caught
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turtlevalidator.