|
|
|
Re: can not open the model [message #1768573 is a reply to message #1768542] |
Thu, 20 July 2017 07:19 |
Ed Merks Messages: 33143 Registered: July 2009 |
Senior Member |
|
|
In order to load this instance model, the EPackage that describes its structure must be found. The only information in the resource for that EPackage is xmlns:families1="families/1". That's not enough information to locate the EPackage (unless the EPackage has that as its nsURI and the package is generated and available in the runtime where you're doing the loading, but if that's the case, you should use a better nsURI). If the serialization included the schema location as described in https://wiki.eclipse.org/EMF/FAQ#How_can_I_ensure_that_an_xsi:schemaLocation_is_serialized_for_my_packages.3F then the EPackage could be located dynamically. I'd suggest loading the *.ecore model itself, right clicking on Family EClass, and use Create Dynamic Instance... Then you'll see an instance model that includes the schema location. That's what your instance needs to look like.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds