[
https://issues.apache.org/jira/browse/TUSCANY-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567628#action_12567628
]
Ron Gavlin commented on TUSCANY-1689:
-------------------------------------
Added as Eclipse EMF Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=218494
> 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]