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

Re: re p:filter-002

From: James Fuller <james.fuller.2007@gmail.com>
Date: Fri, 27 Nov 2009 09:01:29 +0100
Message-ID: <a0ad8ffe0911270001uf6a1da8x7b47620bb27da083@mail.gmail.com>
To: Toman_Vojtech@emc.com
Cc: xproc-dev@w3.org
On Fri, Nov 27, 2009 at 8:56 AM,  <Toman_Vojtech@emc.com> wrote:
>> I know the intent of the test, the question is 'where are the words'
>> that say its ok to output an empty sequence (either in p:filter or
>> p:input) if a select doesn't select anything.
>
> Hm. I would say the "words" are in the declaration of p:filter: the
> "result" output port is declared as sequence="true" which implies that
> it can not only produce more than one document, but also zero. I guess
> we could add some prose to p:filter to make this more explicit if you
> think it is necessary.

its hard to know which takes priority when this is implicit so I think
more words would make it unambiguous.

Jim Fuller
Received on Friday, 27 November 2009 08:02:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 November 2009 08:02:02 GMT