W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2011

RE: Options as strings. Blech.

From: <vojtech.toman@emc.com>
Date: Fri, 2 Sep 2011 06:15:40 -0400
To: <xproc-dev@w3.org>
Message-ID: <3799D0FD120AD940B731A37E36DAF3FE33D97E9D36@MX20A.corp.emc.com>
>   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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 September 2011 10:16:32 GMT