Not consistent with ACF or Railo but the openBD output (or confusion in the
engine) is more logical.  No?

2011/8/19 Adam Cameron <[email protected]>

> G'day, just FYI, I just raised this issue:
>
> http://code.google.com/p/openbluedragon/issues/detail?id=371
>
> Detail:
> Run this code on CF and then compare on OBD:
>
> <cfflush interval="1">
> <cfxml variable="x">
>        <a>
>                <b><c>d</c></b>
>                <b><c>e</c></b>
>        </a>
> </cfxml>
> <cfoutput>x.a.b[1]["c"].xmlText: #x.a.b[1]["c"].xmlText# (OK on both
> platforms)<br /></cfoutput>
> <cftry>
>        <cfoutput>x.a.b["c"].xmlText: #x.a.b["c"].xmlText# (OK on CF
> only)<br /></cfoutput>
>        <cfcatch>
>                <cfdump var="#cfcatch#">
>                <cfdump var="#x#">
>        </cfcatch>
> </cftry>
>
> I'm running OBD v1.5, server.bluedragon.builddate = 2011-06-03
> 01:00:45 GMT.
>
> In CF (and Railo), the reference to x.a.b is inferred as being the
> FIRST b node.  OBD requires one to specify this literally.
>
> OBD should behave the same as the other platforms.
>
> --
> Adam
>
> --
> official tag/function reference: http://openbd.org/manual/
>  mailing list - http://groups.google.com/group/openbd?hl=en
>



-- 
-Nitish
"Faith is a free Option"
http://www.forcesofindia.com/profiles/np

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to