We submitted a number of bugs on the scala xml library to the scala support site.
However, scala's XML support is now community maintained on a github site.
We should re-enter our bugs into the github system, and xref back to the original (now closed) scala support tickets.
Then we should think about how to get them fixed, as they would simplify our code substantially if the scala XML support didn't have these issues.
Original tickets are:
https://issues.scala-lang.org/browse/SI-7796 - XMLEventReader does not handle ' properly
https://issues.scala-lang.org/browse/SI-3527 - XML ConstructingParser too aggressive trimming whitespace around character references
Note: This one says fixed in Scala 2.11.7 - https://issues.scala-lang.org/browse/SI-3368 - Preserve CDATA sections, don't convert them to generic Text nodes.
https://issues.scala-lang.org/browse/SI-4303 - PrettyPrinter strips newlines from text in nodes, even pcdata
https://issues.scala-lang.org/browse/SI-4543 - PrettyPrinter removes newlines