Message101158
| 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:27 | nvetoshkin | set | recipients:
+ nvetoshkin, effbot, ods, strangefeatures, jwilk, flox |
| 2010年03月16日 08:10:26 | nvetoshkin | set | messageid: <1268727026.33.0.105304745944.issue5166@psf.upfronthosting.co.za> |
| 2010年03月16日 08:10:25 | nvetoshkin | link | issue5166 messages |
| 2010年03月16日 08:10:24 | nvetoshkin | create |
|