Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Namespace Problems
Namespace Problems [message #777355] Tue, 10 January 2012 10:24
Ahsan Missing name is currently offline Ahsan Missing nameFriend
Messages: 10
Registered: December 2011
Location: Munich, Germany
Junior Member

Hello Everyone.

I have a problem with namespace in my transformations. I am transforming one meta model into another using qvto. When transformed the namespace of my output file is something

<ABC xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://abc.org/schema/r4.0/abc40/atls" xmlns:_1="http://abc.org/schema/r4.0/abc40/swc/components" xmlns:_2="http://abc.org/schema/r4.0/abc40/swc/composition" xmlns:_3="http://abc.org/schema/r4.0/abc40/swc/composition/ir" xmlns:_4="http://abc.org/schema/r4.0/abc40/swc/pi" xsi:schemaLocation="http://abc.org/schema/r4.0/abc40/swc/composition/ir http://abc.org/schema/r4.0/abc40/swc/composition#//instancerefs">

where as the correct namespace is something like

<ABC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://abc.org/schema/r4.0" xsi:schemaLocation="http://abc.org/schema/r4.0 abc_4-0-2.xsd">

First time when I run a configuration for transformation the transformed model is not valid. I understand it is because of the namespace. If I just copy and paste the correct namespace into the transformed file, save it and re run the configuration the transformed model is valid.


Can anyone please tell me what is happening here and how can I make my namespace correct for the first time so that I don't have to re run the configuration.

Ill appreciate your help.

Regards
Ahsan






Previous Topic:Plugin For Qvto Transformation
Next Topic:Migration of new profile definition does not work
Goto Forum:
  


Current Time: Sat Jul 27 10:00:52 GMT 2024

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

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

Back to the top