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

Re: Source input on p:filter

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 09 Apr 2010 08:40:08 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2iq80hk9j.fsf@nwalsh.com>
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
>> Please tell me there was some good and compelling reason why the
> source
>> port on p:filter does not accept a sequence. Please tell me we didn't
>> just screw up.
>
> ......I think we did.

Blast. Well, at least it's easy to work around:

  <p:declare-step type="x:filter-sequence">
    <p:input port="source" sequence="true"/>
    <p:output port="result" sequence="true"/>
    <p:option name="select" required="true"/>
    <p:for-each>
      <p:filter>
        <p:with-option name="select" select="$select"/>
      </p:filter>
    </p:for-each>
  </p:declare-step>

But...damnit.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Even while a thing is in the act of
http://nwalsh.com/            | coming into existence, some part of it
                              | has already ceased to be.--Marcus
                              | Aurelius

Received on Friday, 9 April 2010 12:40:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 April 2010 12:40:43 GMT