[Bug 14995] [FO30] context dependence

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