[gme-users] Error in importing .xme files

Zoltan Molnar zolmol at isis.vanderbilt.edu
Tue Jan 17 10:34:34 CST 2006

Good news for xme file importers:
In the past only xml errors/exceptions (like: invalid xml format) thrown
in the middle of the XML validation step provided the user with location
info (line, column in the file)

Paradigm violation related errors/exceptions (when the .xme file is
valid in xml sense, but is NOT valid within the rules defined by the
paradigm) the location info was never printed.

For this latter case, starting from the next release you will see a
message in the console window about where the error occurred (line and

Regarding kitty's question: 
> Also, is it valid to have a paradigm sheet where I don't have 
> any aspects defined? 

It is not valid to have models with no aspects (metagme constraints will
complain), but the metainterpreter assigns to any model without aspects
a dummy aspect called "Aspect", along with issuing a warning about this.

Br, Zoli

> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of Krishnakumar B
> Sent: Wednesday, January 11, 2006 2:24 PM
> To: gme-users
> Subject: [gme-users] Error in importing .xme files
> Hi Folks,
> After another round of changes to my meta-model, I tried to 
> import the existing models into GME.  GME fails to import the 
> old models because there is likely some error on my part.  
> However, GME just throws up its hand
> saying:
> Error importing XML file (0x80731001): Improper use of object
> I am unable to determine the change that actually broke the 
> old models after spending hours.  Will it be possible to 
> enhance GME to print out more informative diagnostic 
> messages?  For example, it would be *awesome* if GME just 
> printed out either the name of the object that is used 
> improperly, and which usage was improper, i.e., a null 
> reference, invalid connection.  Or is there some magic where 
> I can correlate 0x80731001 with the GME-Id of some element in 
> the .xme file?
> While I am taking wild guesses, are constraint functions 
> defined in a model added into the global namespace, i.e., can 
> I define a constraint function in one paradigm sheet and use 
> it in a constraint that is defined in another paradigm sheet 
> within the same model?
> Also, is it valid to have a paradigm sheet where I don't have 
> any aspects defined?  I would guess so since I don't get any 
> constraint violations in the metamodel.
> Any help is really appreciated.
> -kitty.
> -- 
> Krishnakumar B <kitty at dre dot vanderbilt dot edu>
> Institute for Software Integrated Systems, Dept. of EECS, 
> Vanderbilt University _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users

More information about the gme-users mailing list