Sorry, this is not true.
As comments on the xml_set_character_data_handler php's function, you may control that the function can be called several times for the same entity and maust be concatenated or the entity gots spplited.
I have modified your function from this:
[...]
// or then $contentHandler is a multi-tag content case 2;
else {
$this->pOut[key($this->track)][current($this->track)] = array(
0 => $this->pOut[key($this->track)][current($this->track)],
1 => $contentHandler
);
}
[...]
to simply this:
[...]
// or then $contentHandler is a multi-tag content case 2;
else {
$this->pOut[key($this->track)][current($this->track)] .= $contentHandler;
}
[...]
and your class now can handle this sppliting. I don't know if this can break other features, but works for me.
You have the comment here:
es2.php.net/manual/en/function.xml-
...
Despite this, your class is amazing!
Thanks!