W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2012

Re: Scope?

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 18 Jan 2012 07:02:28 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m24nvtmd63.fsf@nwalsh.com>
Alex Muir <alex.g.muir@gmail.com> writes:

> I wonder if there is an issue here or if this is how things are supposed to work?
> I guess logically I get this error with the following code...
> E [Calabash XProc] err:XS0022 : No step named "validate-with-rng" is visible here. In all cases
> except the p:output of a compound step, it is a static error if the port identified by a p:pipe
> is not in the readable ports of the step that contains the p:pipe.

That's the way it's supposed to work. You can't see "inside" preceding compound
steps. You either have to put the p:pack step in the group or make the
validated output an output of the group and read it from the group.

Hope that helps.

                                        Be seeing you,

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

Received on Wednesday, 18 January 2012 12:03:06 UTC

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