Re: Default values for options

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

Norman Walsh writes:

> What is the value of the fribble option seen by the foo:bar step? Is it the
> empty string or is this an error (or is there some other choice)?
>
> My inclination is to say that it's the empty string.

What?  Should be just like XML attributes.  The pipeline is fine,
attempts to retrieve the value of the option *must* produce either a
distinguished value, e.g. null, or an exception (which *should* be
distinct from the exception you get if you try to access an undeclared
option).

The whole point about optional attributes w/o a default is that you
can't conclude anything from a failure to supply them.

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, 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)

iD8DBQFGxYtIkjnJixAXWBoRAtiyAKCCIGO0s1CXDlAIP7UrosmNuy5y2ACfYZg8
gmWCNzejK53vukTzRwFznJc=
=C8jd
-----END PGP SIGNATURE-----

Received on Friday, 17 August 2007 11:49:46 UTC