Re: [nyphp-talk] Trapping Errors with simplexml for Not Well-Formed XML

2007-02-10 Thread Daniel Convissor
On Wed, Feb 07, 2007 at 10:21:15AM -0500, =?UTF-8?Q? Emmanuel_M._D=C3=A9carie ?= wrote: > Adding to this problem, I discovered also that the DOM and simplexml > extensions can???t use the PHP5 exception handling to trap the errors > when the XML is not well-formed. Using simplexml or the DOM

[nyphp-talk] Trapping Errors with simplexml for Not Well-Formed XML

2007-02-07 Thread Emmanuel M. Décarie
Hello there, I posted the following on my blog and wanted to check with the crowd if I didn't miss anything obvious here. Cheers -Emmanuel I discovered the hard way that in PHP5 there are no obvious w