You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@apache.org on 2001/09/28 22:09:52 UTC
cvs commit: xml-xalan/java/src/org/apache/xpath NodeSetDTM.java
mmidy 01/09/28 13:09:52
Modified: java/src/org/apache/xpath NodeSetDTM.java
Log:
Do not reorder or strip duplicate nodes when converting a DOM nodelist into a DTM nodelist
Revision Changes Path
1.8 +3 -2 xml-xalan/java/src/org/apache/xpath/NodeSetDTM.java
Index: NodeSetDTM.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/NodeSetDTM.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- NodeSetDTM.java 2001/08/10 19:20:24 1.7
+++ NodeSetDTM.java 2001/09/28 20:09:52 1.8
@@ -211,8 +211,9 @@
{
Node node = nodeList.item(i);
int handle = xctxt.getDTMHandleFromNode(node);
- addNodeInDocOrder(handle, xctxt);
- }
+ // Do not reorder or strip duplicate nodes from the given DOM nodelist
+ addNode(handle); // addNodeInDocOrder(handle, xctxt);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org