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

Incorrect example in 2.13.2.1

From: <Toman_Vojtech@emc.com>
Date: Thu, 21 Jan 2010 08:49:28 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C8C8B6B@CORPUSMX70C.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 January 2010 13:50:11 GMT