[issue11612] xml.dom.minidom fail to parse SVG file.
Ned Deily
report at bugs.python.org
Sun Mar 20 07:49:47 CET 2011
Ned Deily <nad at acm.org> added the comment:
The .svg file you attached appears to have a faulty URI in it on line 4:
xmlns:s="http://inkscape.sourceforge.net/DTD/s odipodi-0.dtd"
The error goes away if that space character is removed. It might be nice for expatbuilder to provide a better diagnostic in this case but that's not likely to happen unless someone is interested in providing a patch.
----------
nosy: +ned.deily
stage: -> needs patch
type: crash ->
versions: +Python 2.7, Python 3.1, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11612>
_______________________________________
More information about the Python-bugs-list
mailing list