#1 XMLReaderElement::RawData() doesn't return the closing tag

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

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

  XMLReaderElement reader("elem");

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

elementXml contains <elem><stage>Content></stage> rather than the expected <elem><stage>Content></stage></elem>.

When parsing ```<elem><stage>Content></stage></elem>``` with ``` XMLReaderElement reader("elem"); reader .RawData(elementXml) .Element("stage", stageContent) .RawData(stageXml) .End("stage") .End("elem"); ``` elementXml contains ```<elem><stage>Content></stage>``` rather than the expected ```<elem><stage>Content></stage></elem>```.
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.