Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SDO-1.0
-
None
-
WinXP
Description
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;