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

RE: step must contain only a signature

From: <Toman_Vojtech@emc.com>
Date: Tue, 22 Sep 2009 03:50:45 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC78710DBB5E5@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> Beginner errors: when I execute
> <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/></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:output port="result"/>
> 	</p:make-absolute-uris>
> </p:declare-step>
> then Calabash 0.9.14 gives
> Error  : Pipeline failed: com.xmlcalabash.core.XProcException: A
> p:make-absolute-uris step must contain only a signature. p:output not
> allowed.
> while Calumet 1.0.9 executes and outputs
> <c:directory xmlns:c="http://www.w3.org/ns/xproc-step"/>

I think Calabash is correct here. Calumet simply ignores the p:output
element in this case, but because it is not allowed by the schema, I
think it should reject the pipeline statically.

Thanks for finding this out.

Regards,
Vojtech

--
Vojtech Toman
Principal Software Engineer
EMC Corporation
toman_vojtech@emc.com
http://developer.emc.com/xmltech
Received on Tuesday, 22 September 2009 07:52:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 September 2009 07:52:10 GMT