This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nvetoshkin
Recipients effbot, flox, jwilk, nvetoshkin, ods, strangefeatures
Date 2010-03-16.08:10:24
SpamBayes Score 0.00010742349
Marked as misclassified No
Message-id <1268727026.33.0.105304745944.issue5166@psf.upfronthosting.co.za>
In-reply-to
Content
What about this example?
>>> from xml.dom import minidom
>>> doc = minidom.Document()
>>> el = doc.createElement("Test")
>>> el.setAttribute("with space", "False")
>>> doc.appendChild(el)
<DOM Element: Test at 0xba1440>
>>>
>>> #nahhh
... minidom.parseString(doc.toxml())
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "C:\Python26\lib\xml\dom\minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "C:\Python26\lib\xml\dom\expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "C:\Python26\lib\xml\dom\expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 33

>>>

Is it worth making another bug report?
History
Date User Action Args
2010-03-16 08:10:27nvetoshkinsetrecipients: + nvetoshkin, effbot, ods, strangefeatures, jwilk, flox
2010-03-16 08:10:26nvetoshkinsetmessageid: <1268727026.33.0.105304745944.issue5166@psf.upfronthosting.co.za>
2010-03-16 08:10:25nvetoshkinlinkissue5166 messages
2010-03-16 08:10:24nvetoshkincreate