note 59694 modified in function.xml-set-element-handler by dmytton
| From: | dmytton@php.net | Date: | Tue, 13 Dec 2005 18:16:23 +0000 |
| Subject: | note 59694 modified in function.xml-set-element-handler by dmytton | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100075@lists.php.net to get a copy of this message | ||
It seems that characterData() gets characters in chuncks of 1024; therefore if you have string of
characters between you tags that is longer than 1024 then characterData() will be called more that
once for single pair of tags. I don't know if this feature(bug?) is documented anywhere, I just
wanted to warn everyone about this; it had tripped me. I use php 4.3.10 on Linux.
--was--
It seems that characterData() gets characters in chuncks
of 1024; therefore if you have string of characters between
you tags that is longer than 1024 then characterData() will be called more that once for single pair
of tags.
I don't know if this feature(bug?) is documented anywhere,
I just wanted to warn everyone about this; it had tripped me.
I use php 4.3.10 on Linux.
http://php.net/manual/en/function.xml-set-element-handler.php