- From: James Fuller <james.fuller.2007@gmail.com>
- Date: Sun, 29 Mar 2009 13:51:49 +0200
- To: XProc Dev <xproc-dev@w3.org>
consider this trivial pipeline <p:declare-step xmlns:foo="http://acme.com/test" xmlns:p="http://www.w3.org/ns/xproc"> <p:input port="source"/> <p:output port="result"/> <p:input port="extra" primary="false"/> <p:identity/> </p:declare-step> as I understand things the source and result should be marked primary automatically calabash throws a 'Error : file:/xprocxq/main/test/xproc/basic/declare-step/declare-step1_9.xml:8: Input source unbound on p:identity step named #ANON.86 and no default binding available. Error : Pipeline failed: err:XS0032: Input source unbound on p:identity step named #ANON.86 and no default binding available. It is a static error if no binding is provided and the default readable port is undefined.' if I add primary attribute to source e.g. <p:declare-step xmlns:foo="http://acme.com/test" xmlns:p="http://www.w3.org/ns/xproc"> <p:input port="source" primary="true"/> <p:output port="result"/> <p:input port="extra" primary="false"/> <p:identity/> </p:declare-step> it works properly. cheers, Jim Fuller ps: I made a test case for this in the test suite
Received on Sunday, 29 March 2009 11:52:29 UTC