This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When the "result" template is called with replacement strings that contain "$" and/or "\", the template crashes. That's normal, since those characters have a special meaning and must be escaped in replacement_string in the following call: replace(string_to_parse, regexp_to_use, replacement_string)
New function: moki:escape-for-replace defined in functions.xsl, and called from the "result" template on both replace1 and replace2 strings.