[Bug 15691] New: [QT3] extvardef-011

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

           Summary: [QT3] extvardef-011
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


This test references variable $b, which is not defined.  The test should expect
XPST0008.  I'm guessing the test was meant be:

        declare variable $a := $x;
        declare variable $x external := $a + $x;
        $x


   <test-case name="extvardef-011">
     <description>Cycles are forbidden. </description>
      <created by="David Graf" on="2011-12-02"/>
      <dependency type="spec" value="XQ30+"/>
      <test><![CDATA[
        declare variable $a := $x;
        declare variable $x external := $a + $b;
        $x
      ]]></test>
      <result>
         <error code="XQST0054"/>
      </result>
   </test-case>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 24 January 2012 14:22:53 UTC