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
@acruise said:
The SAX parser is handing us the "&" in a separate characters call, but it doesn't give any hint that it was previously an entity. Of course, in the case of amp,lt,gt (and quot in attributes) they couldn't have been literals, but there are plenty of situations in which a stream contains characters encoded as entities that could just as well have been literals, and the only way we'd be able to tell is that we'd receive them in a separate characters call. My inclination is to leave this one alone (or even change the XML literal parser to act like SAX!) unless someone can advance a compelling argument for change.
Gives me an element with only one child of type scala.xml.Text.
Where as
Gives me an element with 3 children. The second is an scala.xml.EntityRef :
xmlCode.child(1).getClass
Then of course i have
xmlLs != xmlCode
The text was updated successfully, but these errors were encountered: