- From: <bugzilla@jessica.w3.org>
- Date: Mon, 14 Nov 2011 16:52:16 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14826
Summary: [F030] format-integer language argument
Product: XPath / XQuery / XSLT
Version: Member-only Editors Drafts
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators 3.0
AssignedTo: mike@saxonica.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
The following formatting functions all accept the empty sequence for the
$language argument.
fn:format-dateTime($value as xs:dateTime?, $picture as xs:string, $language
as xs:string?, $calendar as xs:string?, $place as xs:string?) as xs:string?
fn:format-date($value as xs:date?, $picture as xs:string, $language as
xs:string?, $calendar as xs:string?, $place as xs:string?) as xs:string?
fn:format-time($value as xs:time?, $picture as xs:string, $language as
xs:string?, $calendar as xs:string?, $place as xs:string?) as xs:string?
and have consistent handling of the $language argument.
However fn:format-integer does not permit the empty sequence and has
inconsistent handling of invalid values.
fn:format-integer($value as xs:integer?, $picture as xs:string, $language
as xs:string) as xs:string
Could this not be made consistent with the other formatting functions, so that
1. a call to the two-argument function is equivalent to a call to the
three-argument version with the third argument set to the empty sequence.
2. If the $language argument is omitted or is set to an empty sequence, or if
it is set to an invalid value or a value that the implementation does not
recognize, then the processor uses an ·implementation-defined· language.
3. FOFI0001 is no longer required.
--
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 Monday, 14 November 2011 16:52:23 UTC