| Store | Cart

RE: Perl XML::GDOME question

From: Sterin, Ilya <Iste...@ciber.com>
Thu, 7 Mar 2002 15:21:38 -0700
How about just a flag that will allow you to choose and default ot no
prefix?

Ilya

-----Original Message-----
From: T.J. Mather
To: Markus
Cc: perl...@listserv.ActiveState.com
Sent: 3/7/02 3:37 PM
Subject: Re: Perl XML::GDOME question

The reason I used the GDOME_ prefix was that it was used in the gdome2 C

library.

However, I think you brought a good point, we should consider switching 
to using no prefix, e.g. ELEMENT_NODE, since this is what other DOM 
implementations use, including Perl's own XML::DOM.  That way it would 
follow the DOM spec exactly.  It would make it easier to adapt XML::DOM
code to run under XML::GDOME this way.  And if Matt changes XML::LibXML 
to use the constants without prefixes, it will make it easy to switch 
between XML::GDOME and XML::LibXML.  This would be very good, since one
of 
the goals is to make XML::GDOME API-compatible with XML::LibXML.

Thanks,
TJ

On 7 Mar 2002, Markus wrote:

> hello> just downloaded GDOME 0.76.> thanks a lot to the author. it is great.> > I got one question about the constants> > for example there is > GDOME_ELEMENT_NODE> > when I played with python and java DOM implementations> these where just called> ELEMENT_NODE> > is there a way with GDOME to use the constant> like this, without the "GDOME" prefix ??> > I am not sure, if these names are standard> but I would feel more comfortable with them because I already> knew them from Java/Python.

_______________________________________________
Perl-XML mailing list
Perl...@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Recent Messages in this Thread
Sterin, Ilya Mar 07, 2002 10:21 pm