[XML-SIG] gray areas in Python SAX API

Martin v. Loewis martin@v.loewis.de
Fri, 16 Nov 2001 21:06:35 +0100


> namespace-prefix feature is not supported by parsers
>  * decide if supporting setting this feature is mandatory or not

Certainly not. I understand that this was the big step forward in
SAX2: recognizing that not all parsers work alike. To my knowledge,
you cannot fix pyexpat at the moment to provide that feature, unless
you fix expat in the first place.

Of course, it may be necessary to come up with an API that finds a
parser given a set of required features and properties (similar to
what the Python DOM offers).

> way of reporting no-namespace (None or '')
>  * decide which one to use. Already done, I think, but I cannot remember
> what the decision was

Tom Passin once wrote a draft PEP on that. Dunno what happened to it.

Regards,
Martin