[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2009-01-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r68116. -- assignee: effbot -> georg.brandl nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I propose to note this behavior on document. I'll attach the patch. (I just inserted your comment into document) -- components: +Documentation -Library (Lib), XML resolution: invalid -> status: closed -> open Added file: http://bu

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Fredrik Lundh
Fredrik Lundh <[EMAIL PROTECTED]> added the comment: 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. Th

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-11-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- assignee: -> effbot nosy: +effbot ___ Python tracker <[EMAIL PROTECTED]> ___ ___ P

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-13 Thread roland rehmnert
roland rehmnert <[EMAIL PROTECTED]> added the comment: We had to be careful how we should handle this. http://effbot.org/zone/element-iterparse.htm A note on this site says following : Note: The tree builder and the event generator are not necessarily synchronized; the latter usually lags beh

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11770/test_v2.py ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11766/test.py ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11769/fix_cross_boundary_on_ElementTree_v2.patch ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11765/fix_cross_boundary_on_ElementTree.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11766/test.py ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file11765/fix_cross_boundary_on_ElementTree.patch ___ Python tracker <[EMAIL PROTECTED]> _

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Minimum script to reproduce this issue is "bug.py" I've attached. And I think this issue can be fixed with "fix_cross_boundary_on_ElementTree.patch". I'll attach the test case for this issue as "test.py". (I wanted to intergrate test into t

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread roland rehmnert
Changes by roland rehmnert <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11763/bug.xml ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread roland rehmnert
Changes by roland rehmnert <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11762/bug.py ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4100] xml.etree.ElementTree does not read xml-text over page bonderies

2008-10-10 Thread roland rehmnert
New submission from roland rehmnert <[EMAIL PROTECTED]>: xml text fields are not read properly when it is encountered in a 'start' event. During a 'start'-event elem.text returns None, if the text string cross a page boundary of the file. (this is platform dependent and a typical value is 8K (81