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 2003/04/17 02:49:25 UTC

cvs commit: xml-xalan/c/src/XPath XPath.cpp

dbertoni    2003/04/16 17:49:25

  Modified:    c/src/XPath XPath.cpp
  Log:
  Removed two asserts.  We need to figure out if we're going to enforce the context node or not.
  
  Revision  Changes    Path
  1.91      +0 -4      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.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- XPath.cpp	10 Feb 2003 23:43:52 -0000	1.90
  +++ XPath.cpp	17 Apr 2003 00:49:25 -0000	1.91
  @@ -154,8 +154,6 @@
   			const PrefixResolver&	prefixResolver,
   			XPathExecutionContext&	executionContext) const
   {
  -	assert(context != 0);
  -
   	// Push and pop the PrefixResolver...
   	XPathExecutionContext::PrefixResolverSetAndRestore	theResolverSetAndRestore(
   									executionContext,
  @@ -2503,8 +2501,6 @@
   			int						opPos,
   			XPathExecutionContext&	executionContext) const
   {
  -	assert(context != 0);
  -
   	const int	endFunc = opPos + m_expression.m_opMap[opPos + 1] - 1;
   
   	opPos += 2;
  
  
  

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