DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16973 Namespace URI and local name of attributeGroup are not set [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-02-11 21:14 ------- I don't think there is anything we can do in Xerces. 1. XSComplexTypeDecl is an internal implementation class, which should never be used directly. 2. Complex types don't contain attribute group(s). It only has "attribute uses" and one "attribute wildcard". So you can't expect anything meaningful (to you) from complexType.getAttrGrp(). 3. The schema component API that Xerces provides is for PSVI, where how a schema was constructed is not significant. So there is no difference between a reference to an attribute group with 2 attributes and having those 2 attributes directly. I suspect that you want some of your complex types to be special (because they refer to a specific attribute group). To achieve something similar that's still implementable in PSVI, you could consider using annotations. Annotation is the way to give special properties to your schema components, and they are (supposed to be) accessible in PSVI. Unfortunately, annotation isn't supported yet in Xerces. :-( I believe someone's working on it, but not sure about the progress. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
