W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Sun, 15 Mar 2009 01:59:56 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Lifds-0000hh-Vo@wiggum.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:56 GMT