It seems that the JaxMeXS object model provides no direct traversal path from the use of a global attribute or element back to the declaration of that attribute or element.
That is, an XSAttribute object that represents the use of a global attribute (in a complex type) does not seem to have any method that returns a pointer to the XSAttribute object that represents the declaration of the global attribute.
This lack makes it less convenient than usual to traverse to the declaration from the use.
(One can probably look up the attribute by name. However, JaxMeXS resolves other names into direct references (e.g., a QName for a type is resolved into the pointer return by a getType() method). Therefore, maybe JaxMeXS should also provide a direct link from the use of a global attribute or element to the declaration of that attribute or element.)
Daniel
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
