Implicit outputs

Is the following pipeline correct?

  <p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
    <p:identity>
      <p:input port="source">
        <p:inline><doc/></p:inline>
      </p:input>
    </p:identity>
  <p:declare-step>

In other words, does this paragraph:

  Additionally, if a compound step has no declared outputs and the
  last step in its subpipeline has an unbound primary output, then an
  implicit primary output port will be added to the compound step (and
  consequently the last step's primary output will be bound to it).
  This implicit output port has no name. It inherits the sequence
  property of the port bound to it.

apply to p:declare-step?

We don't say it doesn't, but I'm not sure it should.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Reality is what refuses to go away when
http://nwalsh.com/            | I stop believing in it.--Philip K. Dick

Received on Monday, 22 June 2009 13:15:14 UTC