You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/01/17 18:00:27 UTC

cvs commit: xml-xalan/c/src/XSLT NodeSorter.cpp

dbertoni    01/01/17 09:00:26

  Modified:    c/src/XSLT NodeSorter.cpp
  Log:
  Remove setting of empty context node list.  Fixes sort21.
  
  Revision  Changes    Path
  1.18      +2 -7      xml-xalan/c/src/XSLT/NodeSorter.cpp
  
  Index: NodeSorter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/NodeSorter.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- NodeSorter.cpp	2001/01/16 20:48:18	1.17
  +++ NodeSorter.cpp	2001/01/17 17:00:22	1.18
  @@ -274,10 +274,6 @@
   
   
   
  -static const NodeRefList	dummy;
  -
  -
  -
   double
   NodeSorter::NodeSortKeyCompare::getNumberResult(
   				const NodeSortKey&	theKey,
  @@ -301,7 +297,7 @@
   		}
   	}
   
  -	const XObjectPtr	result(xpath->execute(node, *theKey.getPrefixResolver(), dummy, m_executionContext));
  +	const XObjectPtr	result(xpath->execute(node, *theKey.getPrefixResolver(), m_executionContext));
   	assert(result.null() == false);
   
   	const double	theResult = result->num();
  @@ -342,8 +338,7 @@
   		}
   	}
   
  -	const XObjectPtr	result(
  -		xpath->execute(node, *theKey.getPrefixResolver(), dummy, m_executionContext));
  +	const XObjectPtr	result(xpath->execute(node, *theKey.getPrefixResolver(), m_executionContext));
   	assert(result.null() == false);
   
   	const XalanDOMString&	theResult = result->str();