You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by er...@apache.org on 2004/02/16 18:27:41 UTC

cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Locale.java

ericvas     2004/02/16 09:27:41

  Modified:    v2/src/newstore2/org/apache/xmlbeans/impl/newstore2
                        Locale.java
  Log:
  fixed parse bug
  
  Revision  Changes    Path
  1.3       +6 -1      xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java
  
  Index: Locale.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Locale.java	14 Feb 2004 01:07:39 -0000	1.2
  +++ Locale.java	16 Feb 2004 17:27:41 -0000	1.3
  @@ -193,6 +193,11 @@
           return _saaj == null ? new CdataNode( this ) : new SaajCdataNode( this );
       }
   
  +    boolean entered ( )
  +    {
  +        return _tempFrames.length - _numTempFramesLeft > 0;
  +    }
  +
       void enter ( )
       {
           assert _numTempFramesLeft >= 0;
  @@ -507,7 +512,7 @@
                       else
                       {
                           _context.attr(
  -                            aqn.substring( i + 1 ), atts.getURI( i ), aqn.substring( 0, i ),
  +                            aqn.substring( colon + 1 ), atts.getURI( i ), aqn.substring( 0, colon ),
                               atts.getValue( i ) );
                       }
                   }
  
  
  

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