- From: <bugzilla@jessica.w3.org>
- Date: Tue, 27 Nov 2012 17:19:48 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20102 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: <content> <data> <item>1.00</item> <item>2.00</item> <item>1</item> <item>2</item> </data> </content> 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 and <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