Bugs item #1565967, was opened at 2006-09-26 22:34
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565967&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XML
Group: Python 2.5
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Michael Gebetsroither (einsteinmg)
Assigned to: Nobody/Anonymous (nobody)
Summary: pyexpat produces fals parsing results in CharacterDataHandle

Initial Comment:
hi,

with bigger files pyexpat begins to split up some 
things parsed through CharacterDataHandler.

c:       "root-menu"
pyexpat: "root-me"
         "nu"

c:       "TopLeft"
pyexpat: "TopL"
         "eft"


that strange results are also reproduseable on 
python2.4

greets

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-09-27 09:49

Message:
Logged In: YES 
user_id=21627

This is not a bug. Instead, applications are expected to be
aware of it, and deal with it accordingly. In general, it is
not possible to provide all character data in a single
callback, since that may exhaust the available address space.

The actual splitting of character data depends on the
internal buffering that Expat performs. If the buffer is
exhausted in the middle of character data, those data are
sent to the application before reading more input.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565967&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to