Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Ecore mapping of xsd:restriction
Ecore mapping of xsd:restriction [message #602380] Mon, 26 November 2007 14:10
Fabrice Dubach is currently offline Fabrice DubachFriend
Messages: 43
Registered: July 2009

I use an XML Schema to generate my EMF model. My xsd looks something like
this :

<xsd:complexType name="Identifier">
<xsd:extension base="xsd:normalizedString">
<xsd:attribute name="uri" type="xsd:anyURI" use="optional" />

<xsd:complexType name="SpecificIdentifier">
<xsd:restriction base="IdentifierType">
<xsd:attribute name="uri" type="xsd:anyURI" use="optional"

<xsd:complexType name="MyObject">
... Something....

I expected that my "SpecificIdentifier" is viewed and generated as an
EReference (to a MyObject type), but it isn't.
What's wrong ? What can I do ? (knowing that my xsd is not really changeable
because of serialisation's questions)

Thanks for any help,
Fabrice DUBACH
Previous Topic:tooling workflow
Next Topic:Ecore mapping of xsd:restriction
Goto Forum:

Current Time: Wed Oct 07 08:33:10 GMT 2015

Powered by FUDForum. Page generated in 0.15895 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software