RE: Options as strings. Blech.

>   If we look at the definition of EBV[1], actually any string
> returns true except the empty string.  So even 'false' returns
> true:
> 
>     (: returns true() :)
>     if ( 'false' ) then true() else false()
> 
>     (: returns false() :)
>     xs:boolean('false')

Many thanks, Florent. I knew I should have looked in the specification first, and then ask.

Regards,
Vojtech




--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

Received on Friday, 2 September 2011 10:16:32 UTC