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

Determining whether a pipeline has a (defaulted) output

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Mon, 1 Oct 2007 16:55:34 +0100 (BST)
To: public-xml-processing-model-wg@w3.org
Message-Id: <20071001155534.EA92F26AC2F@macpro.inf.ed.ac.uk>

A pipeline with no output declarations has an output if its last step
does.  Its last step may be a call to another pipeline, so we have to
determine whether that has an output.  Now consider:

<p:pipeline-library xmlns:p="http://www.w3.org/ns/xproc" 
                    xmlns:e="http://example.org" namespace="http://example.org">
<p:pipeline name="pipe1">

<p:pipeline name="pipe2">
    <p:when test="foo">


(Does anyone have an implementation that can handle it?)

We can deduce that both pipe1 and pipe2 have an output, because
otherwise the choose would have inconsistent outputs, but that seems
a rather undesirable way to proceed.

-- Richard
Received on Monday, 1 October 2007 15:56:36 UTC

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