Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1428

XSD2JavaGenerator.GeneratePackage information is invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SDO-Next
    • Java-SDO-1.0
    • Java SDO Tools
    • None
    • n/a
    • Patch Available

    Description

      Currently there is an issue in XSD2JavaGenerator where global elements are not properly processed in the GeneratePackages object. This can lead to erroneous information being reported. The cause of this problem is in the logic of the GeneratePackage constructor, where it excludes the DocumentRoot. Global elements are not accounted for properly. Attached is change in the logic used to build up the package that doesn't preclude DocumentRoot packages.

      Attachments

        1. 1428.patch
          7 kB
          David T. Adcox
        2. GeneratedPackagesTestCase.zip
          3 kB
          David T. Adcox

        Activity

          People

            Unassigned Unassigned
            dtadcox David T. Adcox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: