Hi Christophe & Sebastien,

I have an error with the dtd file only when I try to debug from source 
project. The line in model_1.xml is :
<!DOCTYPE package SYSTEM "sildex.dtd">

When I import the Sildex Model through the classical way, I get this one :
SEVERE: org.xml.sax.SAXParseException: Element type "Block" must be 
followed by either attribute specifications, ">" or "/>".

If you want to have a look on the sildex model, you can ask Jean-Patrice 
Giacometti who produced it. "CMF_LL_6...xml"

Thx for ur time,

Simon

> Hi Simon & Sebastien,
> 
> Simon, can you copy/paste the line of the sildex file where appear the DTD
> reference.
> We have to ensure of the path, first.
> 
> Thx.
> Christophe
> 
> 
>> Hi Simon,
>> 
>> What kind of exception did you get when you try to import your Sildex
>> model through the classical import (i.e Import Model feature) ?
>> 
>> It is not easy to debug transformations.
>> 
>> Regards,
>> 
>> Sebastien
>> 
>> > Hi
>> >
>> > import functionality is crashing on an model_1.xml conforms to
>> > sildex.ecore. So I have imported the org.topcased.import.sildexsam
>> > project from CVS. I have added following lines to ".project" file :
>> >
>> > <buildCommand>
>> >    <name>org.eclipse.m2m.atl.adt.builder.atlBuilder</name>
>> >    <arguments>
>> >    </arguments>
>> > </buildCommand>
>> >
>> > and
>> >            <nature>org.eclipse.m2m.atl.adt.builder.atlNature</nature>
>> >
>> > The first time I tried to run a configuration ATL on the model_1.xml I
>> > obtained an error :
>> > SEVERE: java.io.FileNotFoundException: sildex.dtd
>> > Then I put this file in the same folder than my model_1.xml
>> >
>> > The second time I had this one :
>> > SEVERE: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with
>> > uri 'null' not found. (file:model_1.xml, 4, 10)
>> >
>> > I have tried to run the configuration with another model_2.xml which is
>> > imported correctly in the normal way but produce same errors.
>> >
>> > Why have I such distinct behavior between "import/Model/import models
>> > into Topcased/sildex to SAM transformation ..." and running a
>> > configuration on source project ?
>> > How can I debug this import functionality ?
>> >
>> > Thx,
>> >
>> > Simon
>> >
>> > PS : an other strange behavior is when I tried "import/Plugin
>> > Developpement/Plug-ins and Fragments/org.topcased.import.sildexsam"
>> > java source files were missing so I used "import/CVS/Project from
>> > CVS/:pserver:[email protected]:/cvsroot/topcased-sam".
>> > In both case the ATL build command was missing.



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to