[Bug 17188] [QT3TS] environment-variable-001

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

--- Comment #4 from Tim Mills <tim@cbcl.co.uk> 2012-05-25 14:46:01 UTC ---
In test environment-variable-006

let $all := fn:available-environment-variables()
          return empty($all) or
              ($all = "QTTEST2"
               and (fn:environment-variable("QTTEST2") eq "other")
               and (not("other" eq "42")))

I think you may have forgotten a call to environment-variable, in particular
near,

 "other" eq "42"

!


In fn-available-environment-variables-002, there's a bracket in the wrong
place.

not(fn:empty(fn:function-lookup(
          fn:QName('http://www.w3.org/2005/xpath-functions',
          'available-environment-variables', 0))))

should be

not(fn:empty(fn:function-lookup(
          fn:QName('http://www.w3.org/2005/xpath-functions',
          'available-environment-variables'), 0)))

-- 
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 Friday, 25 May 2012 14:47:22 UTC