You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating a new Nokogiri::XML document from a string, that has one or more space characters prior to the xml preamble, on jruby all following child nodes get lost:
Actually this is fixed on mastee. I just tried it and it produced the same output as the C Nokogiri. I also verified that the previous version of Nokogiri suffered from this problem. @yokolet can you please double check.
@jvshahid hmm,,, it is fixed. What commit fixed this?
Anyway, this issue should be closed. The fix will be in next release.
@coffeejunk This bug was once reported when Nokgoiri is used from fog (I think). But, the original reporter hasn't used fog since then, so the bug remains opened. This bug usually pops up when other gem generats XML document starting from space.
when creating a new
Nokogiri::XML
document from a string, that has one or more space characters prior to the xml preamble, on jruby all following child nodes get lost:this works perfectly fine in ruby 1.8, 1.9, rbx1.8 and rbx1.9:
weird however is, that this works as originally expected with all listed ruby implementations when the first element is not the xml preamble:
The text was updated successfully, but these errors were encountered: