ruby-rdf / rdf-turtle

Turtle reader/writer for Ruby
http://rubygems.org/gems/rdf-turtle
The Unlicense
31 stars 9 forks source link

Parser does not work correctly #9

Closed djstrong closed 10 years ago

djstrong commented 10 years ago

The problem is with file: https://gist.github.com/djstrong/11226102 This site says that format is ok. However this parser does not work (no error messages) - statements after comments are not returned (i.e. <http://dbpedia.org/resource/SRT_Viper__Fourth_generation,_Phase_II_Viper_SRT-10__1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Automobile> .).

gkellogg commented 10 years ago

You found a bug in the EBNF string scanner! Try gem update ebnf and that should solve the issue (really narrow corner-case). If you're using bundler, a bundle update should do the job.

I'll update the turtle gem in a bit with updated dependencies. Thanks!

djstrong commented 10 years ago

Thanks, it works now!