[Bug 29573] New: format-dateTime-en151, format-dateTime-en152, format-time-en151, format-time-en152

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29573

            Bug ID: 29573
           Summary: format-dateTime-en151, format-dateTime-en152,
                    format-time-en151, format-time-en152
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In 9.8.4.4. of the XQFO 3.1 spec, it is stated that

"If the fallback representation uses a different calendar from that requested,
the output string must identify the calendar actually used, for example by
prefixing the string with [Calendar: X] (where X is the calendar actually
used), localized as appropriate to the requested language."

and

"If the fallback representation uses a different language from that requested,
the output string must identify the language actually used, for example by
prefixing the string with [Language: Y] (where Y is the language actually used)
localized in an implementation-dependent way."

In the test suite, there are four tests which contain the proposed prefixes
"[Calendar: ...]" and "[Language: ...]":

  <assert-string-value>[Language: en]March</assert-string-value>
  <assert-string-value>[Calendar: AD]03</assert-string-value>

If the prefix representation is supposed to be examplary, it could make sense
to replace the string assertions with something like:

  <not><assert-string-value>March</assert-string-value><not>
  <not><assert-string-value>03</assert-string-value></not>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 13 April 2016 10:42:09 UTC