John Snelson wrote:
Hi everyone,
Due to a bug report against XQilla, I've recently found that the
Xerces-C implementation of DOMDocument::importNode() doesn't copy the
prefix of element and attribute nodes. My reading of the DOM 2
specification would suggest that this is a bug:
http://www.w3.org/TR/DOM-Level-2-Core/core.html#Core-Document-importNode
If someone can verify that I'm correct, I'm happy to go ahead and create
a fix for this.
"For all nodes, importing a node creates a node object owned by the
importing document, with attribute values identical to the source node's
nodeName and nodeType, plus the attributes related to namespaces
(prefix, localName, and namespaceURI)."
It's clearly a bug. I say go for it...
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]