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 Claudiu.Popa
Recipients Claudiu.Popa
Date 2014-06-15.21:05:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402866311.66.0.898311617544.issue21774@psf.upfronthosting.co.za>
In-reply-to
Content
Hi. This patch fixes a NameError found in xml.dom.minidom. Here's an example for reproducing it:


from xml.dom import minidom
dom = minidom.parseString("<a>1</a>")
pi = dom.createProcessingInstruction('xml-stylesheet',
                                     'type="text/xsl" href="mystyle.xslt"')
pi.nodeValue = "4"

with output:


Traceback (most recent call last):
  File "a.py", line 5, in <module>
    pi.nodeValue = "4"
  File "C:\Python34\lib\xml\dom\minidom.py", line 979, in _set_nodeValue
    self.data = data
NameError: name 'data' is not defined
History
Date User Action Args
2014-06-15 21:05:11Claudiu.Popasetrecipients: + Claudiu.Popa
2014-06-15 21:05:11Claudiu.Popasetmessageid: <1402866311.66.0.898311617544.issue21774@psf.upfronthosting.co.za>
2014-06-15 21:05:11Claudiu.Popalinkissue21774 messages
2014-06-15 21:05:11Claudiu.Popacreate