xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/XPath XPath.cpp
Date Wed, 25 Sep 2002 23:35:29 GMT
dbertoni    2002/09/25 16:35:28

  Modified:    c/src/XPath XPath.cpp
  Log:
  Make sure nodes are always added in document order.
  
  Revision  Changes    Path
  1.75      +3 -1      xml-xalan/c/src/XPath/XPath.cpp
  
  Index: XPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- XPath.cpp	19 Sep 2002 05:19:31 -0000	1.74
  +++ XPath.cpp	25 Sep 2002 23:35:28 -0000	1.75
  @@ -1850,7 +1850,9 @@
   
   	const NodeRefListBase&	nl = obj->nodeset();
   
  -	subQueryResults.addNodes(nl);
  +	subQueryResults.addNodesInDocOrder(nl, executionContext);
  +
  +	subQueryResults.setDocumentOrder();
   
   	return currentExpression.getOpCodeLengthFromOpMap(opPos);
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message