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/04 18:24:22 UTC

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

dbertoni    01/09/04 09:24:22

  Modified:    c/src/XSLT StylesheetHandler.cpp
  Log:
  Fix for bug 3371.
  
  Revision  Changes    Path
  1.69      +10 -3     xml-xalan/c/src/XSLT/StylesheetHandler.cpp
  
  Index: StylesheetHandler.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetHandler.cpp,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- StylesheetHandler.cpp	2001/08/14 16:22:01	1.68
  +++ StylesheetHandler.cpp	2001/09/04 16:24:21	1.69
  @@ -1657,7 +1657,14 @@
   	if (m_exceptionPending == true)
   		return;
   
  -	clear(m_accumulateText);
  +	if (isXMLWhitespace(m_accumulateText) == false)
  +	{
  +		processAccumulatedText();
  +	}
  +	else
  +	{
  +		clear(m_accumulateText);
  +	}
   }
   
   
  @@ -1668,7 +1675,7 @@
   	// if we have apending exception, we don't want to even try to process this
   	if (m_exceptionPending == false)
   	{
  -		clear(m_accumulateText);
  +		processAccumulatedText();
   	}
   }
   
  @@ -1680,7 +1687,7 @@
   	// if we have apending exception, we don't want to even try to process this
   	if (m_exceptionPending == false)
   	{
  -		clear(m_accumulateText);
  +		processAccumulatedText();
   	}
   }
   
  
  
  

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