Re: [PATCH] Make XML_Util::replaceEntities() in XML_Util::attributesToString() optional
| From: | Sebastian Bergmann | Date: | Sun, 23 May 2004 13:25:53 +0000 |
| Subject: | Re: [PATCH] Make XML_Util::replaceEntities() in XML_Util::attributesToString() optional | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29575@lists.php.net to get a copy of this message | ||
Stephan Schmidt wrote:
> Why do you want to skip the replacement of the entities? It's a bit
> strange, as it is needed to create valid XML.
Because in XML_Transformer I need to run XML_Util::attributesToString()
on strings that will be "broken" XML_Util::replaceEntities() since at
the time attributesToString() is called the entities were already
replaced.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/