Re: Simple XML - problem with errors
| From: | Marc Guay | Date: | Thu, 08 Jul 2010 15:06:42 +0000 |
| Subject: | Re: Simple XML - problem with errors | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306762@lists.php.net to get a copy of this message | ||
> I wonder what the difference is between doing "new
> SimpleXMLElement" and calling simplexml_load_string which results in the
> libxml_use_internal_errors call being ineffective. Odd.
The documentation for "Dealing with XML errors" only mentions
simplexml_load_string() and this comment
http://ca3.php.net/manual/en/simplexml.examples-basic.php#93263
shows
that you're not the first person to run into this.
Marc