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


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