[XML-SIG] Default namespace ''/None still in progress?

Rich Salz rsalz@zolera.com
Thu, 13 Dec 2001 12:23:44 -0500


>>> from xml.dom.ext.reader import PyExpat
>>> PyExpat.Reader().fromString('<a xmlns="http://example.com">b</a>')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/usr/lib/python2.1/site-packages/_xmlplus/dom/ext/reader/__init__.py",
line 63, in fromString
    return self.fromStream(stream, ownerDoc)
  File
"/usr/lib/python2.1/site-packages/_xmlplus/dom/ext/reader/PyExpat.py",
line 65, in fromStream
    success = self.parser.ParseFile(stream)
  File
"/usr/lib/python2.1/site-packages/_xmlplus/dom/ext/reader/PyExpat.py",
line 153, in startElement
    local + ':' + prefix)
TypeError: cannot add type "None" to string

I don't know how the "default namespace node" is being handled nowadays
...
-- 
Zolera Systems, Your Key to Online Integrity
Securing Web services: XML, SOAP, Dig-sig, Encryption
http://www.zolera.com