[gme-users] .xme attribute generation
Peter Volgyesi
peter.volgyesi at vanderbilt.edu
Mon Jul 5 09:14:01 CDT 2004
I would choose the BON2/UDM/COM -> .mga -> .xml path. This way it will be
guaranteed that the dumped xml file is a proper project (it satisfies all
the rules of the current paradigm).
--
peter
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of Jeff Parsons
> Sent: Thursday, July 01, 2004 7:19 PM
> To: gme-users
> Subject: RE: [gme-users] .xme attribute generation
>
> Hi,
>
> Okay, I see about the mga versioning - the API shields it.
> Interesting suggestion, but there are a couple of other
> issues. One is that Xerces, the XML generator I'm using, is
> not at all hard to use, so a simpler API is not a big
> attraction per se. The other is that the translator design as
> it is now will work on *NIX platforms. Giving that up and
> going with COM wouldn't be a big deal to me, but it might to
> the sponsor and to other folks I work with.
>
> That said, I'll consult with the others involved with this
> project and get some feedback before I go any farther down
> the xme path.
>
> thanks,
>
> Jeff
>
> > -----Original Message-----
> > From: Aditya Agrawal
> > Sent: Thursday, July 01, 2004 11:52 AM
> > To: gme-users
> > Subject: RE: [gme-users] .xme attribute generation
> >
> >
> > Dear Jeff,
> >
> > You wrote:
> > > I'm still not clear on this. I can't dump xme unless I
> load the mga
> > > file first, and if the version changes, I can't do that. I guess
> > > it's a question of which format (mga or xme) is likely to be more
> > > volatile. Or am I missing something?
> > >
> >
> > While creating the mga you will use an API that will
> insulate you from
> > the changes in the mga format.
> >
> > As for version changes, if you register a new version of
> the paradigm
> > and run your hypothetical AST2mga translator it will give
> you a file
> > that works with the new paradigm.
> >
> > The only reason I suggested creating an mga file is because in my
> > opinion it will be much easier for you as there are many
> API's you can
> > choose from.
> >
> > Thanks,
> > Adi
> >
> > >
> > > > -----Original Message-----
> > > > From: Larry Howard
> > > > Sent: Thursday, July 01, 2004 11:23 AM
> > > > To: gme-users
> > > > Subject: Re: [gme-users] .xme attribute generation
> > > >
> > > >
> > > > Even so, having created a GME project directly, you could
> > then dump
> > > > the xme. The advantange (or hope, at least) is to isolate
> > yourself
> > > > from changes in the xme format and its...well...subtleties.
> > > >
> > > > lph
> > > >
> > > > ----- Original Message -----
> > > > From: "Jeff Parsons" <parsons at isis.vanderbilt.edu>
> > > > To: "gme-users" <gme-users at list.isis.vanderbilt.edu>
> > > > Sent: Thursday, July 01, 2004 11:10 AM
> > > > Subject: RE: [gme-users] .xme attribute generation
> > > >
> > > >
> > > > Adi,
> > > >
> > > > If I create an mga file, then won't I get caught up in GME
> > > > versioning, the same as I would if I tried to load an mga
> > file from
> > > > an earlier version of GME?
> > > >
> > > > Jeff
> > > >
> > > > > -----Original Message-----
> > > > > From: Aditya Agrawal
> > > > > Sent: Thursday, July 01, 2004 10:40 AM
> > > > > To: gme-users
> > > > > Subject: RE: [gme-users] .xme attribute generation
> > > > >
> > > > >
> > > > > Dear Jeff,
> > > > >
> > > > > You wrote:
> > > > > > Maybe I'm missing something, but doesn't that dumper start
> > > > > with an MGA
> > > > > > representation? I'm starting with an Abstract Syntax Tree
> > > > > created by
> > > > > > parsing an IDL file, or set of IDL files. I'm not
> > generating XML
> > > > > > directly, but using Xerces to build a DOM tree
> first. An MGA
> > > > > > representation is the end point of my process, rather
> > than the
> > > > > > starting point.
> > > > > >
> > > > > [Adi]
> > > > > Why do you want to create the .xme file? Why not
> create the mga
> > > > > directly? You can use the COM API, UDM API or the BON 2 API
> > > > to create
> > > > > an mga file directly. Peter please correct me if I am wrong
> > > > about the
> > > > > BON 2 API.
> > > > >
> > > > > Thanks,
> > > > > Adi
> > > > >
> > > > > > >
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: gme-users-bounces at list.isis.vanderbilt.edu
> > > > > > > > [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On
> > > > > Behalf Of
> > > > > > > > Jeff Parsons
> > > > > > > > Sent: Wednesday, June 30, 2004 1:31 AM
> > > > > > > > To: gme-users
> > > > > > > > Subject: [gme-users] .xme attribute generation
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I'm looking at two in particular - 'relid' and
> > > > > 'childrelidcntr' -
> > > > > > > > and I'm trying to figure out how the Dump methods in
> > > > GME select
> > > > > > > > values for these things when exporting a model to
> > > > XML. A simple
> > > > > > > > rule applies for each:
> > > > > > > >
> > > > > > > > relid - starts at 0x0 in each scope and increments
> > > > > childrelidcntr
> > > > > > > > - total number of contained FCOs + Folders
> > > > > > > >
> > > > > > > > most of the time, but not always :(.
> > > > > > > >
> > > > > > > > I'm writing a tool that does the reverse of an
> > interpreter,
> > > > > > > > generating an *.xme file to be imported into GME, and
> > > > I want to
> > > > > > > > make sure I generate these values correctly. Can anyone
> > > > > shed some
> > > > > > > > light on this?
> > > > > > > >
> > > > > > > > thanks,
> > > > > > > >
> > > > > > > > Jeff Parsons
> > _______________________________________________
> > > > > > > > gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> > > > > > > >
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > gme-users mailing list gme-users at list.isis.vanderbilt.edu
> > > > > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > > > > >
> > > > > > _______________________________________________
> > > > > > gme-users mailing list gme-users at list.isis.vanderbilt.edu
> > > > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > > > _______________________________________________
> > > > > gme-users mailing list
> > > > > gme-users at list.isis.vanderbilt.edu
> > > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > > >
> > > > _______________________________________________
> > > > gme-users mailing list
> > > > gme-users at list.isis.vanderbilt.edu
> > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > >
> > > > _______________________________________________
> > > > gme-users mailing list
> > > > gme-users at list.isis.vanderbilt.edu
> > > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > > >
> > > _______________________________________________
> > > gme-users mailing list
> > > gme-users at list.isis.vanderbilt.edu
> > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> _______________________________________________
> 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