- From: <bugzilla@jessica.w3.org>
- Date: Fri, 06 Nov 2015 17:57:52 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29267
Bug ID: 29267
Summary: serialize-json-124 assumes serialized map entries are
ordered
Product: XPath / XQuery / XSLT
Version: Proposed Edited Recommendation
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XQuery 3 & XPath 3 Test Suite
Assignee: oneil@saxonica.com
Reporter: josh.spiegel@oracle.com
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
<test-case name="serialize-json-124" covers="fn-serialize json-output">
<description>sparse array</description>
<created by="Debbie Lockett, Saxonica" on="2015-08-20"/>
<dependency type="spec" value="XP31+ XQ31+"/>
<test>let $r := serialize(map{1:"a",2:"b",4:"d",10:"j",7:"g"},
map{'method':'json'}) return
translate($r,' 	

', '')</test>
<result>
<assert-string-value>{"1":"a","2":"b","4":"d","7":"g","10":"j"}</assert-string-value>
</result>
</test-case>
This test incorrectly assumes that map entries are serialized in a particular
order.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 6 November 2015 17:57:56 UTC