[gme-users] import xml into GME

Naiser, Samuel L samuel.l.naiser at lmco.com
Wed Apr 5 16:16:50 CDT 2006


Yes, that is a good clue because I create the xml from a different
metamodel that

the one that I import to.  I tried changing the metaname in the xml
file, but it did

not help.  Is there any way to fix this?

 

  _____  

From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan
Molnar
Sent: Wednesday, April 05, 2006 2:46 PM
To: gme-users
Subject: RE: [gme-users] import xml into GME

 

status="meta" directs the parser to take the default value from the
metamodel.

Is this an explanation?

 

Zoli

	-----Original Message-----
	From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Naiser,
Samuel L
	Sent: Wednesday, April 05, 2006 2:34 PM
	To: gme-users
	Subject: [gme-users] import xml into GME

	I have created a GReAT Transformation to transfor data in XML
format into a GME Model.

	This works fine.  I then export the GME Model to XML so that I
can import this into

	yet another GME Model containing objects needed for an
interpreter.

	The SAtimeUnits attribute is defined in the metamodel as an enum
with values: sec, ms, us, ps, ns

	As you can see, the value is expected to be "ms" and always is
"us", the default.

	Why does the value not become "ms" instead of the default of the
enum?  

	 

	<model id="id-0065-00000090" kind="SAction" role="SAction"
relid="0x1" childrelidcntr="0x0">

	      <name>Counter_Release_Schedule</name>

	            <attribute kind="RTduration">

	                  <value>0.06009388</value>

	            </attribute>

	            <attribute kind="SAdelay" status="meta">

	                  <value></value>

	            </attribute>

	            <attribute kind="SApriority">

	                  <value>-1</value>

	            </attribute>

	            <attribute kind="SAtimeUnits" status="meta">

	                  <value>ms</value>

	            </attribute>

	            <attribute kind="SAworstCase">

	                  <value>0.0</value>

	            </attribute>

	            <attribute kind="processor">

	                  <value>GPIOA1A</value>

	            </attribute>

	</model>

	 

	Thank you,

	Sam Naiser

	 

	Samuel L Naiser

	Lockheed Martin Aeronautics

	samuel.l.naiser at lmco.com

	Office:  817-935-3839

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060405/70e89cd6/attachment.htm


More information about the gme-users mailing list