W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2011

[Bug 14995] [FO30] context dependence

From: <bugzilla@jessica.w3.org>
Date: Tue, 29 Nov 2011 18:26:45 +0000
To: public-qt-comments@w3.org
Message-Id: <E1RVSOD-0006JW-Vx@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14995

--- Comment #1 from Michael Kay <mike@saxonica.com> 2011-11-29 18:26:45 UTC ---
For format-date() etc I think it is correct, but for reasons that are difficult
to defend. 

In hte case of format-date(), etc, the two-argument forms of these functions
depend on the default language, calendar, etc, but this dependency is described
in the spec as "implementation-defined" behaviour rather than
"context-dependent" behaviour. If we made default language and calendar
properties of the dynamic context, then the functions would become
context-dependent. Which would have the unfortunate consequence that you
wouldn't be able to partially apply them.

For fn:serialize(), I think the spec appears to be wrong: I can't see any
reason why the single-argument function is described as context-dependent
(though of course the result is in many ways implementation-dependent...)

-- 
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, 29 November 2011 18:26:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:37 UTC