note 28400 added to ref.xml
| From: | simen at bleed dot no | Date: | Sat, 11 Jan 2003 21:27:17 +0000 |
| Subject: | note 28400 added to ref.xml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42008@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/ref.xml.php
http://master.php.net/manage/user-notes.php?action=edit+28400
http://master.php.net/manage/user-notes.php?action=delete+28400
http://master.php.net/manage/user-notes.php?action=reject+28400