You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "David T. Adcox (JIRA)" <tu...@ws.apache.org> on 2007/07/12 21:29:04 UTC

[jira] Created: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

XSD2JavaGenerator.GeneratePackage information is invalid 
---------------------------------------------------------

                 Key: TUSCANY-1428
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Tools
    Affects Versions: Java-SDO-Next
         Environment: n/a
            Reporter: David T. Adcox
             Fix For: Java-SDO-1.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1428:
------------------------------------

    Attachment: GeneratedPackagesTestCase.zip

Here is a newly created test case to exercise this the generated packages api.  The test case includes a specific check that will validate this patch.

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch, GeneratedPackagesTestCase.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513285 ] 

Kelvin Goodson commented on TUSCANY-1428:
-----------------------------------------

Hi David,
 do you have any test code that would fail before this fix is applied?
Kelvin.

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1428:
------------------------------------

    Attachment: 1428.patch

Noted above in description, this patch will rework the logic a bit to properly build the generated package information.

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1428:
------------------------------------

    Attachment:     (was: GeneratedPackagesTestCase.zip)

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1428.
-------------------------------------

    Resolution: Fixed

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch, GeneratedPackagesTestCase.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1428) XSD2JavaGenerator.GeneratePackage information is invalid

Posted by "David T. Adcox (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David T. Adcox updated TUSCANY-1428:
------------------------------------

    Attachment: GeneratedPackagesTestCase.zip

> XSD2JavaGenerator.GeneratePackage information is invalid 
> ---------------------------------------------------------
>
>                 Key: TUSCANY-1428
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1428
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-Next
>         Environment: n/a
>            Reporter: David T. Adcox
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1428.patch, GeneratedPackagesTestCase.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org