sandygao    2002/08/27 11:41:40

  Modified:    java/src/org/apache/xerces/impl/xs SchemaGrammar.java
  Log:
  Reversing the change I made some days ago.
  The current JAXP TCK requires that the process contents of "anyType"
  not to be "skip". We'll change it to skip when the TCK is updated.
  
  Revision  Changes    Path
  1.26      +4 -4      xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java
  
  Index: SchemaGrammar.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- SchemaGrammar.java        23 Aug 2002 14:38:48 -0000      1.25
  +++ SchemaGrammar.java        27 Aug 2002 18:41:40 -0000      1.26
  @@ -568,7 +568,7 @@
   
           public XSAttributeGroupDecl getAttrGrp() {
               XSWildcardDecl wildcard = new XSWildcardDecl();
  -            wildcard.fProcessContents = XSWildcardDecl.PC_SKIP;
  +            wildcard.fProcessContents = XSWildcardDecl.PC_LAX;
               XSAttributeGroupDecl attrGrp = new XSAttributeGroupDecl();
               attrGrp.fAttributeWC = wildcard;
               return attrGrp;
  @@ -576,7 +576,7 @@
   
           public XSWildcard getAttributeWildcard() {
               XSWildcardDecl wildcard = new XSWildcardDecl();
  -            wildcard.fProcessContents = XSWildcardDecl.PC_SKIP;
  +            wildcard.fProcessContents = XSWildcardDecl.PC_LAX;
               return wildcard;
           }
   
  @@ -584,7 +584,7 @@
               // the wildcard used in anyType (content and attribute)
               // the spec will change strict to skip for anyType
               XSWildcardDecl wildcard = new XSWildcardDecl();
  -            wildcard.fProcessContents = XSWildcardDecl.PC_SKIP;
  +            wildcard.fProcessContents = XSWildcardDecl.PC_LAX;
               // the particle for the content wildcard
               XSParticleDecl particleW = new XSParticleDecl();
               particleW.fMinOccurs = 0;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to