You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Cezar Andrei (JIRA)" <xm...@xml.apache.org> on 2007/12/20 00:56:43 UTC

[jira] Resolved: (XMLBEANS-195) Review and update how annotations are made available

     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org