W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > October 2009

Dealing with unbound options

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 15 Oct 2009 22:52:37 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2ws2wgidm.fsf@nwalsh.com>
Someone please tell me I'm having a brain cramp. I want to write a
recursive-directory-list step. It starts out like this:

<p:declare-step type="cx:recursive-directory-list">
  <p:output port="result"/>
  <p:option name="path" required="true"/>
  <p:option name="include-filter"/>
  <p:option name="exclude-filter"/>
  <p:option name="depth" select="-1"/>
    <p:with-option name="path" select="$path">
    <p:with-option name="include-filter" select="$include-filter">
    <p:with-option name="exclude-filter" select="$exclude-filter">

Except that the reference to $include-filter is an error if the
include-filter option wasn't specified on the call to

I think I remember talking about this. Someone please tell me we
thought of a solution.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | When someone tells you something defies
http://nwalsh.com/            | description, you can be pretty sure
                              | he's going to have a go at it
                              | anyway.--Clyde B. Aster

Received on Friday, 16 October 2009 02:53:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:47 UTC