Re: Bug or working as intended with PEAR XMLParser ?

From: Date: Thu, 19 Feb 2009 14:57:29 +0000
Subject: Re: Bug or working as intended with PEAR XMLParser ?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29713@lists.php.net to get a copy of this message
Christian Weiske a écrit :
Hello Anthony,
By changing my XML to: <Email><![CDATA[suppéort@hotel.com]]></Email> I manage to fix this behaviour but unfortunately in the real application I won't have the possibility to change the XML, therefore it has to work without that. I'm new to PHP so the solution might be actually easy, but in the API documentation and even in the API source code I've found nothing that could help me work around this issue.
You should try PHP's in-built SimpleXML. It'll be faster and contain less bugs.
Hello Christian, I've just read about the SimpleXML API and it could work with my case. The sole issue is that I've already written like 5000 lines of code and that would render them useless because of the fundamental difference between the two API. I'd like if possible to find a solution that doesn't require to start from scratch all over again. Thanks for your input though !

« previous php.pear.general (#29713) next »