Re: Detecting unbound options

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 UTC