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

Re: calabash with primary attributes

From: Tobias Vogt <tobias_vogt_@web.de>
Date: Mon, 30 Mar 2009 22:43:21 +0200
Message-ID: <49D12EE9.8020808@web.de>
To: xproc-dev@w3.org
James Fuller wrote:
> consider this trivial pipeline

> <p:declare-step xmlns:foo="http://acme.com/test" 
> <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 

I believe Calabash is correct to not mark the "source" port as primary.
According to the spec:
"[Definition: If a step has a document input port which is explicitly
marked “primary='true'”, or if it has exactly one document input port
and that port is /not/ explicitly marked “primary='false'”, then that
input port is the /primary input port/ of the step.]"

In your pipeline, you have defined more than one input port, none of
which is marked primary="true", so the condition stated above is not met.

Received on Tuesday, 31 March 2009 08:11:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC