Re: [PHP] simplexml_load_string always FALSE

2005-11-10 Thread Richard Lynch
On Thu, November 10, 2005 12:26 pm, Scott Klarenbach wrote: > I have a call > $oXML = simplexml_load_string($xmlString); > > I then check it, with > > if(!$oXML) throw new XMLException(); > > For some reason, it's always evaluating to FALSE. Even though there > are no errors and the rest of the xm

[PHP] simplexml_load_string always FALSE

2005-11-10 Thread Scott Klarenbach
I have a call $oXML = simplexml_load_string($xmlString); I then check it, with if(!$oXML) throw new XMLException(); For some reason, it's always evaluating to FALSE. Even though there are no errors and the rest of the xml parsing works fine. If I change it to if($oXML === FALSE) throw new XML