[ https://issues.apache.org/jira/browse/XERCESC-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991797#comment-16991797 ]
Scott Cantor commented on XERCESC-2182: --------------------------------------- You're going to need to be much more specific, probably with some standards refs, to justify a change to the DOM code unless one of the few remanining comitters is able to evaluate the supposed bug. An XML sample would probably help as well. > Obsolete default namespace declaration when create element with default > namespace URI > -------------------------------------------------------------------------------------- > > Key: XERCESC-2182 > URL: https://issues.apache.org/jira/browse/XERCESC-2182 > Project: Xerces-C++ > Issue Type: Bug > Components: DOM > Affects Versions: 3.2.2 > Reporter: Peter Somora > Priority: Major > Attachments: DOMLSSerializerImpl.cpp > > > When qualified element with *default* *namespace URI* is created then xerces > adds (obsolete) default namespace declaration to it. > It looks like bug in `dom\impl\DOMLSSerializerImpl.cpp: line 891` > namespaceMap->put((void*)attribute->getLocalName(),(XMLCh*)attribute->getNodeValue()); > should be: > namespaceMap->put((void*)nsPrefix,(XMLCh*)attribute->getNodeValue()); -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org