Behavior of tokenize when pattern not present

The XQuery 1.0 and XPath 2.0 Functions and Operators W3C Working Draft 12
November 2003 does not state explicily how tokenize should behave if the
pattern is not matched.

Example

tokenize("foo",",")

My intuition would tell me this is a case of a 1 token string so it should
return ("foo"). I think, this would have the most utility in practice. In
any case, I think this should be added to the examples.

-Sal

----------------------------------------------------------
Salvatore R. Mangano, President
sal.mangano@ into-technology.com
http://www.into-technology.com
Into Technology transforms software into enduring assets.
 
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
 

Received on Thursday, 27 May 2004 14:21:01 UTC