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


            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