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 2002/11/03 06:52:25 UTC

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

dbertoni    2002/11/02 21:52:25

  Modified:    c/src/XSLT ElemEmpty.cpp
  Log:
  Assert there are never any children.
  
  Revision  Changes    Path
  1.12      +1 -0      xml-xalan/c/src/XSLT/ElemEmpty.cpp
  
  Index: ElemEmpty.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemEmpty.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ElemEmpty.cpp	27 Sep 2002 23:32:23 -0000	1.11
  +++ ElemEmpty.cpp	3 Nov 2002 05:52:25 -0000	1.12
  @@ -97,6 +97,7 @@
   
   ElemEmpty::~ElemEmpty()
   {
  +	assert(getNextSiblingElem() == 0 && getFirstChildElem() == 0);
   }
   
   
  
  
  

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