Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to reference/use the XSD Ecore model
https://www.eclipse.org/forums/index.php/mv/msg/190078/602844/#msg_602844
Originally posted by: j_h_zhu.yahoo.com
Hi, I am defining my Ecore model using schema definition. Within my Ecore
model, I'd like to reference/use the XSD Ecore model. To that end, I am
importing the namespace "http://www.eclipse.org/xsd/2002/XSD" and
corresponding schema definition. I was able to locate and use XSD.ecore
and XSD.genmodel to obtain XSD.xsd for this purpose.
My questions are:
1) Would this work?
2) Is XSD.xsd available somewhere so that there is no need to generate one?
3) Is there an alternative way to reference/use the XSD Ecore model from
within a schema based Ecore model?