This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29888 - [QT3TS] json-to-xml-049
Summary: [QT3TS] json-to-xml-049
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-30 08:31 UTC by Tim Mills
Modified: 2016-09-30 11:30 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-09-30 08:31:48 UTC
Following the resolution of Bug 29872, the expected result of json-to-xml-049 needs to be updated to retain \u0020.
 
 
   <test-case name="json-to-xml-049">
      <description>Special characters, with escape=true</description>
      <created by="Debbie Lockett" on="2015-08-10"/>
      <modified by="Michael Kay" on="2016-08-30" change="spec change, solidus is now escaped"/>
      <test>json-to-xml('"\\\/\"\r\t\u0020"', map {'escape':true()})</test>
      <result>
         <assert-xml ignore-prefixes="true"><![CDATA[<string xmlns="http://www.w3.org/2005/xpath-functions" escaped="true">\\\/"\r\t&#032;</string>]]></assert-xml>
      </result>
   </test-case>
Comment 1 Michael Kay 2016-09-30 09:05:29 UTC
Thanks, yes, I've been working my way through the affected tests but hadn't got around to committing the changes yet because I'm still failing one or two. Will commit now.
Comment 2 Tim Mills 2016-09-30 11:30:08 UTC
Thanks.  I think json-doc-012, 021 and 042 are similarly affected.