Hi Sandy,
I have added a method in class XSAttributeGroupDecl to get the
XSAttributeUse(s), which is then added to XSAttributeGroupDecl.
I guess, if you look at the code it be more clear.
Cheers,
Rahul.
Sun Microsystems, Inc.
XSAttributeGroupDecl.java
Index: XSAttributeGroupDecl.java
===================================================================
RCS file:
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/v2/XSAttributeGroupDecl.java,v
retrieving revision 1.1
diff -u -w -r1.1 XSAttributeGroupDecl.java
--- XSAttributeGroupDecl.java 2001/09/19 16:17:44 1.1
+++ XSAttributeGroupDecl.java 2001/09/21 12:04:10
@@ -89,6 +89,13 @@
// REVISIT: add one attribute use
// add to one of the two attribute use holders
// according to the number of attribute uses
+
+ //REVISIT: while adding check for duplicate attribute use.
+ //This will take care of union of attributeUse(s).
+ }
+
+ public XSAttributeUse[] getAttributeUseS() {
+ // return the attribute use as an array
}
} // class XSAttributeGroupDecl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]