[ python-Bugs-886690 ] dom.Node.nodeValue not populated
SourceForge.net
noreply at sourceforge.net
Wed Jan 28 22:30:51 EST 2004
Bugs item #886690, was opened at 2004-01-29 14:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=886690&group_id=5470
Category: XML
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Raide (raide)
Assigned to: Nobody/Anonymous (nobody)
Summary: dom.Node.nodeValue not populated
Initial Comment:
I get the following behaviour:
>>> xmlStr = "<foo id='10'>test</foo>"
>>> from xml.dom.ext.reader import Sax2
>>> import xml.dom
>>> reader = Sax2.Reader()
>>> dom = reader.fromString(xmlStr)
>>> dom.getElementsByTagName('foo')[0].getAttribute('id')
u'10'
>>> dom.getElementsByTagName('foo')[0].nodeValue
>>>
which seems to be a bug. Perhaps my understanding of
the nodeValue attribute is wrong. Im running 2.3.3 on
Fedora Core 1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=886690&group_id=5470
More information about the Python-bugs-list
mailing list