Re: Detecting unbound options

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, so maybe I just don't understand Mozer's proposal, but here's
another, even simpler, I think, suggestion:

 For each non-required option with no default and name NAME, there is
 an additional option defined automatically named NAME-bound, whose
 value is "1" if NAME is bound and "" otherwise.

This will enable simple use of "if $NAME-bound then ... else ..." when XPath 2
is supported, and p:choose/p:when otherwise.

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFKHmyBkjnJixAXWBoRApNzAJ0YXFxcbbegCpLwhfyHw+9syB2SaACdGB5m
DRKjd6qi+3VMYnBjUS+gOpk=
=GulI
-----END PGP SIGNATURE-----

Received on Thursday, 28 May 2009 10:51:17 UTC