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/09/12 19:48:03 UTC

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

dbertoni    01/09/12 10:48:03

  Modified:    c/src/XSLT XSLTEngineImpl.cpp
  Log:
  Check for null pointer.
  
  Revision  Changes    Path
  1.116     +1 -1      xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
  
  Index: XSLTEngineImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -r1.115 -r1.116
  --- XSLTEngineImpl.cpp	2001/08/28 15:34:52	1.115
  +++ XSLTEngineImpl.cpp	2001/09/12 17:48:03	1.116
  @@ -1309,7 +1309,7 @@
   
   	const Locator*			locator = getLocatorFromStack();
   
  -	if (locator == 0)
  +	if (locator == 0 && styleNode != 0)
   	{
   		locator = styleNode->getLocator();
   	}
  
  
  

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