Giter VIP home page Giter VIP logo

Comments (15)

mielvds avatar mielvds commented on August 18, 2024

This is indeed incorrect. That is odd... @RubenVerborgh I think this trickles down to the (old) https://github.com/rdfjs/N3.js

from turtlevalidator.

RubenVerborgh avatar RubenVerborgh commented on August 18, 2024

from turtlevalidator.

GeorgFerdinandSchneider avatar GeorgFerdinandSchneider commented on August 18, 2024

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.

mielvds avatar mielvds commented on August 18, 2024

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.

RubenVerborgh avatar RubenVerborgh commented on August 18, 2024

@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.

mielvds avatar mielvds commented on August 18, 2024

After updating N3, the issue remains. @GeorgFerdinandSchneider or @RubenVerborgh I suggest you recreate this issue at https://github.com/rdfjs/N3.js

from turtlevalidator.

RubenVerborgh avatar RubenVerborgh commented on August 18, 2024

@mielvds N3.js is fine. It's the validator not passing format: 'turtle' to N3.js.

from turtlevalidator.

mielvds avatar mielvds commented on August 18, 2024

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.

pietercolpaert avatar pietercolpaert commented on August 18, 2024

Done

from turtlevalidator.

mielvds avatar mielvds commented on August 18, 2024

Doesn't look correct, not all changes went trough. Can you check?

from turtlevalidator.

pietercolpaert avatar pietercolpaert commented on August 18, 2024

The last commit in v1.1 and on master was an hour ago. Did you push the changes alright?

from turtlevalidator.

mielvds avatar mielvds commented on August 18, 2024

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.

mielvds avatar mielvds commented on August 18, 2024

No change ...

from turtlevalidator.

pietercolpaert avatar pietercolpaert commented on August 18, 2024

Works for me: there’s a heavy caching policy on this server though. Can you try a hard refresh?

from turtlevalidator.

mielvds avatar mielvds commented on August 18, 2024

yep, all good!

from turtlevalidator.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.