You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by er...@locus.apache.org on 2000/09/07 21:48:12 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/validators/schema TraverseSchema.java

ericye      00/09/07 12:48:11

  Modified:    java/src/org/apache/xerces/validators/schema
                        TraverseSchema.java
  Log:
  typos fixed
  
  Revision  Changes    Path
  1.47      +4 -4      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- TraverseSchema.java	2000/08/28 21:07:36	1.46
  +++ TraverseSchema.java	2000/09/07 19:48:08	1.47
  @@ -374,7 +374,7 @@
    *  
    * @see                  org.apache.xerces.validators.common.Grammar
    *
  - * @version $Id: TraverseSchema.java,v 1.46 2000/08/28 21:07:36 ericye Exp $
  + * @version $Id: TraverseSchema.java,v 1.47 2000/09/07 19:48:08 ericye Exp $
    */
   
   public class TraverseSchema implements 
  @@ -1827,16 +1827,16 @@
                       if (!baseIsComplexSimple ) 
                       if (base.equals(""))
                           reportSchemaError(SchemaMessageProvider.GenericError, 
  -                                          new Object [] { "unrecogized child '"+childName+"' in compelx type "+typeName });
  +                                          new Object [] { "unrecognized child '"+childName+"' in complex type "+typeName });
                       else
                           reportSchemaError(SchemaMessageProvider.GenericError,
  -                                          new Object [] { "unrecogized child '"+childName+"' in compelx type '"+typeName+"' with base "+base  });
  +                                          new Object [] { "unrecognized child '"+childName+"' in complex type '"+typeName+"' with base "+base  });
                   }
   
                   // if base is complextype with simpleType content, can't have any particle children at all.
                   if (baseIsComplexSimple && seeParticle) {
                       // REVISIT: Localize
  -                    reportGenericSchemaError("In complexType "+typeName+", base type is complextype with simpleType content, can't have any particle children at all");
  +                    reportGenericSchemaError("In complexType "+typeName+", base type is complexType with simpleType content, can't have any particle children at all");
                       hadContent = false;
                       left = index = -2;
                       contentSpecType = XMLElementDecl.TYPE_SIMPLE;