xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric...@apache.org
Subject cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cur.java DomImpl.java
Date Tue, 30 Mar 2004 00:10:08 GMT
ericvas     2004/03/29 16:10:08

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cur.java
                        DomImpl.java
  Log:
  Fixed DOM Bugs
  
  Revision  Changes    Path
  1.27      +5 -3      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java
  
  Index: Cur.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Cur.java	26 Mar 2004 23:37:27 -0000	1.26
  +++ Cur.java	30 Mar 2004 00:10:08 -0000	1.27
  @@ -698,15 +698,17 @@
       {
           int k = kind();
   
  -        if (k == ROOT || k == ELEM)
  +        if (kindIsContainer( k ))
           {
               if (toFirstAttr())
                   return true;
           }
  -        else if (k == ATTR)
  +        else if (k == -ATTR)
           {
  -            if (toNextAttr())
  +            if (next())
                   return true;
  +            
  +            toParent();
               
               if (!toParentRaw())
                   return false;
  
  
  
  1.29      +2 -0      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java
  
  Index: DomImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/DomImpl.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- DomImpl.java	29 Mar 2004 23:31:17 -0000	1.28
  +++ DomImpl.java	30 Mar 2004 00:10:08 -0000	1.29
  @@ -1647,6 +1647,8 @@
   
                           cn = CharNode.remove( cn, cn._next );
                       }
  +
  +                    cn._cch = Integer.MAX_VALUE;
                   }
   
                   c.setCharNodes( cn );
  
  
  

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


Mime
View raw message