Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.12.2
-
None
Description
There's a need for XalanJ's XPath 3.1 fn:deep-equal's method implementation, to have XercesJ's java class org.apache.xerces.dom.ElementImpl provide a new method (with name like 'isEqualNodeWithQName'), that can check equality of two XML element nodes only on following criteria : localName and namespaceUri.
The XML DOM standard node comparison method 'isEqualNode' does few extra checks wrt node's name (majorly, that XML node's nodeName i.e prefix:localName and also prefix have to be same for two equal XML element nodes) that is not suitable for what XPath 3.1 fn:deep-equal method requires.