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/06/06 22:47:20 UTC

cvs commit: xml-xalan/c/src/DOMSupport DOMServices.cpp

dbertoni    01/06/06 13:47:18

  Modified:    c/src/DOMSupport DOMServices.cpp
  Log:
  Fixed bug where attributes were being ordered after other node types.
  
  Revision  Changes    Path
  1.28      +2 -2      xml-xalan/c/src/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- DOMServices.cpp	2001/05/14 00:58:27	1.27
  +++ DOMServices.cpp	2001/06/06 20:47:14	1.28
  @@ -948,13 +948,13 @@
   	   XalanNode::ATTRIBUTE_NODE == child2type)
   	{
   		// always sort attributes before non-attributes.
  -		isNodeAfterSibling = false;
  +		isNodeAfterSibling = true;
   	}
   	else if(XalanNode::ATTRIBUTE_NODE == child1type &&
   			XalanNode::ATTRIBUTE_NODE != child2type)
   	{
   		// always sort attributes before non-attributes.
  -		isNodeAfterSibling = true;
  +		isNodeAfterSibling = false;
   	}
   	else if(XalanNode::ATTRIBUTE_NODE == child1type)
   	{
  
  
  

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