You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org> on 2008/01/29 13:12:34 UTC
[jira] Resolved: (TUSCANY-1483) Static SDO generator: problem with
elements named internal*
[ https://issues.apache.org/jira/browse/TUSCANY-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amita Vadhavkar resolved TUSCANY-1483.
--------------------------------------
Resolution: Fixed
patch applied at revision 615169
> Static SDO generator: problem with elements named internal*
> -----------------------------------------------------------
>
> Key: TUSCANY-1483
> URL: https://issues.apache.org/jira/browse/TUSCANY-1483
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SDO Tools
> Affects Versions: Java-SDO-beta1
> Reporter: Daniel Peter
> Priority: Minor
> Fix For: Java-SDO-Next
>
> Attachments: 1483-withTestCase.patch, 1483-withTestCaseInToolsTest.patch, 1483.patch, test1483.xsd
>
>
> Hi,
> I run into a problem with the static generated SDOs, when having a xsd with the following two elements:
> <xsd:element name="abc" type="xsd:integer" />
> <xsd:element name="internalAbc" type="xsd:integer" />
> In the generated Impl class this leads twice to the same constant INTERNAL_ABC.
> The xsd elements might simply be renamed in order to avoid this clash, but there might be situations where this is not possible.
> The generator could use a different, less probable prefix (e.g. ___INTERNAL_).
> Thanks, Daniel.
--
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