[issue9958] (c)elementTree missing children

Amaury Forgeot d'Arc report at bugs.python.org
Mon Sep 27 14:54:42 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The given script yields an item on a "start" event; but the element may not be fully populated at this point. please read http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse

You should use the "end" events instead.

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list