Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Re: Problem with href
Re: Problem with href [message #493101] Fri, 23 October 2009 07:10
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
hi, Ok, I'm having troubles with my newsgroup client, yet another try to
forward to the m2m newsgroup.

Cédric Brun wrote:

> Hi,
>
> Did you registered all the required ecore models in the EPackage registry
> in
> your Java code ? are you launching it as a pure java application or within
> an Eclipse application ?
>
> I'm forwarding to the m2m newsgroup as it's an ATL related issue.
>
> Cédric
>
> Fabrice LIMA LOPES wrote:
>
>> Hello,
>>
>> I have a problem when I execute an ATL transformation programmatically.
>> The output XMI file is generated strangely, there are "href" everywhere
>> :
>>
>> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:s2="http://www.sebastian2.com/ecore/referential"
>> xmlns:s2c=" http://www.sebastian2.com/ecore/referential/creationcontaine r"
>> xmlns:s2m="http://www.sebastian2.com/ecore/referential/mediacontainer"
>> xmlns:s2r=" http://www.sebastian2.com/ecore/referential/resourcecontaine r"
>>
xmlns:s2t=" http://www.sebastian2.com/ecore/referential/temporalcontaine r">
>> <s2:DomainModel>
>> <projects href="#/2"/>
>> </s2:DomainModel>
>> <s2r:Folder>
>> <essenceMasters href="#/8"/>
>> <essenceMasters href="#/9"/>
>> </s2r:Folder>
>> <s2:Project name="Projet Sebastian">
>> <temporalContainer>
>> <temporalSequenceMasters href="#/3"/>
>> </temporalContainer>
>> <creationContainer>
>> <contentUnits href="#/4"/>
>> </creationContainer>
>> </s2:Project>
>> ............
>> </xmi:XMI>
>>
>> I am expected something like this :
>>
>> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:s2="http://www.sebastian2.com/ecore/referential"
>> xmlns:s2c=" http://www.sebastian2.com/ecore/referential/creationcontaine r"
>> xmlns:s2m="http://www.sebastian2.com/ecore/referential/mediacontainer"
>>
xmlns:s2r=" http://www.sebastian2.com/ecore/referential/resourcecontaine r">
>> <s2:Project name="Projet Sebastian">
>> <temporalContainer>
>> <temporalSequenceMasters title="SequenceEISTI" duration="480"
>> editing="/0/@creationContainer/@contentUnits.0/@mediaCreations.0 "/>
>> </temporalContainer>
>> <creationContainer>
>> <contentUnits>
>> <mediaCreations xsi:type="s2c:Editing" name="SequenceEISTI">
>> <edits sourceOut="240" recordOut="240"
>> selectedVariant="/1/@essenceMasters.0"/>
>> <edits sourceOut="240" recordIn="240" recordOut="480"
>> selectedVariant="/1/@essenceMasters.1"/>
>> </mediaCreations>
>> </contentUnits>
>> </creationContainer>
>> </s2:Project>
>> <s2r:Folder>
>> <essenceMasters>
>> <fileInfo xsi:type="s2m:VideoFile" pixelWidth="720"
>> pixelHeight="486" frameNumber="240"/>
>> <nodeInfo name="EISTITitle06.mov"
>>
>
path=" file://localhost/Users/zoubeida/Desktop/Test%20FCP%20Sebasti an/ProjetFabrice/EISTITitle06.mov"/>
>> </essenceMasters>
>> <essenceMasters>
>> <fileInfo xsi:type="s2m:VideoFile" pixelWidth="720"
>> pixelHeight="486" frameNumber="240"/>
>> <nodeInfo name="EISTITitle10.mov"
>>
>
path=" file://localhost/Users/zoubeida/Desktop/Test%20FCP%20Sebasti an/ProjetFabrice/EISTITitl10.mov"/>
>> </essenceMasters>
>> </s2r:Folder>
>> </xmi:XMI>


http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Previous Topic:[QVTO] Can't resolve EObject as OCL type?
Next Topic:[QVTO] removing a collection
Goto Forum:
  


Current Time: Sat Apr 20 00:34:39 GMT 2024

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

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

Back to the top