You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Paul Harrison (JIRA)" <xm...@xml.apache.org> on 2005/12/22 15:24:38 UTC

[jira] Updated: (XMLBEANS-82) Use XSD Annotations for comment generation

     [ http://issues.apache.org/jira/browse/XMLBEANS-82?page=all ]

Paul Harrison updated XMLBEANS-82:
----------------------------------

    Description: 
It would be a powerful feature if XSD Annotaions would be read and placed in the comment of the generated Java methods (setter/getters) instead of the hard-coded comment. 
This will add plenty of power to the generation of XMLBeans because having this feature it would be possible to later use XDOCLETS for further generation of code (e.g. BeanInfo etc.)

  was:
It would be a powerful feature if XSD Annotaions would be read and placed in the comment of the generated Java methods (setter/getters) instead of the hard-coded comment. 
This will add plenty of power to the generation of XMLBeans because having this feature it would be possible to later use XDOCLETS for further generation of code (e.g. BeanInfo etc.)

        Version: Version 2.1
    Environment: 

> Use XSD Annotations for comment generation
> ------------------------------------------
>
>          Key: XMLBEANS-82
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-82
>      Project: XMLBeans
>         Type: New Feature
>   Components: Compiler
>     Versions: Version 1.0.3, Version 2.1
>     Reporter: Walter Dorninger
>     Assignee: Radu Preotiuc-Pietro
>      Fix For: TBD

>
> It would be a powerful feature if XSD Annotaions would be read and placed in the comment of the generated Java methods (setter/getters) instead of the hard-coded comment. 
> This will add plenty of power to the generation of XMLBeans because having this feature it would be possible to later use XDOCLETS for further generation of code (e.g. BeanInfo etc.)

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


RE: (XMLBEANS-82) Use XSD Annotations for comment generation

Posted by Mike Skells <mi...@ebizz-consulting.com>.
I would also be an advantage for me if other characteristics of the behavior
of the compiler and the generated binding could be specified in the schema
document, as custom xmlbeans annotations

For instance package name, class name, interface implementation, code
snippit etc.

This could be a adjunct to the xmlconfig file, but could be a way to specify
the behavior without requiring 2 compilation cycles and manual building of
the xmlconfig files to renate the class names etc

Should this be in this RFE of should I file another

Mike



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org