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
Under MRI 2.1.5, doc.character_list includes "en:#:home_page:#:stories:#:[6]:#:name", but under JRuby 1.7.15, it includes "en:#:home_page:#:stories:#:[6", "]", and ":#:name". It's as if the square brackets mess up the parser.
The text was updated successfully, but these errors were encountered:
I'm seeing a fairly strange discrepancy when parsing an XML document with square brackets in a text node. Here's the XML I'm parsing:
Here's the SAX document class I'm using:
I'm parsing like this:
Under MRI 2.1.5,
doc.character_list
includes "en:#:home_page:#:stories:#:[6]:#:name", but under JRuby 1.7.15, it includes "en:#:home_page:#:stories:#:[6", "]", and ":#:name". It's as if the square brackets mess up the parser.The text was updated successfully, but these errors were encountered: