[Bug 10261] [F&O] return value of fn:replace and fn:tokenize if $pattern does not match

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10261





--- Comment #3 from Michael Kay <mike@saxonica.com>  2010-07-30 10:18:06 ---
An observation: in 1.1/2.1 we could define fn:tokenize(S, P, F) to be the value
of fn:analyze-string(S, P, F)/*/fn:match/string().

Defining fn:replace(S, P, R, F) in terms of fn:analyze-string(S, P, F) is
rather more challenging because of the complexities of captured groups, but it
ought to be possible to do it.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 30 July 2010 10:18:08 UTC