<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>30077</bug_id>
          
          <creation_ts>2017-03-19 19:30:37 +0000</creation_ts>
          <short_desc>Results for xml-to-json-065 and -066 need updating to reflect bug #29917</short_desc>
          <delta_ts>2017-04-05 09:54:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>josh.spiegel</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>128491</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-03-19 19:30:37 +0000</bug_when>
    <thetext>Bug #29917 allows the outermost element of a tree supplied to fn:xml-to-json to have an escaped or escaped-key attribute (which is ignored).

This means that test cases xml-to-json-065 and -066 are no longer error cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128492</commentid>
    <comment_count>1</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2017-03-20 13:47:55 +0000</bug_when>
    <thetext>I think you mean 064 and 065?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128493</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-03-20 15:37:47 +0000</bug_when>
    <thetext>Yes, sorry, -064 and -065.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128521</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-04-05 09:43:13 +0000</bug_when>
    <thetext>Test case -065 reveals a minor issue with the spec. The schema does not allow a `&lt;map&gt;` element to have an `escaped` attribute. However, the rules are written to say that the input must either

1. conform to the schema, or

2. conform to the schema after removing any `escaped` or `escaped-key` attribute at the top level.

So although it doesn&apos;t make much sense, the spec seems unambiguous that this test case is allowed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128522</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-04-05 09:54:25 +0000</bug_when>
    <thetext>The same problem applies to test case xml-to-json-C-016.

All three tests have been changed to expect success results.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>