p:string-replace clarification

a few observations about p:string-replace;

   *  what happens when the match is an attribute ?

   * shouldn't there be an dynamic error condition defined ?

   * the name string-replace seems to be cross purposes with the
following text in the editor draft spec;

    -----------------
     If the expression matches any other kind of node, the entire node
(and not just its contents) is replaced by the string value of the
replace expression.
    -----------------

    perhaps this behavior is controlled by an option which is off by
default, so it is only strings we are interested in


Jim Fuller

Received on Wednesday, 6 February 2008 11:59:53 UTC