Incorrect example in 2.13.2.1

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).

Vojtech

Received on Thursday, 21 January 2010 13:50:11 UTC