XSD2ECORE Many "Types" generated [message #686471] |
Wed, 22 June 2011 05:49  |
Eclipse User |
|
|
|
Hi,
I have tested xsd2ecore on maven-v4_0_0.xsd.
The following occurs for elements with :
<xs:complexType>
<xs:sequence>
<xs:element name="dependency" minOccurs="0" maxOccurs="unbounded" type="Dependency"/>
</xs:sequence>
</xs:complexType>
Dependency Type is reused in the xsd however in the ecore file DependencyType2,3 etc will get generated. Exactly as many as there are references in the xsd file.
Why does the xsd2ecore does not recognise that it handles about the same "type" every time and so it should not generate ones...
Any opinion about this?
Thanks
attila
P.S. If you want to see what happens simply import the maven.xsd and you will see what i am talking about...
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03538 seconds