Markus Friedrich created XERCESC-2244:
-----------------------------------------

             Summary: DOMDocument::normalizeDocument() fails
                 Key: XERCESC-2244
                 URL: https://issues.apache.org/jira/browse/XERCESC-2244
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM, Miscellaneous, Utilities
    Affects Versions: 3.2.4
            Reporter: Markus Friedrich


The following XML file

 
{code:java}
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<root xmlns="http://a"; xmlns:pre="http://a";>
  <child xmlns="http://b"; xmlns:pre="http://a"/>
</root> 
{code}
fails when DOMDocument::normailzeDocument() gets called on its DOM.

In DOMNormalizer.cpp:437 the "oldUri" gets removed from "fUriHash" twice, which 
throws the second time since the key no longer exists in "fUriHash".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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