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

Re: Detecting unbound options

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 28 May 2009 08:47:37 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2r5y9bdhy.fsf@nwalsh.com>
"Henry S. Thompson" <ht@inf.ed.ac.uk> writes:
> OK, so maybe I just don't understand Mozer's proposal

I think Mohamed's proposal is to replace 

   <p:with-option name="include-filter" select="$include-filter">


   <p:with-option name="include-filter" bound-like-this-option="include-filter"/>

(where @bound-like-this-option and @select are mutually exclusive).

The semantics of 


are that if $foo has a value, the option gets that value. Otherwise,
the option gets no value. Since the value of @bound-like-this-option
is a QName, not an XPath expression, no error occurs if $foo isn't

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Never contend with a man who has
http://nwalsh.com/            | nothing to lose.-- Gracián

Received on Thursday, 28 May 2009 12:48:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC