You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2021/06/20 21:02:00 UTC

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

     [ https://issues.apache.org/jira/browse/XMLBEANS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Beeker reopened XMLBEANS-82:
------------------------------------

On a second thought, I'll add a poor mans check for code injection and a schema compiler switch to enable the new handling (default off) to minimize the risk of some wit noting that something like CVE-2018-16621 could be an issue and we really need to create an CVE for making people aware.

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