[
https://issues.apache.org/jira/browse/XMLBEANS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Beeker resolved XMLBEANS-82.
------------------------------------
Fix Version/s: (was: TBD)
Version 5.0.1
Assignee: Andreas Beeker (was: Radu Preotiuc)
Resolution: Fixed
Applied in
[r1890932|https://svn.apache.org/viewvc?view=revision&revision=1890932]
Be aware, that this gives you the freedom to add arbitrary comments.
Compiling in an untrusted schema is never a good idea, even before this change!
> Use XSD Annotations for comment generation
> ------------------------------------------
>
> Key: XMLBEANS-82
> URL: https://issues.apache.org/jira/browse/XMLBEANS-82
> Project: XMLBeans
> Issue Type: New Feature
> Components: Compiler
> Affects Versions: Version 1.0.3, Version 2.1
> Reporter: Walter Dorninger
> Assignee: Andreas Beeker
> Priority: Major
> Fix For: Version 5.0.1
>
> Attachments: xmlbean_patch_comment_generation_11_23_2011
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]