Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jruby 1.7.3 fails on parsing empty document #20

Closed
jcoyne opened this issue Apr 8, 2013 · 2 comments
Closed

Jruby 1.7.3 fails on parsing empty document #20

jcoyne opened this issue Apr 8, 2013 · 2 comments

Comments

@jcoyne
Copy link

jcoyne commented Apr 8, 2013

Specifically this test: https://github.com/ruby-rdf/rdf-spec/blob/master/lib/rdf/spec/reader.rb#L103-L111

causes a runtime exception: 'null document'

Why is there a test for parsing an empty IO?

@gkellogg
Copy link
Member

gkellogg commented Apr 8, 2013

The RDF gem is passing specs on Travis-CI: https://travis-ci.org/ruby-rdf/rdf/jobs/6136867. Is this failing on something else?

Empty documents are legitimate types of things to parse, but this particular spec is just looking to ensure that instance variables are set properly.

@jcoyne
Copy link
Author

jcoyne commented Apr 8, 2013

I've created a new Nokogiri issue for this: sparklemotion/nokogiri#883

@gkellogg gkellogg closed this as completed Apr 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants