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

Entities ignored in XML.loadString #81

Open
biswanaths opened this issue Jul 20, 2015 · 0 comments
Open

Entities ignored in XML.loadString #81

biswanaths opened this issue Jul 20, 2015 · 0 comments

Comments

@biswanaths
Copy link
Owner

val xmlLs = scala.xml.XML.loadString( "<a>ceci &amp; un msg</a>" )

Gives me an element with only one child of type scala.xml.Text.

Where as

val xmlCode = <a>ceci &amp; un msg</a>

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

Imported from : SI-1654

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

1 participant