You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Walter Dorninger (JIRA)" <xm...@xml.apache.org> on 2004/11/04 08:30:34 UTC

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

Use XSD Annotations for comment generation
------------------------------------------

         Key: XMLBEANS-82
         URL: http://nagoya.apache.org/jira/browse/XMLBEANS-82
     Project: XMLBeans
        Type: New Feature
  Components: Compiler  
    Versions: Version 1.0.3    
    Reporter: Walter Dorninger


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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report 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] Assigned: (XMLBEANS-82) Use XSD Annotations for comment generation

Posted by "Cezar Andrei (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-82?page=history ]

Cezar Andrei reassigned XMLBEANS-82:
------------------------------------

    Assign To: Radu Preotiuc-Pietro

> 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
>     Reporter: Walter Dorninger
>     Assignee: Radu Preotiuc-Pietro

>
> 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
-
If you want more information on JIRA, or have a bug to report 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-82) Use XSD Annotations for comment generation

Posted by "Paul Harrison (JIRA)" <xm...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLBEANS-82?page=comments#action_12361109 ] 

Paul Harrison commented on XMLBEANS-82:
---------------------------------------

I agree that this would be very useful - as this makes it easier for the programmer to see documentation for an element without having to refer to the schema. - This is one missing feature that is stopping me changing from castor...

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


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

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-82?page=all ]

Radu Preotiuc-Pietro updated XMLBEANS-82:
-----------------------------------------

    Fix Version: TBD

Postponing for the next version.

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


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

Posted by "Paul Harrison (JIRA)" <xm...@xml.apache.org>.
     [ 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