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

Re: XProc Editors Draft 2007-07-19: Section 4.2 Comments

From: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 1 Aug 2007 19:58:10 +0200
Message-ID: <546c6c1c0708011058s22adbcf0nb734143306f4d6f8@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

On 8/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Jeni Tennison <jeni@jenitennison.com> was heard to say:
> | The paragraph after the syntax summary says:
> |
> |   When a pipeline needs to process a sequence of documents using
>
> ^ a subpipeline that begins with
>
> |   a step
> |   that only accepts a single document, the p:for-each construct can be
> |   used as a wrapper around the step that accepts only a single document.
> |   The p:for-each will apply that step to each document in the sequence
> |   in turn.
> |
> | This makes it sound as if the <p:for-each> can only wrap around a
> | single step, rather than a subpipeline.
> |
> | Section 4.2.1 seems to contradict Section 2.8.1, specifically about
> | the context position and size.
>
> In 2.8.1, we say "unless otherwise indicated by a particular step".
>
> However, I think we have a problem here.
>
> At one point we were going to use context-position and context-size.
> Then we decided that we couldn't and switched to p:iteration-count()
> instead of context size.
>
> Don't we also need a p:iteration-size() or something?

YES !!! (a happy one)

-- 
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 Wednesday, 1 August 2007 17:58:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT