to_xml doesn't return DTD set, JRuby #751

Closed
belison opened this Issue Aug 21, 2012 · 0 comments

Comments

Projects
None yet
2 participants

belison commented Aug 21, 2012

If you copy the exact sample from the bottom of http://nokogiri.org/Nokogiri/XML/Builder.html the output does not include the doctype.

nokogiri-1.5.5-java

puts builder.to_xml
<?xml version="1.0"?>
<root>
  <foo/>
</root>

jvshahid closed this in 173f5b7 Dec 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment