You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "PJ Fanning (Jira)" <ji...@apache.org> on 2021/10/13 12:53:00 UTC

[jira] [Commented] (XMLBEANS-574) SCOMP bin not able to generate source code

    [ https://issues.apache.org/jira/browse/XMLBEANS-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428192#comment-17428192 ] 

PJ Fanning commented on XMLBEANS-574:
-------------------------------------

[~mcosta_ISPRA] there are not many maintainers of XMLBeans - and releases are infrequent - with issues like this, you might just need to accept that certain schemas will need to be adjusted to work out limitations in XMLBeans - if this is a regression from an older version, we are more likely to fix it but changing XMLBeans behaviour typically upsets more people than it pleases

Feel free to submit a patch if you feel strongly that this should be fixed.

There are alternatives like JAXB too.

> SCOMP bin not able to generate source code
> ------------------------------------------
>
>                 Key: XMLBEANS-574
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-574
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: Version 5.0.1
>         Environment: Ubuntu 20.04 LTS, jdk 11
>            Reporter: Marco C.
>            Priority: Major
>             Fix For: unspecified
>
>
> SCENARIO: Using scomp bin to generate xml model, it goes on error due to xsd node label.
> DETAIL: if there are a node labeled "dummyList" and its child is an array of  "dummy", scomp will try to build two methods labeled "dummyList" generating a java error.
> To try this bug, it's possibile to use this command:
> scomp -out airquality.jar [http://dd.eionet.europa.eu/schemas/id2011850eu-1.0/AirQualityReporting.xsd]
>  
> The XSD is public and free to access
>  
>  



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