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

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





--- Comment #17 from Michael Dyck <jmdyck@ibiblio.org>  2009-03-15 01:59:56 ---
Here is a specific proposal to resolve the remaining concerns expressed in
the previous comment.

In the second bullet, change
    * Numeric and xs:anyURI values ...
to just
    * Numeric values ...

and instead, handle xs:anyURI values in a new (second) bullet:
    * Values of type xs:anyURI are promoted to xs:string.

With that, I believe the question of "the least common type of what?"
becomes moot. (That is, you get the same result whether you think it means
"the least common type of the numeric values" or "the least common type
of all values".)

Also, it ensures that xs:anyURI values in the input sequence will
(due to their promotion to xs:string) be subject to the paragraph re
collation-aware comparisons. (I assume that's what we 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 Sunday, 15 March 2009 02:00:07 UTC