- From: Josh Matthews <joshmatthews@gmail.com>
- Date: Tue, 4 Nov 2008 14:51:41 -0500
- To: mozer <xmlizer@gmail.com>
- Cc: "Norman Walsh" <ndw@nwalsh.com>, public-xml-processing-model-comments@w3.org
Received on Tuesday, 4 November 2008 19:58:05 UTC
On Tue, Nov 4, 2008 at 11:02 AM, mozer <xmlizer@gmail.com> wrote: > > Even there, > > It is not clear to me that from *inside* the p:string-replace, the > XPath evaluation can see the $opos variable > > [[ > .6.1.2 Step XPath Context > > When a step evaluates an XPath expression using XPath 1.0, it does so > with the following initial context: > > context node > The document node that appears on the primary input port of the step, > unless otherwise specified by the step. > > context position and context size > The position and size are both "1", unless otherwise specified by the step. > > variable bindings > **** None, unless otherwise specified by the step. **** > > ]] > It would seem nice to me if this was "None, unless otherwise specified by the _environment_", in which case $opos would be bound. Cheers, Josh Matthews
Received on Tuesday, 4 November 2008 19:58:05 UTC