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: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 01 Aug 2007 13:43:04 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87tzrj6thz.fsf@nwalsh.com>
/ 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?

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Any sufficiently undocumented code is
http://nwalsh.com/            | indistinguishable from magic.

Received on Wednesday, 1 August 2007 17:43:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC