You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Sunny Ip (JIRA)" <tu...@ws.apache.org> on 2007/07/30 23:14:53 UTC

[jira] Created: (TUSCANY-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

Compile error when generating a schema with a dependency on another schema with the same leaf element name
----------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1490
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Tools
    Affects Versions: Java-SDO-Next
            Reporter: Sunny Ip


When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

-- 
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-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

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

Sunny Ip updated TUSCANY-1490:
------------------------------

    Attachment: helloworld.xsd
                helloworld.wsdl

Including a wsdl/xsd that illustrates the problem

> Compile error when generating a schema with a dependency on another schema with the same leaf element name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1490
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SDO-Next
>            Reporter: Sunny Ip
>         Attachments: helloworld.wsdl, helloworld.xsd
>
>
> When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

-- 
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-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

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

Frank Budinsky resolved TUSCANY-1490.
-------------------------------------

    Resolution: Duplicate

This is covered by https://issues.apache.org/jira/browse/TUSCANY-1505

> Compile error when generating a schema with a dependency on another schema with the same leaf element name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1490
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SDO-Next
>            Reporter: Sunny Ip
>            Priority: Minor
>         Attachments: helloworld.wsdl, helloworld.xsd, SDOFactoryClass.java
>
>
> When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

-- 
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-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

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

Sunny Ip updated TUSCANY-1490:
------------------------------

    Attachment: SDOFactoryClass.java

> Compile error when generating a schema with a dependency on another schema with the same leaf element name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1490
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SDO-Next
>            Reporter: Sunny Ip
>         Attachments: helloworld.wsdl, helloworld.xsd, SDOFactoryClass.java
>
>
> When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

-- 
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-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

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

Sunny Ip commented on TUSCANY-1490:
-----------------------------------

Included a fix to SDOFactoryClass that replaces the "." with "_". 

> Compile error when generating a schema with a dependency on another schema with the same leaf element name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1490
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SDO-Next
>            Reporter: Sunny Ip
>         Attachments: helloworld.wsdl, helloworld.xsd, SDOFactoryClass.java
>
>
> When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

-- 
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-1490) Compile error when generating a schema with a dependency on another schema with the same leaf element name

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

Sunny Ip updated TUSCANY-1490:
------------------------------

    Priority: Minor  (was: Major)

> Compile error when generating a schema with a dependency on another schema with the same leaf element name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1490
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1490
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SDO-Next
>            Reporter: Sunny Ip
>            Priority: Minor
>         Attachments: helloworld.wsdl, helloworld.xsd, SDOFactoryClass.java
>
>
> When generating SDO classes using XSD2JavaGenerator, the FactoryImpl generated from a schema with a dependency on another schema with the same leaf element name (e.g. http://sample/helloworld and http://sample/type/helloworld) results in a compile error in the init() method, where the full package name (including ".") is used as part of the variable name. 

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