You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2001/11/14 17:03:27 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs/models XSMixedCM.java

sandygao    01/11/14 08:03:27

  Modified:    java/src/org/apache/xerces/impl/xs/models XSMixedCM.java
  Log:
  Need to implement a method for UniqueParticleAttribution checking.
  
  Revision  Changes    Path
  1.2       +11 -2     xml-xerces/java/src/org/apache/xerces/impl/xs/models/XSMixedCM.java
  
  Index: XSMixedCM.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/models/XSMixedCM.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSMixedCM.java	2001/10/25 20:36:03	1.1
  +++ XSMixedCM.java	2001/11/14 16:03:27	1.2
  @@ -72,7 +72,7 @@
    *
    * @author Elena Litani
    * @author IBM
  - * @version $Id: XSMixedCM.java,v 1.1 2001/10/25 20:36:03 elena Exp $
  + * @version $Id: XSMixedCM.java,v 1.2 2001/11/14 16:03:27 sandygao Exp $
    */
   public class XSMixedCM  implements XSCMValidator {
   
  @@ -96,7 +96,7 @@
        * @return Start state of the content model
        */
       public int[] startContentModel(){
  -        return (new int[] {STATE_START});    
  +        return (new int[] {STATE_START});
       }
   
   
  @@ -140,5 +140,14 @@
           return true;
       }
   
  +    /**
  +     * check whether this content violates UPA constraint.
  +     *
  +     * @param errors to hold the UPA errors
  +     * @return true if this content model contains other or list wildcard
  +     */
  +    public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException {
  +        return false;
  +    }
   
   } // class XSMixedCM
  
  
  

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