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

RE: Evaluating replace on string-replace

From: <Toman_Vojtech@emc.com>
Date: Tue, 4 Nov 2008 11:39:44 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870D4CAAA6@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> 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. ****
> 
> ]]
> 

I think you are right, good catch.

Vojtech
Received on Tuesday, 4 November 2008 16:41:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 4 November 2008 16:41:14 GMT