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

[Bug 20102] New: [XT3TS] backwards-039

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Nov 2012 17:19:48 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20102-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 20102
           Summary: [XT3TS] backwards-039
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

Are the expected results for this test correct?

The keys are:

 <xsl:key name="k" match="item" use="."/> (from XSLT 1.0 stylesheet)
 <xsl:key name="k" match="item" use="number(.)"/> (from XSLT 2.0 stylesheet)

The input number is:


Both will use backwards-compatbility behaviour, due to one key being from an
XSLT 1.0 stylesheet.

key('k', 1.0) will return:

 <item>1.00</item> because number(<item>1.00</item>) cast as string = 
                           number(1.0) cast as string


  <item>1</item>  because number(<item>1</item>) cast as string = 
                           number(1.0) cast as string

Have I missed something?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 November 2012 17:19:51 UTC

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