XSD2ECORE BUG? [message #686450] |
Wed, 22 June 2011 09:03 |
Bak Attila Messages: 29 Registered: December 2009 |
Junior Member |
|
|
Hi,
I have the following xsd segment:
<element name="gewichtsEinheit">
<simpleType>
<restriction base="string">
<enumeration value="gramm"></enumeration>
<enumeration value="kilogramm"></enumeration>
</restriction>
</simpleType>
</element>
I expect to get a gewichtsEinheitType which gets generated ok.
The problem is:
I get an additional gewichtsEinheitTypeObject datatype created because of the method in XSDCoreBuilder -> checkForPrimitive(eEnum);
I think in this case i would not need the additional Datatype created.
Am i missing something?
I know this is stated in the document XSD2EcoreMapping.pdf on page 18 (5.4) but i do not think this is generally correct though...
Thanks
attila
[Updated on: Wed, 22 June 2011 09:22] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01941 seconds