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

Incorrect example in

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> (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"/>

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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:27 UTC