W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2009

err:XS0006 necessary here?

From: Manfred Staudinger <manfred.staudinger@gmail.com>
Date: Mon, 21 Sep 2009 19:39:08 +0200
Message-ID: <a946be3a0909211039g6792ac8dnb98af0fe669926b5@mail.gmail.com>
To: xproc-dev <xproc-dev@w3.org>
Beginner errors: when I execute (from the command line)
<p:declare-step name="myPipeline"
       xmlns:c="http://www.w3.org/ns/xproc-step"
       xmlns:p="http://www.w3.org/ns/xproc">
	<p:identity>
		<p:input port="source">
			<p:inline>
<c:directory><c:file name="aber.xml"/></c:directory>
			</p:inline>
		</p:input>
	</p:identity>
	<p:make-absolute-uris match="c:directory/*/@name">
		<p:with-option name="base-uri" select="'file:/J:/test/'"/>
	</p:make-absolute-uris>
</p:declare-step>
then Calabash 0.9.14 gives me
Error  : file:/J:/bauer/planavi/dirs/x-show-err1.xpl:4: Unbound
primary output port on last step: myPipeline
Error  : Pipeline failed: err:XS0006: Unbound primary output port on
last step: myPipeline  It is a static error if the primary output port
has no binding and the last step in the subpipeline does not have a
primary output port.
but Calumet 1.0.9 executes and outputs
<c:directory xmlns:c="http://www.w3.org/ns/xproc-step"><c:file
name="file:/J:/test/aber.xml"/></c:directory>

Regards,
Manfred
Received on Monday, 21 September 2009 17:39:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 21 September 2009 17:39:52 GMT