This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author effbot
Recipients effbot, ocean-city, roland
Date 2008-11-01.18:31:54
SpamBayes Score 0.0025998729
Marked as misclassified No
Message-id <1225564315.96.0.0794572257176.issue4100@psf.upfronthosting.co.za>
In-reply-to
Content
Roland's right - "iterparse" only guarantees that it has seen the ">" 
character of a starting tag when it emits a "start" event, so the 
attributes are defined, but the contents of the text and tail attributes 
are undefined at that point.  The same applies to the element children; 
they may or may not be present.

If you need a fully populated element, look for "end" events instead.
History
Date User Action Args
2008-11-01 18:31:56effbotsetrecipients: + effbot, ocean-city, roland
2008-11-01 18:31:55effbotsetmessageid: <1225564315.96.0.0794572257176.issue4100@psf.upfronthosting.co.za>
2008-11-01 18:31:55effbotlinkissue4100 messages
2008-11-01 18:31:55effbotcreate