[Bug 30079] New: contextDecl-058 should not apply to XQuery 3.0

https://www.w3.org/Bugs/Public/show_bug.cgi?id=30079

            Bug ID: 30079
           Summary: contextDecl-058 should not apply to XQuery 3.0
           Product: XPath / XQuery / XSLT
           Version: Candidate 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: ---

contextDecl-058 has the dependency XQ30+ but I think it should be XQ31+. 
Normally I would fix this without a bug but the modified comment indicates this
was intended:

 "applies to XQ30+, not just XQ31"

The test uses arrays.

<test-case name="contextDecl-058"
xmlns="http://www.w3.org/2010/09/qt-fots-catalog">
    <description>Two modules constrain the context item type, and the types
overlap</description>
    <created by="Michael Kay" on="2016-12-31"/>
    <modified by="Michael Kay" on="2017-03-20" change="applies to XQ30+, not
just XQ31"/>
    <environment>
      <context-item select="[&apos;blue&apos;, &apos;green&apos;]"/>
    </environment>
    <dependency type="spec" value="XQ30+"/>
    <module uri="http://www.w3.org/TestModules/libmodule5"
file="ContextItemDecl/libmodule-5.xq"/>
    <test><![CDATA[
      import module namespace m="http://www.w3.org/TestModules/libmodule5";
      declare context item as array(xs:string) external;
      $m:v eq 'green'
    ]]></test>
    <result>
      <assert-true/>
    </result>
  </test-case>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 24 March 2017 13:12:52 UTC