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

RE: [closed] Re: re p:filter-002

From: <Toman_Vojtech@emc.com>
Date: Fri, 18 Dec 2009 02:19:19 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C62E9AF@CORPUSMX70C.corp.emc.com>
To: <xproc-dev@w3.org>
> Actually, I don't think the words in 5.1 allowed it even in the
> p:input case. That's clearly an editorial oversight. I fixed the
> problem this way:
>   It is a dynamic error (err:XD0016) if the select expression on a
>   p:input returns atomic values or anything other than element or
>   document nodes (or an empty sequence).

Why is producing an empty sequence a problem here? How is it different
from having a "sequence" input port that gets no documents? To me:

  <p:input port="source" select="i-do-not-exist">...</p:input>


  <p:input port="source"<p:empty/></p:input>

are the same and should both work.

Received on Friday, 18 December 2009 07:55:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:50 UTC