W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: Detecting unbound options

From: Dave Pawson <dave.pawson@gmail.com>
Date: Wed, 27 May 2009 14:34:11 +0100
Message-ID: <711a73df0905270634n176503c9xad6aa9e391467ad9@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
2009/5/27 Henry S. Thompson <ht@inf.ed.ac.uk>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Norman Walsh writes:
>
>> Yuck! But can we really live with this...
>
> For sure not.
>
> The most straightforward approach would be to add p:bound? as an XPath
> extension function.
>
> This would map strings to booleans, and presumably work yield *True*
> for any inscope bound variable, parameter or option,
> i.e. p:boundp?('xyzzy') is True iff $xyzzy is not an error.


Why should the user have to do it Henry?
Down to the implementer for the convenience of the user?

If it sends you back to last call, make it version +next.


regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Wednesday, 27 May 2009 13:34:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 May 2009 13:34:45 GMT