|
Re: XML schema unique constraints [message #502345 is a reply to message #502244] |
Mon, 07 December 2009 18:45 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Csaba,
They're not supported. You need to write such constraints by hand.
Check out the validation documentation on the documentation page.
Csaba Koncz wrote:
> While creating my EMF model from XML Schema I noticed that
> key/keyref/unique constraints are ignored by the XSD Importer. How
> can these be added to the Ecore model?
> While I have ideas like using typed references (ecore:reference) for
> simulating keyrefs, I am clueless when it comes to enforcing unique
> attribute values, for example.
>
> Csaba
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02652 seconds