[New-bugs-announce] [issue2647] XML munges apos entity in tag content
Richard Esplin
report at bugs.python.org
Thu Apr 17 05:02:00 CEST 2008
New submission from Richard Esplin <richjunk1 at byu.net>:
I would like it to leave my ' alone, just like it does with my <
and >
Python 2.5.1 (r251:54863, Sep 21 2007, 22:46:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.dom import minidom
>>> doc = minidom.parseString("<tag><a'b></tag>")
>>> doc.toxml()
u'<?xml version="1.0" ?><tag><a\'b></tag>'
>>>
----------
components: XML
messages: 65570
nosy: resplin
severity: normal
status: open
title: XML munges apos entity in tag content
type: behavior
versions: Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2647>
__________________________________
More information about the New-bugs-announce
mailing list