[Bug 29914] New: [qt3ts] fn-function-lookup-760

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

            Bug ID: 29914
           Summary: [qt3ts] fn-function-lookup-760
           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: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The test is:

<created by="Tim Mills" on="2016-08-19"/>

    <test>let $module :=
function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions',
'load-xquery-module'),
1)("http://www.w3.org/fots/fn/load-xquery-module/valid/module")
      return
        let $vars := $module("variables"),
         $fns := $module("functions")
        return
          let $var-values := ($vars(QName($module-ns, "var1")),
$vars(QName($module-ns, "var2"))),
           $fns-values := ($fns(QName($module-ns, "func1"))(0)(),
$fns(QName($module-ns, "func2"))(0)())
          return
            ($var-values, $fns-values)
    </test>

It uses a variable $module-ns which has not been declared.

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

Received on Wednesday, 5 October 2016 14:26:27 UTC