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

Testin versioning-002

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 19 Nov 2009 15:56:19 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2hbsqw7ws.fsf@nwalsh.com>

I think you wrote this as a versioning test:

<p:declare-step version="2.0">
  <p:output port="result"/>
  <p:identity name="id1">
    <p:input port="source">
    <p:input port="new-input-port">
      <p:pipe step="id2" port="new-output-port"/>

  <p:identity name="id2">
    <p:input port="source">



The intent was to test that the binding would participate in the
dependency graph, forcing id2 to run before id1.

The problem is that for the purpose of default bindings, the document
order of the steps is what counts. In this example, id1 has an unbound
primary output port (because id2 doesn't read it.)

I've "fixed" the test by making the last binding explicit. Arguably,
this changes the test so that it no longer tests what you intended,
but I can't think of an easy way to test what you intended right

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | People often say that this or that
http://nwalsh.com/            | person has not yet found himself. But
                              | the self is not something one finds, it
                              | is something one creates.--Thomas Szasz

Received on Thursday, 19 November 2009 20:57:06 UTC

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