- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 11 Feb 2010 07:29:33 -0500
- To: public-xml-processing-model-comments@w3.org
Received on Thursday, 11 February 2010 12:30:06 UTC
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
> 2.13.2.1 (Examples) contains an incorrect example:
>
> "
> In forwards-compatible mode, it is not a static error to encounter the
> following step:
>
> <p:string-replace match="div/@class" replace="$foo">
>   <p:input port="ancillary">
>     <p:document href="doc.xml"/>
>   </p:input>
> </p:string-replace>
> "
>
> The value of the replace option is "$foo", which will never work in this
> case (the variable bindings are empty in the step XPath context).
Actually, since it was in a shortcut, the new value would have been
literally "$foo" w/o any XPath evaluation at all. But that's
misleading at best :-).
Fixed.
                                        Be seeing you,
                                          norm
-- 
Norman Walsh <ndw@nwalsh.com> | One must look for one thing only, to
http://nwalsh.com/            | find many.--Cesare Pavese
Received on Thursday, 11 February 2010 12:30:06 UTC