xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject cvs commit: xml-xerces/java/src/org/apache/xerces/validators/schema TraverseSchema.java
Date Mon, 19 Feb 2001 06:43:27 GMT
andyc       01/02/18 22:43:26

  Modified:    java/src/org/apache/xerces/validators/schema
                        TraverseSchema.java
  Log:
  Change to compile under 1.1.x
  
  Revision  Changes    Path
  1.103     +2 -2      xml-xerces/java/src/org/apache/xerces/validators/schema/TraverseSchema.java
  
  Index: TraverseSchema.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/schema/TraverseSchema.java,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- TraverseSchema.java	2001/02/16 22:05:29	1.102
  +++ TraverseSchema.java	2001/02/19 06:43:26	1.103
  @@ -124,7 +124,7 @@
    *  
    * @see org.apache.xerces.validators.common.Grammar
    *
  - * @version $Id: TraverseSchema.java,v 1.102 2001/02/16 22:05:29 neilg Exp $
  + * @version $Id: TraverseSchema.java,v 1.103 2001/02/19 06:43:26 andyc Exp $
    */
   public class TraverseSchema implements 
                               NamespacesScope.NamespacesHandler{
  @@ -2431,7 +2431,7 @@
               typeName = parentName + "_AnonType";
               int index=fCurrentTypeNameStack.size() -1; 
   	    for (int i = index; i > -1; i--) {
  -               String parentType = (String)fCurrentTypeNameStack.get(i); 
  +               String parentType = (String)fCurrentTypeNameStack.elementAt(i); 
                  typeName = parentType + "_" + typeName;
                  if (!(parentType.startsWith("#"))) 
                     break;
  
  
  

Mime
View raw message