W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2008

Re: possible bug in p:iteration select

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 30 Sep 2008 16:20:12 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m27i8tpern.fsf@nwalsh.com>
James Garriss <james@garriss.org> writes:

> What I (instinctively) want to do is this:
>
>     <p:for-each>
>         <p:output port="result"/>
>
>         <p:iteration-source select="//c:file"/>
>         <p:variable name="filename" select="//@name)"/>
>         <p:load href="$filename"/>
>     </p:for-each>
>
> But Calabash ain't buying that either.  :-)  That's probably my XSLT
> background squeaking through.

No, that's the same bug. Calabash doesn't get the context node correct
for any of the variable/option/parameter elements. Worse still,
perhaps, it doesn't even take them into consideration when
constructing the flow graph, so it's all bound to go pear shaped as
soon as the pipeline starts running.

Fixes under way.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Wisdom is only a comparative quality,
http://nwalsh.com/            | it will not bear a single
                              | definition.--Marquess of Halifax

Received on Tuesday, 30 September 2008 20:20:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 30 September 2008 20:20:56 GMT