You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by pa...@apache.org on 2001/11/14 23:17:48 UTC

cvs commit: xml-xalan/c/src/XalanTransformer XalanCompiledStylesheetDefault.cpp

pauldick    01/11/14 14:17:48

  Modified:    c/src/XalanTransformer XalanCompiledStylesheetDefault.cpp
  Log:
  Initilized ErrorHandle and EntityResolver.
  
  Revision  Changes    Path
  1.3       +8 -2      xml-xalan/c/src/XalanTransformer/XalanCompiledStylesheetDefault.cpp
  
  Index: XalanCompiledStylesheetDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanTransformer/XalanCompiledStylesheetDefault.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanCompiledStylesheetDefault.cpp	2001/11/07 04:04:27	1.2
  +++ XalanCompiledStylesheetDefault.cpp	2001/11/14 22:17:48	1.3
  @@ -74,9 +74,15 @@
   		m_errorHandler(theParserLiaison.getErrorHandler()),
   		m_entityResolver(theParserLiaison.getEntityResolver())
   	{
  -		theParserLiaison.setErrorHandler(theErrorHandler);
  +		if (theErrorHandler != 0)
  +		{
  +			theParserLiaison.setErrorHandler(theErrorHandler);
  +		}
   
  -		theParserLiaison.setEntityResolver(theEntityResolver);
  +		if (theEntityResolver != 0)
  +		{
  +			theParserLiaison.setEntityResolver(theEntityResolver);
  +		}
   	}
   
   	~SetAndRestoreHandlers()
  
  
  

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