Hi,

Thanks, however JP send me the cleaned one (without " anymore) few time ago.

I remmember that I had although an empty DTD file.

Well version speaking, in Topcased 2.4 :
I have the plugin org.topcased.sam with a SAM.ecore 1.2
and import functionnality works. I have an acceleo module to generate LotosNT code from it.

Regards,
Simon



[email protected] wrote:
Hello,

The following Error is due to the presence of &quot in the Block attribute
name.
The &quot doesn't bring anything so they may be removed.
Their presence induce a XML parsing ERROR.
name = "" toto "" -> "' toto '"

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 "/>".

Another thing  : the sildex dtd JP jhas send to me is empty.
Check if your are not in this case, opening it to see if you have some text
inside.

Third, I think recent evolutions of the SAM metamodel have not been made in
this import.
May be I m wrong but



-----Message d'origine-----
De : [email protected]
[mailto:[email protected]]de la part de
[email protected]
Envoye : mercredi 25 mars 2009 13:01
A : [email protected]
Objet : Re: [Topcased-users] [SAM] running org.topcased.import.sildexsam
in debug mode


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


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

begin:vcard
fn:Simon Bouland
n:Bouland;Simon
org;quoted-printable:INRIA Grenoble - Rh=C3=B4ne-Alpes;VASY
adr:Montbonnot;;655 avenue de l'Europe;Saint Ismier Cedex France;;38334;France
email;internet:[email protected]
title:Expert Engineer
tel;work:+33476615337
x-mozilla-html:TRUE
url:http://www.inrialpes.fr
version:2.1
end:vcard

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

Reply via email to