Miguel Provencio created XERCESC-2133:
-----------------------------------------

             Summary: If there is a space between tags then the text in the 
first tag is duplicated when traversing DOM
                 Key: XERCESC-2133
                 URL: https://issues.apache.org/jira/browse/XERCESC-2133
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM
    Affects Versions: 3.1.0
         Environment: Xerces-C++ version: 3.1

Platform: Linux x86_64

OS: Ubuntu 16.04

Binary distribution
(sudo apt install libxerces-c-dev)
            Reporter: Miguel Provencio
         Attachments: example.xml, main.cpp

When there is a space between two tags then the first tag text shows up twice 
when traversing the DOM.

Example XML:

<text><u>one</u> <i>two</i></text>

When traversing the DOM the text "one" shows up twice.

Sample output:

<text>
<u>
[one ]
</u>
[one ]
<i>
[two]
</i>
</text>

When you delete the space between the two tags the problem no longer happens.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to