Re: Scope?

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,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

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