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
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
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
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
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