Georg Brandl ge...@python.org added the comment:
Thanks for the test case, committed the fix and the new test in r85546.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
karl karl+pythonb...@la-grange.net added the comment:
This following markup creates the mistake as described earlier in the comments
element xmlns=
b class=foo alt=/
/element
This markup doesn't
element xmlns=bla
b class=foo alt=/
/element
It returns
?xml version=1.0 ?element xmlns=bla
b
Brian Bernstein bernie9...@gmail.com added the comment:
Experiencing this issue too. It occurs when an xml element contains a blank
xmlns attribute, e.g.:
{{{
element xmlns=/
}}}
When toxml() is called on a minidom document with this attribute, the exception
occurs.
I am including a simple
Changes by Brian Bernstein bernie9...@gmail.com:
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5762
___
___
Mark Lawrence breamore...@yahoo.co.uk added the comment:
This issue will not move unless somebody provides a unit test for it.
--
nosy: +BreamoreBoy
stage: - unit test needed
type: crash - behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5
Changes by Francesco Sechi francesco.se...@iet.unipi.it:
--
nosy: +sechi_francesco
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5762
___
___
Francesco Sechi francesco.se...@iet.unipi.it added the comment:
I'm not able to reproduce the issue. Why don't you submit the unit test
that generates the problem? Thanks
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5762
Husen daudi h...@openerp.co.in added the comment:
I have solved this error,
My tag has None value for one attribute.
But python should check for None value in _write_data function.
--
___
Python tracker rep...@bugs.python.org
New submission from Husen daudi h...@openerp.co.in:
[2009-04-15 17:53:10,198] ERROR:web-services:[19]:
_write_data(writer, attrs[a_name].value)
[2009-04-15 17:53:10,198] ERROR:web-services:[20]: File
/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py, line
305, in _write_data
Robert Xiao nneon...@gmail.com added the comment:
Have you tried this with xml.dom.minidom?
--
nosy: +nneonneo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5762
___
Husen daudi h...@openerp.co.in added the comment:
Yes I am using xml.dom.minidom
doc.toprettyxml(indent=\t).encode('utf-8')
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5762
___
11 matches
Mail list logo