[
https://issues.apache.org/jira/browse/XMLBEANS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cezar Andrei resolved XMLBEANS-195.
-----------------------------------
Resolution: Duplicate
Duplicate of XMLBEANS-163
> Review and update how annotations are made available
> ----------------------------------------------------
>
> Key: XMLBEANS-195
> URL: https://issues.apache.org/jira/browse/XMLBEANS-195
> Project: XMLBeans
> Issue Type: Improvement
> Components: SOM
> Affects 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]