- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Fri, 29 Aug 2008 14:32:00 +0100
- To: Norman Walsh <ndw@nwalsh.com>
- Cc: public-xml-processing-model-wg@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Norman Walsh writes: > "Innovimax SARL" <innovimax@gmail.com> writes: > >> Nothing is said in the spec about what to do if we have the following >> pipeline >> >> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:ix=" >> http://www.innovimax.fr/ns"> >> <p:declare-step type="ix:test"> >> <p:input port="source"/> >> <p:output port="result"/> >> <p:option name="not-required-no-default"/> >> <p:choose> >> <p:when test="$not-required-no-default"> >> <p:identity/> >> </p:when> >> <p:otherwise> >> <p:filter select="/*"/> >> </p:otherwise> >> </p:choose> >> </p:declare-step> >> <ix:test/> >> </p:pipeline> > > You're right. That either has to be an error or we have to specify what > the default default value for options. The empty node set. That way testing it will fail, which is surely what you want. Hmm. Problem is that there is no XPath equivalent of 'boundp'. . . I can see arguments either way. Flbssst. . . 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 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) iD8DBQFIt/pQkjnJixAXWBoRAum3AJ0RrJN3NyK7wyntd/kvKKHMQMR/8ACfROCi fVdf9UuN8SazooZv1XaEwTk= =b9vF -----END PGP SIGNATURE-----
Received on Friday, 29 August 2008 13:32:37 UTC