W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2009

Re: Iteration position and size

From: Innovimax W3C <innovimax+w3c@gmail.com>
Date: Mon, 23 Nov 2009 16:43:57 +0100
Message-ID: <546c6c1c0911230743r6753a2ebv64a9941615e58fe2@mail.gmail.com>
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
I would even be more general and say ALL that are not p:for-each or a p:viewport

Mohamed

On Mon, Nov 23, 2009 at 4:39 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> The spec says:
>
> In the context of a p:for-each or a p:viewport, the
> p:iteration-position function reports the position of the document
> being processed in the sequence of documents that will be processed.
> In the context of other standard XProc compound steps, it returns 1.
>
> But test viewport-005 checks the position inside a p:choose where we
> clearly expect the value not to be reset. For which other steps do we
> expect the value not to be changed? try/catch? group?
>
>                    Be seeing you,
>                     norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | The bane of my existence is doing
> http://nwalsh.com/      | things that I know the computer could
>               | do for me.--Dan Connolly
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Monday, 23 November 2009 15:44:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 November 2009 15:44:36 GMT