[ 
http://issues.apache.org/jira/browse/XMLBEANS-195?page=comments#action_12331572 
] 

Michael Skells commented on XMLBEANS-195:
-----------------------------------------

this issue should also consider how to get annotations from 
SchemaParticles that have been removed because the are 'pointless' (but still 
have some annotations)


> 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]

Reply via email to