[XQuery 1.0 and XPath 2.0 Functions and Operators]

SUGGESTION 1:

7.4.7 fn:upper-case and 7.4.8 fn:lower-case
How we can find what language to use? From default collation? It is not
going to be flexible if from default collation.
Possible solution- second optional parameter xml:lang

SUGGESTION 2:

7.5 Functions Based on Substring Matching
The rules are ambiguous if there are ignorable collation units.

example
'-' is ignorable for some collations. substring-before("a-b", "b") returns
"a"
or "a-"?

Matching rules should be more precise and based on
http://www.unicode.org/unicode/reports/tr10/#Searching
(e.g. minimal or maximal.
For all positive i and j, there is
no match at Q[s-i,e+j].)


Igor Hersht
XSLT Development
IBM Canada Ltd., 8200 Warden Avenue, Markham, Ontario L6G 1C7
Office D2-260, Phone (905)413-3240 ; FAX  (905)413-4839

Received on Sunday, 11 January 2004 17:29:10 UTC