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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to