- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Thu, 28 Jun 2007 15:43:32 +0100
- To: Richard Tobin <richard@inf.ed.ac.uk>
- Cc: public-xml-processing-model-wg@w3.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Tobin <richard@inf.ed.ac.uk>, Henry Thompson writes:
> 3) Pipelines w/o a declared default output get an un-named default
> output iff their last contained step has an unbound default output.
I actually think we should go further and apply this to all compound
steps which allow outputs at all:
3') Compound steps which allow output declarations (that is, all
except p:choose and p:try) get an un-named default output iff their
last contained step has an unbound default output.
Then the second example pipeline from the spec would look like this:
<p:pipeline xmlns:p="http://www.w3.org/2007/03/xproc">
<p:documentation xmlns="http://www.w3.org/1999/xhtml">
<div>
<p>This is documentation</p>
</div>
</p:documentation>
<p:choose name="vcheck">
<p:when test="/*[@version < 2.0]">
<p:validate-xml-schema name="val1">
<p:input port="schema">
<p:document href="v1schema.xsd"/>
</p:input>
</p:validate-xml-schema>
</p:when>
<p:otherwise>
<p:validate-xml-schema name="val2">
<p:input port="schema">
<p:document href="v2schema.xsd"/>
</p:input>
</p:validate-xml-schema>
</p:otherwise>
</p:choose>
<p:xslt name="xform">
<p:input port="stylesheet">
<p:document href="stylesheet.xsl"/>
</p:input>
</p:xslt>
</p:pipeline>
ht
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFGg8kVkjnJixAXWBoRAizcAJ0YbaskCHyPSdURH/ZjZYTO45NJYgCfdMwO
emgkswE72taAcIAztx0YRMY=
=hK2T
-----END PGP SIGNATURE-----
Received on Thursday, 28 June 2007 14:43:41 UTC