[Bug 20663] New: [QT3TS] format-integer-063

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

            Bug ID: 20663
           Summary: [QT3TS] format-integer-063
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

This test expects an error:

    <test-case name="format-integer-063">
        <description>Third argument as a string not in the form of a language
code</description>
        <created by="Michael Kay, Saxonica" on="2012-12-07"/>
        <environment ref="empty"/>
        <test>format-integer(11, 'Ww', '@*!+%')</test>
        <result>
            <error code="FODF1310"/>
        </result>    
    </test-case>

but according to http://www.w3.org/TR/xpath-functions-30/#func-format-integer

"If the $lang argument is absent, or is set to an empty sequence, or is
invalid, or is not a language supported by the implementation, then the number
is formatted using the default language from the dynamic context."

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

Received on Monday, 14 January 2013 14:14:12 UTC