[Bug 5671] [FO] Type promotion in fn:min and fn:max

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5671





--- Comment #16 from Michael Dyck <jmdyck@ibiblio.org>  2009-02-24 08:48:48 ---
Those changes are improvements, but I think there's still the problem,
raised in comment #9, of the wording:
    Numeric and xs:anyURI values are converted to the least common type...
The question is: the least common type of what?  I claim that a plausible
answer is:
    the least common type of the numeric and/or xs:anyURI values
    in the input sequence
(i.e., the values identified in the sentence's subject), which leads to
unintended results. In comment #10, you say that your reading is:
    the least common type of all the items in the input sequence
which I say is a non-obvious reading.

Moreover, I believe the wording still indicates that, if you call the
function with a sequence of xs:anyURI values and a collation, the values
are compared using the default collation, not the supplied collation.
I'm still wondering if that's intended.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 24 February 2009 08:48:57 UTC