- From: Tobias Reif <tobiasreif@pinkjuice.com>
- Date: Tue, 23 Sep 2003 10:27:00 +0200
- To: public-qt-comments@w3.org
- Cc: Ashok Malhotra <ashokma@microsoft.com>, Jeni Tennison <jeni@jenitennison.com>
Ashok Malhotra wrote:
> The WGs discussed this issue in the meeting on 9/16/2003. We agreed
> that the description of fn:tokenize was ambiguous and decided to clarify
> it
Great, thanks.
> by making it an error for the pattern to match the zero-length
> string.
I'm not sure if I understand you correctly. In order to split a string
to it's characters the pattern that specifies the separator must match
the zero-length string (those that are inside the word), no?
My suggestion was to add
fn:tokenize("abba", "") returns ("a", "b", "b", "a")
... or would that return ("", "a", "b", "b", "a", "") ?
Tobi
Received on Tuesday, 23 September 2003 04:25:31 UTC