scala/scala-xml — pull request #34 by bartschuller (2014-11-21 12:34:52+00:00)
Title: Fix PIs appearing before text nodes.

The bug:

aaabbb

is parsed as

aaabbb

by loadXML.

Cause and fix:

The SAX handler that's used when you call loadXML didn't append
the text buffer to the current node list before pushing a
processing-instruction node.