Review and update how annotations are made available ----------------------------------------------------
Key: XMLBEANS-195 URL: http://issues.apache.org/jira/browse/XMLBEANS-195 Project: XMLBeans Type: Improvement Components: SOM Versions: Version 2.1 Environment: All Reporter: Lawrence Jones Priority: Minor Fix For: TBD Currently the way XmlBeans makes annotations available can be confusing - for instance to get an annotation on an element instead of just calling something simple like: MyElement.getAnnotation(); you have to do something like: SchemaAnnotation ann = ((SchemaLocalElement) MyElement.type.getContentModel()).getAnnotation(); XmlBeans should review all places where annotations are available in the Schema spec and review and update how it makes them available. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]