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

Re: $p:index vs position()

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 22 Jul 2008 12:49:07 -0700
To: public-xml-processing-model-wg@w3.org
Message-ID: <m28wvtem30.fsf@nwalsh.com>
/ Norman Walsh <ndw@nwalsh.com> was heard to say:
| I was reluctant to introduce $p:index in p:label-elements partly
| because it seems inconsistent with other steps that use position() for
| position in a sequence.
| I don't think we can hope to make position() work in p:label-elements,
| so I wonder if we should use $p:index in p:split-sequence and other
| steps where we need to keep track of the position.

Further analysis:

* "and other steps" is the empty set, AFAICT

* this change would require creating a $p:last-index or some such

So maybe it's not with considering.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | We are afraid of the old age which we
http://nwalsh.com/            | may never attain.--La Bruyère

Received on Tuesday, 22 July 2008 19:50:26 UTC

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