xml-reader
xml-reader copied to clipboard
Multiline comments are parsed incorrectly
When I try to parse a string like:
<artist>
<!--<album title="lost album">
<track>
Lost track
</track>
</album>-->
</artist>
I would expect the output to be only the artist-element with no children. Instead I get the artist element with two children: The first one is the track-element, the second one is a text-node with value "-->\n".