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

Iteration position and size

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 23 Nov 2009 15:39:19 +0000
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2bpit5jyw.fsf@nwalsh.com>
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,

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

Received on Monday, 23 November 2009 15:40:17 UTC

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