[XML-SIG] gray areas in Python SAX API
Lars Marius Garshol
larsga@garshol.priv.no
19 Nov 2001 15:06:21 +0100
* Lars Marius Garshol
|
| Hmmmm. I have no strong opinion on this, but unless I am mistaken it
| is impossible to implement this in PyExpat, and that suggests to me
| that we should leave it optional. Does anyone have good reasons why
| it should be mandatory?
* Alexandre Fayolle
|
| "All XMLReaders are required to support setting
| http://xml.org/sax/features/namespaces to true and
| http://xml.org/sax/features/namespace-prefixes to false."
|
| My opinion is that it is a reasonable requirement.
I think so too, and the fact that it's impossible for us to make our
main parser support this just confirms that.
| Please note that this does not require any change in Expat. Just the
| wrapper should not raise an exception when setting
| namespace-prefixes to false.
All we need to do is to make expatreader recognize the feature and
keep it fixed to false. I can do that this evening.
| If we choose to do things differently, I'd say we should document this.
We should document it anyway, I think.
--Lars M.