[ 
https://issues.apache.org/jira/browse/TUSCANY-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561997#action_12561997
 ] 

Kelvin Goodson commented on TUSCANY-1483:
-----------------------------------------

Your most recent patch ( 1483-withTestCaseInToolsTest.patch ) looks good by 
visual inspection.  I haven't applied it to a test environment.   Please feel 
free to commit it, and I'll check the commit log and run the tests after.

Kelvin.

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to