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/11/06 06:05:32 UTC

cvs commit: xml-xalan/c/src/XalanSourceTree FormatterToSourceTree.cpp

dbertoni    01/11/05 21:05:32

  Modified:    c/src/XalanSourceTree FormatterToSourceTree.cpp
  Log:
  Fixed glitch in ignorableWhitespace() and removed variable.
  
  Revision  Changes    Path
  1.10      +8 -8      xml-xalan/c/src/XalanSourceTree/FormatterToSourceTree.cpp
  
  Index: FormatterToSourceTree.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/FormatterToSourceTree.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FormatterToSourceTree.cpp	2001/11/01 15:51:14	1.9
  +++ FormatterToSourceTree.cpp	2001/11/06 05:05:32	1.10
  @@ -349,19 +349,19 @@
   
   		processAccumulatedText();
   
  -		XalanSourceTreeText* const	theNewTextNode =
  -			m_document->createTextIWSNode(chars, length, m_currentElement);
  -
  -		doAppendChildNode(m_currentElement, m_lastChild, theNewTextNode);
  +		doAppendChildNode(
  +			m_currentElement,
  +			m_lastChild,
  +			m_document->createTextIWSNode(chars, length, m_currentElement));
   	}
   	else if(m_documentFragment != 0)
   	{
   		processAccumulatedText();
  -
  -		XalanSourceTreeText* const	theNewTextNode =
  -			m_document->createTextIWSNode(chars, length, m_currentElement);
   
  -		doAppendChildNode(m_currentElement, m_lastChild, theNewTextNode);
  +		doAppendChildNode(
  +			m_documentFragment,
  +			m_lastChild,
  +			m_document->createTextIWSNode(chars, length, m_currentElement));
   	}
   }
   
  
  
  

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