[issue13551] pulldom doesn't populate DOM tree

2011-12-14 Thread Achim Gaedke
Achim Gaedke added the comment: Potentially both: The xml.dom.pulldom documentation is not really there. Maybe the PullDOM builds a partial tree, not caring about nested nodes. In contrast to SAX2DOM, which seems to fill the DOM tree completely. I tried to figure out, what the programmer inte

[issue13551] pulldom doesn't populate DOM tree

2011-12-10 Thread Éric Araujo
Éric Araujo added the comment: So, is there a code or documentation bug in any version? -- nosy: +eric.araujo ___ Python tracker ___

[issue13551] pulldom doesn't populate DOM tree

2011-12-07 Thread Achim Gaedke
Achim Gaedke added the comment: sorry, the output given before was generated with python2.7 changing the line xml.sax.parseString(xml_data, d_handler) to xml.sax.parseString(bytes(xml_data, "utf-8"), d_handler) makes it working for python 3.2, result the same: $ python3.2 pulldom_test.py wi

[issue13551] pulldom doesn't populate DOM tree

2011-12-07 Thread Achim Gaedke
New submission from Achim Gaedke : Hi! I tried to use the more general xml.dom interface, no longer defaulting to minidom straight away (or using etree). The DOM tree gained with PullDOM seem to be incomplete. Here is the output of the program attached. $ python pulldom_test.py with pulldom (