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/xalanc/XSLT FunctionDocument.cpp
Date Wed, 02 Jul 2003 21:32:32 GMT
dbertoni    2003/07/02 14:32:32

  Modified:    c/src/xalanc/XSLT FunctionDocument.cpp
  Log:
  Set document order before returning.
  
  Revision  Changes    Path
  1.2       +3 -3      xml-xalan/c/src/xalanc/XSLT/FunctionDocument.cpp
  
  Index: FunctionDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/FunctionDocument.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FunctionDocument.cpp	29 Jun 2003 03:58:07 -0000	1.1
  +++ FunctionDocument.cpp	2 Jul 2003 21:32:31 -0000	1.2
  @@ -261,7 +261,7 @@
   
   	XalanDOMString	base;
   
  -	bool			fNoRelativeURI = false;
  +	bool	fNoRelativeURI = false;
   
   	if (context == 0)
   	{
  @@ -324,8 +324,6 @@
   			const LocatorType*		locator,
   			bool					fNoRelativeURI) const
   {
  -	typedef XPathExecutionContext::BorrowReturnMutableNodeRefList	BorrowReturnMutableNodeRefList;
  -
   	// This list will hold the nodes...
   	BorrowReturnMutableNodeRefList	mnl(executionContext);
   
  @@ -430,6 +428,8 @@
   	}
   
   	assert(mnl->checkForDuplicates() == false);
  +
  +	mnl->setDocumentOrder();
   
   	return executionContext.getXObjectFactory().createNodeSet(mnl);
   }
  
  
  

---------------------------------------------------------------------
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