[ 
https://issues.apache.org/jira/browse/TUSCANY-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Goodson resolved TUSCANY-1470.
-------------------------------------

    Resolution: Fixed

> Generated SDO APIs have compilation errors when sub-type has the same name as 
> super-type
> ----------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1470
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1470
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Tools
>    Affects Versions: Java-SDO-1.0
>         Environment: WinXP
>            Reporter: Fuhwei Lwo
>             Fix For: Java-SDO-1.0
>
>         Attachments: 1470.patch
>
>
> Run the codegen tool on src/test/resources/extensible/infostreet.xsd. The 
> generated code like the one below cannot be compiled because 
> SDO_PROPERTY_COUNT becomes ambiguous.
> *infostreet.xsd*
> <xsd:complexType name="InfoType">
>               <xsd:complexContent>
>                       <xsd:extension base="customer:InfoType">
>                               <xsd:sequence>
>                                       <xsd:element name="street" 
> type="xsd:string" />
>                               </xsd:sequence>
>                       </xsd:extension>
>               </xsd:complexContent>
>       </xsd:complexType>
> public class InfoTypeImpl extends InfoTypeImpl implements InfoType
> {
>   public final static int STREET = InfoTypeImpl.SDO_PROPERTY_COUNT + 0;
>   public final static int SDO_PROPERTY_COUNT = 
> InfoTypeImpl.SDO_PROPERTY_COUNT + 1;

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