Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » can not open the model
can not open the model [message #1768525] Wed, 19 July 2017 13:08 Go to next message
Eclipse UserFriend
Hi,

I use a model finder. It generates the model attached. When I open it I have an error. I also attached the error file.
  • Attachment: m0.model
    (Size: 0.23KB, Downloaded 325 times)
  • Attachment: errors.rtf
    (Size: 12.89KB, Downloaded 218 times)
Re: can not open the model [message #1768538 is a reply to message #1768525] Wed, 19 July 2017 14:58 Go to previous messageGo to next message
Eclipse UserFriend
I don't know what a "model finder" is. I also note that his post lacks a question, so you shouldn't be surprised when there is no answer.
Re: can not open the model [message #1768542 is a reply to message #1768538] Wed, 19 July 2017 15:35 Go to previous messageGo to next message
Eclipse UserFriend
I use a tool [1] and it generates this model. My question is how can I resolve the error to be able to open the model e.g., with Sample Reflective Ecore model Editor or etc.

[1] https://github.com/jesusc/anatlyzer
Re: can not open the model [message #1768573 is a reply to message #1768542] Thu, 20 July 2017 03:19 Go to previous message
Eclipse UserFriend
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.
Previous Topic:EMF Forms
Next Topic:[EMF Forms] Text field active for unsettable features
Goto Forum:
  


Current Time: Wed Jun 18 12:12:04 EDT 2025

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

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

Back to the top