Hi,

Please find attached patch for class XSAttributeGroupDecl. Implemented REVISIT 
in method validRestrictionOf().

Cheers,
Rahul.

Sun Microsystems, Inc.

Attachment: XSAttributeGroupDecl.java
Description: XSAttributeGroupDecl.java

Index: XSAttributeGroupDecl.java
===================================================================
RCS file: 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/v2/XSAttributeGroupDecl.java,v
retrieving revision 1.7
diff -u -w -r1.7 XSAttributeGroupDecl.java
--- XSAttributeGroupDecl.java   2001/10/07 18:33:11     1.7
+++ XSAttributeGroupDecl.java   2001/10/09 12:54:53
@@ -146,6 +146,13 @@
              //   return errorCode;
              //}
 
+             if (! XSConstraints.checkSimpleDerivationOk(attrDecl.fType,
+                                                         baseAttrDecl.fType,
+                                                         
+baseAttrDecl.fType.getFinalSet()) ) {
+               errorCode="derivation-ok-restriction.2.1.2";
+               return errorCode;
+             }
+
              
              //
              // derivation-ok-restriction.  Constraint 2.1.3

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

Reply via email to