Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » xmi Models
xmi Models [message #604473] Mon, 22 February 2010 08:15 Go to next message
shekoufeh Missing name is currently offline shekoufeh Missing name
Messages: 23
Registered: July 2009
Junior Member
I am trying to do transformation in QVT.

I have been creating my ecore metamodels and tried to generate dynamic instance of them, the instance is not readable.

when I open it by text edittor the schemalocation is like "null ../metamodels/Node.ecore"

I remove null .. and add platform:/resource/metamodels/Node.ecore
but still not working

Do u have any idea how should I encounter with this problem

Many thanks,
SH
Re: xmi Models [message #604477 is a reply to message #604473] Mon, 22 February 2010 09:54 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25747
Registered: July 2009
Senior Member
SH,

Does your EPackage have a non-null nsURI? That first value should be
the namespace of the model. If you right click on the EClass in the
Sample Ecore Editor and invoke "Create Dynamic Instance" you should get
something that works. I'm not sure how you're creating what you
describe below.


shekoufeh wrote:
> I am trying to do transformation in QVT.
>
> I have been creating my ecore metamodels and tried to generate dynamic
> instance of them, the instance is not readable.
>
> when I open it by text edittor the schemalocation is like "null
> ../metamodels/Node.ecore"
>
> I remove null .. and add platform:/resource/metamodels/Node.ecore
> but still not working
>
> Do u have any idea how should I encounter with this problem
>
> Many thanks,
> SH
Previous Topic:[Announce] Eclipse/OMG Symposium 2010
Next Topic:xmi Models
Goto Forum:
  


Current Time: Sun Apr 20 09:23:15 EDT 2014

Powered by FUDForum. Page generated in 0.09014 seconds