[ https://issues.apache.org/jira/browse/XERCESC-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1913. ------------------------------------ Resolution: Fixed Assignee: Boris Kolpackov Fix is in the trunk and in the 3.1.1 branch. > Change to importNode to copy prefixes breaks when xmlns="" is present > --------------------------------------------------------------------- > > Key: XERCESC-1913 > URL: https://issues.apache.org/jira/browse/XERCESC-1913 > Project: Xerces-C++ > Issue Type: Bug > Components: DOM > Affects Versions: 3.1.0 > Environment: Affects all platforms > Reporter: Scott Cantor > Assignee: Boris Kolpackov > Fix For: 3.1.1, 3.2.0 > > > A change to importNode was made to copy over prefixes of nodes with non-empty > namespaces, using setPrefix. This causes setPrefix to throw a DOMException if > called on the default namespace declaration node (xmlns="") because it checks > for that explicitly. > The revised fix should check for that case in one of the two spots, probably > in setPrefix by ignoring the issue when the prefix supplied is NULL. > Mailing list thread here: > http://marc.info/?t=126620794700001&r=1&w=2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org