You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by lm...@apache.org on 2001/04/26 19:44:48 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/validators/common XMLElementDecl.java

lmartin     01/04/26 10:44:48

  Modified:    java/src/org/apache/xerces/validators/common
                        XMLElementDecl.java
  Log:
  Patch for schema mixed content model support
  
  Revision  Changes    Path
  1.4       +5 -4      xml-xerces/java/src/org/apache/xerces/validators/common/XMLElementDecl.java
  
  Index: XMLElementDecl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/common/XMLElementDecl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLElementDecl.java	2001/01/18 07:10:51	1.3
  +++ XMLElementDecl.java	2001/04/26 17:44:47	1.4
  @@ -63,7 +63,7 @@
   import org.apache.xerces.validators.datatype.DatatypeValidator;
   
   /**
  - * @version $Id: XMLElementDecl.java,v 1.3 2001/01/18 07:10:51 andyc Exp $
  + * @version $Id: XMLElementDecl.java,v 1.4 2001/04/26 17:44:47 lmartin Exp $
    */
   public class XMLElementDecl {
   
  @@ -73,9 +73,10 @@
   
       public static final int TYPE_EMPTY = 0;
       public static final int TYPE_ANY = 1;
  -    public static final int TYPE_MIXED = 2;
  -    public static final int TYPE_CHILDREN = 3;
  -    public static final int TYPE_SIMPLE = 4;
  +    public static final int TYPE_MIXED_SIMPLE=2;  // for simple (a la-DTD) style MIXED
  +    public static final int TYPE_MIXED_COMPLEX=3; // for complex mixed models
  +    public static final int TYPE_CHILDREN = 4;
  +    public static final int TYPE_SIMPLE = 5;
   
       //
       // Data
  
  
  

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