[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.mdt.uml2.uml] Re: Pathmap problems.

Saurabh,

It seems best to ask on the UML2 newsgroup.



EMf wrote:

Hi,

 

I have a problem with saving UML2 resources, The below snippets show that when i create the resource i have a pathmap://REPOSITORY_PROFILES/Conceptual.epx#_ entry in the header. When i call model.eResource().save(null) on the same resource, it changes the pathmap:// references to bundleentry://1562/profiles/Conceptual.epx#_ , does anyone know why this happens and what can i do to resolve this?? Any pointers will be appreciated.

 

Saurabh

 

 

<?xml version="1.0" encoding="UTF-8"?>

<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Conceptual="http:///schemas/Conceptual/_rBANIHpaEduTGcoxZEYJpA/20" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xsi:schemaLocation="http:///schemas/Conceptual/_rBANIHpaEduTGcoxZEYJpA/20 pathmap://REPOSITORY_PROFILES/Conceptual.epx#_rBANIXpaEduTGcoxZEYJpA">

<uml:Model xmi:id="__6mrgYj7EduynbrtAY-s8w" name="IFW Conceptual Model">

<?xml version="1.0" encoding="UTF-8"?>

<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Conceptual="http:///schemas/Conceptual/_rBANIHpaEduTGcoxZEYJpA/20" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xsi:schemaLocation="http:///schemas/Conceptual/_rBANIHpaEduTGcoxZEYJpA/20 bundleentry://1562/profiles/Conceptual.epx#_rBANIXpaEduTGcoxZEYJpA">

<uml:Model xmi:id="__6mrgYj7EduynbrtAY-s8w" name="IFW Conceptual Model">