<?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>29258</bug_id>
          
          <creation_ts>2015-11-03 16:38:01 +0000</creation_ts>
          <short_desc>[QT3TS] omitted Expr in EnclosedExpr</short_desc>
          <delta_ts>2016-03-09 22:54:17 +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>All</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 Dyck">jmdyck</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>christian.gruen</cc>
    
    <cc>josh.spiegel</cc>
    
    <cc>mike</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>124061</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2015-11-03 16:38:01 +0000</bug_when>
    <thetext>In the resolution of Bug 29185, XQuery 3.1 has changed {Expr} to {Expr?} at various points in the grammar. So a few tests that were illegal in older versions are legal in XQuery 3.1. Consequently, the following tests should be split into 3.1 and pre-3.1 versions, with different expectations:

     prod/CompCommentConstructor.xml#K2-ComputeConComment-4
     prod/CompTextConstructor.xml#K2-ConText-5
     prod/UnorderedExpr.xml#K-OrderExpr-1
     prod/UnorderedExpr.xml#K-OrderExpr-2
     misc/CombinedErrorCodes.xml#K-CombinedErrorCodes-13
     misc/CombinedErrorCodes.xml#K-CombinedErrorCodes-14
     misc/CombinedErrorCodes.xml#K-CombinedErrorCodes-15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124123</commentid>
    <comment_count>1</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2015-11-06 17:52:38 +0000</bug_when>
    <thetext>
Also this one:
prod/DirElemContent.xml#K2-DirectConElemContent-26</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124125</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2015-11-06 21:57:12 +0000</bug_when>
    <thetext>(In reply to Josh Spiegel from comment #1)
&gt; Also this one:
&gt; prod/DirElemContent.xml#K2-DirectConElemContent-26

No, K2-DirectConElemContent-26 is only for XQ10 and XQ30.
The XQ31+ version is K2-DirectConElemContent-26a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124126</commentid>
    <comment_count>3</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2015-11-06 22:36:26 +0000</bug_when>
    <thetext>Yes, you are right. I was looking at the github mirror (https://github.com/LeoWoerteler/QT3TS) which appears to have stopped updating back in October.  This test was fixed recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124336</commentid>
    <comment_count>4</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-12-02 10:33:04 +0000</bug_when>
    <thetext>(In reply to Josh Spiegel from comment #3)
&gt; Yes, you are right. I was looking at the github mirror
&gt; (https://github.com/LeoWoerteler/QT3TS) which appears to have stopped
&gt; updating back in October.

Thanks for the reminder. Since today, the mirror is updated again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124347</commentid>
    <comment_count>5</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2015-12-02 17:24:26 +0000</bug_when>
    <thetext>Thanks! I have found it very useful when searching for tests and looking at change history.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124435</commentid>
    <comment_count>6</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2015-12-15 16:01:02 +0000</bug_when>
    <thetext>I have added new test case which are variants of the ones suggested in comment #0. Committed to cvs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125419</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-03-09 22:54:17 +0000</bug_when>
    <thetext>I have corrected the expected results of

prod/CompCommentConstructor.xml#K2-ComputeConComment-4

(It should produce a comment with zero-length content. For some reason text{} produces an empty sequence but comment{} produces a zero-length comment node.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>