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 2007/12/13 13:20:44 UTC

[jira] Commented: (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:comment-tabpanel#action_12551485 ] 

Amita Vadhavkar commented on TUSCANY-1483:
------------------------------------------

Hi David, Please see http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg26335.html for example XSD with BiDi relation. I have not so far tried it
for this JIRA's issue by modifying property names etc., but may be useful.
Regards,
Amita

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