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: Sat, 10 Apr 2010 14:47:20 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2y6gvxhzb.fsf@nwalsh.com>
Innovimax W3C <innovimax+w3c@gmail.com> writes:

> Well.. I would continue to argue that p:identity is a special case
> because, there is no difference in with respect to processing a
> document or a sequence of document :-)

I'm not asking you to argue one way or another, it's just a discrepancy
that strikes me as odd. Consider this choose:

  <p:when test="p:value-available('filter-expr')">
      <p:with-option name="select" select="$filter-expr"/>
      <p:input port="source" select="/my/default/filter/expr"/>

If the input document is a sequence, it fails if $filter-expr is
defined and succeeds if it isn't. I don't think that's going to seem
obvious to most users.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | There exist some evils so terrible and
http://nwalsh.com/            | some misfortunes so horrible that we
                              | dare not think of them, whilst their
                              | very aspect makes us shudder; but if
                              | they happen to fall on us, we find
                              | ourselves stronger than we imagined; we
                              | grapple with our ill luck, and behave
                              | better than we expected we should.--La
                              | Bruyère

Received on Saturday, 10 April 2010 18:47:56 UTC

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