[XML-SIG] PyExpat changes

Paul Prescod paul@prescod.net
Thu, 22 Jun 2000 09:29:52 -0500

Greg Stein wrote:
> ...
> > I think everything we need to do for the
> > module has been done (Andrew?) -- the remaining "issues" have
> > everything to do with expat build/configuration/API issues and not the
> > Python bindings.
> IOW, pyexpat should be fully documented. 

I don't see your point. I especially don't see the benefit in adding yet
another XML API to the documentation.

> It would also be great if it had a "Pythonic" API, much as AMK suggested.
> +1 on renaming those attributes.

If we are going to rename attributes and break code, we might as well
use the SAX names and conventions. There is no performance cost. The
only reason I didn't do this from the start was because I didn't want to
break code. In particular, I didn't know how much code you had based on
the old API because I think that you (and maybe the Zope guys) are the
primary user(s).

A big virtue of SAX (beyond being performant) is that it is
forward-compatible with namespaces stuff (although I'm not predicting
that we will use Expat's namespace support today...it is probably better
to do namespaces in Python).
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
Floggings will continue until morale improves.