xml-reader icon indicating copy to clipboard operation
xml-reader copied to clipboard

Multiline comments are parsed incorrectly

Open DrMarkEy opened this issue 6 years ago • 0 comments

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".

DrMarkEy avatar Nov 05 '19 09:11 DrMarkEy