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

Re: Referencing an XProc variable in p:split-sequence/@test

From: Florent Georges <fgeorges@fgeorges.org>
Date: Mon, 7 May 2012 16:05:20 +0200
Message-ID: <CADyR_r3zC_6dU82mxQo6kdCZR-Sad+rMOZSE4QquY+UGrRVwxQ@mail.gmail.com>
To: Geert Josten <geert.josten@dayon.nl>
Cc: XProc Dev <xproc-dev@w3.org>
On 7 May 2012 16:01, Geert Josten wrote:

> I've tripped over similar cases as well. It is sometimes necessary to
> create a new scope using a group. You put the variables before the group,
> or at the top of the group, and anything else relying on it also within
> the group.

  Mmh, I am not sure we talk about the same thing here.  Unless I
misunderstood, of course...  If I am right, you refer to the necessity
to use explicitly p:group in some cases, because a variable can only
be declared at the beginning of a group (which IIRC we decided to
relax last year in Lyon for next version).

  I refer to the fact that (in Calabash), a variable in scope is not
seen in the @test expression of a split-sequence.  But as I said, I
maybe missed something.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Monday, 7 May 2012 14:06:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 May 2012 14:06:17 GMT