note 28400 deleted from ref.xml by danbrown
| From: | danbrown@php.net | Date: | Wed, 03 Mar 2010 18:49:45 +0000 |
| Subject: | note 28400 deleted from ref.xml by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166605@lists.php.net to get a copy of this message | ||
Note Submitter: simen at bleed dot no
----
I was experiencing really wierd behaviour loading a large XML document (91k) since the buffer of
4096, when reading the file actually doesn't take into consideration the following:
<node>this is my value</node>
If the 4096 byte buffer fills up at "my", you will get a split string into your
xml_set_character_data_handler().
The only solution I've found so far is to read the whole document into a variable and then
parse.