Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-574

SCOMP bin not able to generate source code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Version 5.0.1
    • unspecified
    • Tools
    • None
    • Ubuntu 20.04 LTS, jdk 11

    Description

      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

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcosta_ISPRA Marco C.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: