[
https://issues.apache.org/jira/browse/TUSCANY-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin Goodson updated TUSCANY-1689:
------------------------------------
I did a check for EMF bugs raised for this issue, but couldn't find one. Do
you know if this issue has been addressed in EMF?
> XSD2JavaGenerator generates non-compilable FactoryImpl class with complexType
> named "Descriptor"
> ------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1689
> URL: https://issues.apache.org/jira/browse/TUSCANY-1689
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Tools
> Environment: Windows XP SP2 w/Sun JDK 1.4.2_11
> Reporter: Ron Gavlin
> Fix For: Java-SDO-Next
>
>
> I have a schema with a complexType named "Descriptor".
> The generated FactoryImpl.java class includes the following code which does
> not compile because the return type
> "org.eclipse.emf.ecore.EPackage.Descriptor" is not compatible with
> Factory.createDescriptor() with return type "myNamespace.Descriptor":
> public Descriptor createDescriptor()
> {
> DescriptorImpl descriptor = new DescriptorImpl();
> return descriptor;
> }
> I suspect this is an EMF bug but I am reporting it here.
--
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]