[XML-SIG] gray areas in Python SAX API

Martin v. Loewis martin@v.loewis.de
Tue, 27 Nov 2001 21:52:55 +0100


> |     3) value of prefix for elements having the default namespace,
> |        both in startElement, and in the Element node.
> 
> The prefix has no independent parameter, so I don't see how this can
> apply to startElementNS. If there is no prefix the qname parameter
> just won't contain one. It will not be None, however, since the
> element type name will be there.
> 
> Or am I as messed up as my HTTP connections?

You are right, of course. prefix is relevant only on DOM Element, not in
SAX handlers.

Regards,
Martin