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

Secondary ports on pipeline need be explicitly declared non-primary?

From: Leif Warner <abimelech@gmail.com>
Date: Thu, 5 Mar 2009 05:05:08 -0800
Message-ID: <54d4ec0f0903050505s2e0b2f2aw63efff9683be0f6c@mail.gmail.com>
To: xproc-dev@w3.org
I made a p:pipeline that had a secondary input port,
called it with "calabash -i source=doc.xml -i what=elem.xml test.xpl", and
it gives me:

> Error  : Pipeline failed: err:XS0030: null  It is a static error to specify
> that more than one input port is the primary.
I try a few options, then try Example #2 in http://www.w3.org/TR/xproc/
Same thing, same error message.
Turns out if I put <p:input port="schemas" sequence="true"
primary="false"/>, it works.
This is not the behaviour I expected after reading section 2.3, and the
description of implicit "source" input ports in p:pipelines...
-Leif Warner
Received on Thursday, 5 March 2009 13:37:14 UTC

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