You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/06/07 22:53:42 UTC

[jira] Created: (XMLBEANS-163) Uniform access to XmlSchema annotations from SOM API

Uniform access to XmlSchema annotations from SOM API
----------------------------------------------------

         Key: XMLBEANS-163
         URL: http://issues.apache.org/jira/browse/XMLBEANS-163
     Project: XMLBeans
        Type: New Feature
  Components: SOM  
    Versions: Version 2 Beta 1, Version 2 Beta 2, Version 2    
    Reporter: Radu Preotiuc-Pietro
 Assigned to: Radu Preotiuc-Pietro 
     Fix For: TBD


Currently annotations are obtained via the SchemaAnnotated API. However, not all places that can contain annotations in XmlSchema are covered. Examples:
- SchemaParticle doesn't implement SchemaAnnotated and so annotations on <sequence>, <choice> and <all> groups are not accessible
- simple type facets are accessible using the XmlAnySimpleType representing their value, so there is no place for the annotation in this case.

These shortages need to be addressed.


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


[jira] Commented: (XMLBEANS-163) Uniform access to XmlSchema annotations from SOM API

Posted by "Michael Skells (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-163?page=comments#action_12331574 ] 

Michael Skells commented on XMLBEANS-163:
-----------------------------------------

should also consider how to access annotations on the 
1. group and 'pontless particles' that are removed from the content model
2. attribute groups which are not avaiulable from the SchemaType

> Uniform access to XmlSchema annotations from SOM API
> ----------------------------------------------------
>
>          Key: XMLBEANS-163
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-163
>      Project: XMLBeans
>         Type: New Feature
>   Components: SOM
>     Versions: Version 2 Beta 1, Version 2 Beta 2, Version 2
>     Reporter: Radu Preotiuc-Pietro
>     Assignee: Radu Preotiuc-Pietro
>      Fix For: TBD

>
> Currently annotations are obtained via the SchemaAnnotated API. However, not all places that can contain annotations in XmlSchema are covered. Examples:
> - SchemaParticle doesn't implement SchemaAnnotated and so annotations on <sequence>, <choice> and <all> groups are not accessible
> - simple type facets are accessible using the XmlAnySimpleType representing their value, so there is no place for the annotation in this case.
> These shortages need to be addressed.

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