[XML-SIG] gray areas in Python SAX API

Stephane Bidoul stephane.bidoul@softwareag.com
Fri, 16 Nov 2001 18:44:05 +0100


> -----Original Message-----
> From: Alexandre Fayolle [mailto:Alexandre.Fayolle@logilab.fr]
> Sent: 16 November, 2001 17:43
> To: xml-sig@python.org
> Subject: [XML-SIG] gray areas in Python SAX API
> 

[...]

> 
> way of reporting no-namespace (None or '')
>  * decide which one to use. Already done, I think, but I 
> cannot remember
> what the decision was
>  * PyExpat uses '', xmlproc uses None. Using None has a 
> strong impact on
> code using DOM.

In my experience, Sax2 drivers report None.
(xml.sax.drivers2.drv_pyexpat and drv_xmlproc do, at least).
But this is not always interpreted correctly everywhere
(for instance by XMLGenerator: see bug #469463).

>  * documentation
>            

-Stephane