Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [SOLVED] [ATL] Source Model Problem
[SOLVED] [ATL] Source Model Problem [message #537659] Thu, 03 June 2010 09:45
Roger80  is currently offline Roger80 Friend
Messages: 79
Registered: May 2010
Member
Hello

I created both metamodels which are called EPK.ecore and BPMN.ecore. Now, I tried to create the Source Model, which I called IN.ecore and contains just the following code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns="EPK">
	<BaseElement>
			<event id="1">
				<name>Loan request</name>
			</event>
	</BaseElement>
</xmi:XMI>


But then I get the following error:

org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'EPK' not found. (platform:/resource/EPC2PBMN/IN.ecore, 3, 14)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X MLHandler.java:2576)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi x(XMLHandler.java:2407)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (XMLHandler.java:1285)
...

Please could you help me, I don't know how to go further, without solving this problem.
Thank you very much.

[Updated on: Thu, 03 June 2010 13:32]

Report message to a moderator

Previous Topic:[ATL] How to get the elements and put them in a target element
Next Topic:Re: [EMF].ecore
Goto Forum:
  


Current Time: Sat Apr 10 11:53:54 GMT 2021

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

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

Back to the top