RE: F&O 7.4.9 substring-after

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