[phpsoa] Re: Testing for existing xml elements fails

2007-03-10 Thread simonslaws
On 9 Mar, 17:30, "cdouglas" <[EMAIL PROTECTED]> wrote: > I was able to work around this, and wanted to share in case anyone > else has same issue. > > try { > $customer_data =(is_null($CUSTOMER_CONFIG[$data])) ? "false" : > $CUSTOMER_CONFIG[$data]; > echo "path exists but might be null";} catch

[phpsoa] Re: Testing for existing xml elements fails

2007-03-09 Thread cdouglas
I was able to work around this, and wanted to share in case anyone else has same issue. try { $customer_data =(is_null($CUSTOMER_CONFIG[$data])) ? "false" : $CUSTOMER_CONFIG[$data]; echo "path exists but might be null"; } catch (exception $e){ echo "path does not exist"; } Where $CUSTOMER_CONFIG

[phpsoa] Re: Testing for existing xml elements fails

2007-03-05 Thread simonslaws
On 1 Mar, 14:53, "cdouglas" <[EMAIL PROTECTED]> wrote: > Thanks, I will create a bug. > > Yes, I think everything I am testing for will be strings. That ID was > just made up. > I will try to reorg code and try to catch the exception. > > On 1 Mar, 05:15, [EMAIL PROTECTED] wrote: > > > On 28 Fe

[phpsoa] Re: Testing for existing xml elements fails

2007-03-01 Thread cdouglas
Thanks, I will create a bug. Yes, I think everything I am testing for will be strings. That ID was just made up. I will try to reorg code and try to catch the exception. On 1 Mar, 05:15, [EMAIL PROTECTED] wrote: > On 28 Feb, 17:19, "cdouglas" <[EMAIL PROTECTED]> wrote: > > > > > I have an app

[phpsoa] Re: Testing for existing xml elements fails

2007-03-01 Thread simonslaws
On 28 Feb, 17:19, "cdouglas" <[EMAIL PROTECTED]> wrote: > I have an application where I am loading an XSD into the XML DAS and > loading an XML file. I am then trying to determine if an element of > the XML file exists using isset with xpath path. I am seeing that > true is always returned, ev