[XML-SIG] Differing symbols in PyXML?

Uche Ogbuji uche.ogbuji@fourthought.com
17 Jul 2002 10:20:42 -0600


On Wed, 2002-07-17 at 09:39, Fred L. Drake, Jr. wrote:
> 
> Uche Ogbuji writes:
>  > I imagine the changed symbols in Fred's minidom updates
>  > (e.g. DOMStringSizeErr versus the new DomstringSizeErr) are to make
>  > them closer to Guido/Python style?
> 
> Ok, I've take a quick look into this, and am confused.  What are you
> talking about?  grep can only find DOMStringSizeErr:
> 
> % find -name \*.py | xargs grep -i DomstringSizeErr
> ./build/lib.linux-i686-2.0/_xmlplus/dom/__init__.py:class DOMStringSizeErr(DOMException):
> ./build/lib.linux-i686-2.1/_xmlplus/dom/__init__.py:class DOMStringSizeErr(DOMException):
> ./build/lib.linux-i686-2.2/_xmlplus/dom/__init__.py:class DOMStringSizeErr(DOMException):
> ./build/lib.linux-i686-2.3/_xmlplus/dom/__init__.py:class DOMStringSizeErr(DOMException):
> ./xml/dom/__init__.py:class DOMStringSizeErr(DOMException):
> 
> Uche, are you looking at a modified tree?

No.  I got it exactly backwards.  This is what I find on stock Debian
Python 2.2. install (it's the same as what's in the Python 2.2 I built
myself):

$ grep -i DomstringSizeErr /usr/lib/python2.2/xml/dom/__init__.py
class DomstringSizeErr(DOMException):

This is from latest PyXML:

$ grep -i DomstringSizeErr xml/dom/__init__.py
class DOMStringSizeErr(DOMException):

Looking at Python 2.1 (again stock Debian install) 

$ grep -i DomstringSizeErr /usr/lib/python2.1/xml/dom/__init__.py
class DomstringSizeErr(DOMException):

I am very confused at this point.

Just to make sure my computer is not in the twilight zone, I checked on
a pristine Red Hat box.  Same thing.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
The many heads of XML modeling - http://adtmag.com/article.asp?id=6393
Will XML live up to its promise? -
http://www-106.ibm.com/developerworks/xml/library/x-think11.html