New submission from Achim Gaedke <achim.gae...@physik.tu-darmstadt.de>:
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 (<xml.dom.minidom.Document instance at 0xb722962c>, []) with minidom (<xml.dom.minidom.Document instance at 0xb72459ac>, [<DOM Text node "u'\n'">, <DOM Element: a at 0xb71cb74c>, <DOM Text node "u'\n'">, <DOM Element: b at 0xb71cb7ac>, <DOM Text node "u'\n'">, <DOM Element: c at 0xb71cb80c>, <DOM Text node "u'\n'">]) I'd expect the same result for both ways of populating the minidom DOM implementation. Thanks & Cheers, Achim ---------- components: XML files: pulldom_test.py messages: 149006 nosy: AchimGaedke priority: normal severity: normal status: open title: pulldom doesn't populate DOM tree type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file23872/pulldom_test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13551> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com