W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2004

Behavior of tokenize when pattern not present

From: Sal Mangano <sal.mangano@into-technology.com>
Date: Thu, 27 May 2004 14:11:50 -0400
To: <public-qt-comments@w3.org>
Message-ID: <001301c44416$1533c4a0$6501a8c0@DESCRIPTIX>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:19 UTC