[docs] [issue10026] xml.dom.pulldom strange behavior

Vojtěch Rylko report at bugs.python.org
Tue Oct 5 13:38:17 CEST 2010


Vojtěch Rylko <vojta.rylko at seznam.cz> added the comment:

Program below also splits two of 10 000 elements into two rows. Is it acceptable behavior?

OUTPUT (ill part)
=============
<DOM Text node "u'Twitter'">
<DOM Text node "u'\n'">
<DOM Text node "u'Twi'">
<DOM Text node "u'tter'">
<DOM Text node "u'\n'">
<DOM Text node "u'Twitter'">
<DOM Text node "u'\n'">
<DOM Text node "u'Twitter'">


PROGRAM
=============
for event, node in events:
        if event == pulldom.CHARACTERS:
                print node.data

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10026>
_______________________________________


More information about the docs mailing list