Package: python2.3
Version: 2.3.4-18
---
from xml.dom.minidom import parseString
parseString('<item rdf:about="TMOIGDA5VKY4G4LZGIHPBL5ZZG76TOR4">...</item>')
---
this script stopped working with python 2.3.4
(Python 2.3.4 (#2, Dec 3 2004, 13:53:17)
it used to work up to version Python 2.3.4 (#2, Sep 24 2004, 08:39:09)
[Debian Version 2.3.4-13]
it looks like xmlns is turned on by default, adding
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" it works again.
---
from xml.dom.minidom import parseString
parseString('''
<item
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
rdf:about="TMOIGDA5VKY4G4LZGIHPBL5ZZG76TOR4">
...
</item>
''')
---
namespace checks should not cause parseString or parse to fail!
j
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]