W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2011

Re: Initialize a variable with a parameter port

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 25 Nov 2011 09:50:48 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2ty5s2r3r.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
> On 22 November 2011 07:44, Geert Josten wrote:
>> About sequence input: if you use the ut:parameters within a
>> declare-step that has non-sequence primary input, ut:parameters
>> will receive just a single doc and pass that through
>> identically.
>   Yes sure, for the input.  But I thought about the output.
> I thought you couldn't connect a sequence output port to a single
> document input port.  But it seems I was misled somehow...

You can form the connection, but it's a dynamic error if the output port
doesn't produce exactly one document.

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676

Received on Friday, 25 November 2011 14:51:32 UTC

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