#2 XMLReaderElement::interpret() doesn't detect a missing closing tag

Open
opened 3 years ago by adeniz · 0 comments
adeniz commented 3 years ago

When parsing <elem><stage>Content></elem></stage> with

  XMLReaderElement reader("elem");

  reader
    .RawData(elementXml)
    .Element("stage", stageContent)
      .RawData(stageXml)
      .End("stage")
    .End("elem");

XMLReaderElement::interpret() does not return any error. It should detect the invalid XML syntax.

When parsing ```<elem><stage>Content></elem></stage>``` with ``` XMLReaderElement reader("elem"); reader .RawData(elementXml) .Element("stage", stageContent) .RawData(stageXml) .End("stage") .End("elem"); ``` XMLReaderElement::interpret() does not return any error. It should detect the invalid XML syntax.
adeniz added the
bug
label 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.