W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

RE: F&O 7.4.9 substring-after

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Tue, 30 Sep 2003 14:52:49 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB0AF481DF@red-msg-12.redmond.corp.microsoft.com>
To: "Bas de Bakker" <bas@x-hive.com>, <public-qt-comments@w3.org>

Thank you for your comment.  The behaviour of the function is described
incorrectly in the current document.  For this and related functions
that check containment of one string within another, the collation first
divides the strings into collation units.  If this is done then the
issue you pointed out does not arise.  Please check the description in
the next version of the document and see if it allays your concerns.

All the best, Ashok

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Bas de Bakker
> Sent: Tuesday, June 24, 2003 2:24 AM
> To: public-qt-comments@w3.org
> Subject: F&O 7.4.9 substring-after
> Dear WG,
> The substring-after specification mentions "the first occurrence of a
> string that is equal to the value of $operand2".  However, for some
> collations (e.g., those ignoring combining diacritical marks) there
> could be multiple substrings of $operand1 that start with the same
> character but have different lengths and that are all equal to
> $operand2.  It is not clear which of these substrings is the "first"
> one.  You should specify whether the shortest or the longest such
> substring should be used.
> Regards,
> Bas de Bakker
> X-Hive Corporation
Received on Tuesday, 30 September 2003 17:58:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC