Skip to content

Preserve CDATA sections, don't convert them to generic Text nodes #74

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

Closed
mbeckerle opened this issue Jul 29, 2015 · 3 comments
Closed

Comments

@mbeckerle
Copy link

This issue migrated from https://issues.scala-lang.org/browse/SI-3368.

There is substantial discussion there which is not reproduced here. Please see that tracker.

The original description:

Sort of defeats part of the purpose of using a CDATA...

scala> <hi><![CDATA[This & That]]></hi>
res0: scala.xml.Elem = <hi>This &amp; That</hi>
@mbeckerle
Copy link
Author

This issue was already fixed back prior to the spin-off of scala-xml to github.

See the original issue https://issues.scala-lang.org/browse/SI-3368

@ploddi
Copy link

ploddi commented Jun 30, 2021

Can someone elaborate on status of this? Seems like issue still here even after scala-xml moved to separate module.

@ploddi
Copy link

ploddi commented Jun 30, 2021

Is this still depends on compiler flag? Can it be altered by factory.setFeature on parser level?

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

2 participants