Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » XSD » XSD with IDREF -> ecore(missing type of IDREF)
icon5.gif  XSD with IDREF -> ecore [message #756552] Mon, 14 November 2011 09:46 Go to next message
Frank Missing name is currently offline Frank Missing name
Messages: 2
Registered: November 2011
Junior Member
Hello,

I'm generating my ecore model from a schema file. It works fine, except one thing: I'm using some IDREF stuff in the schema and in the ecore model I don't get the expected type, although I have provided the intended type by using the
ecore:reference="my ref type..."
attribute. The reference in the ecore model is always of type EObject.

Yes, I can change that after loading the XSD file, and than it works fine, but I don't want to change the ecore model once loaded from the XSD.

Any idea what's going wrong there?

Thanks in advance
Frank
Re: XSD with IDREF -> ecore [message #959061 is a reply to message #756552] Fri, 26 October 2012 12:27 Go to previous message
Jeff MAURY is currently offline Jeff MAURY
Messages: 39
Registered: July 2009
Member
I had the same problem but I added the tns: prefix before the type name and everything worked after
Previous Topic:xsd enumeration value containing colon is not getting validated!
Next Topic:The location has not been resolved because the import is unused
Goto Forum:
  


Current Time: Fri Sep 19 20:05:20 GMT 2014

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

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