W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2012

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 May 2012 14:46:01 +0000
To: public-qt-comments@w3.org
Message-Id: <E1SXvmD-0005BW-Uf@jessica.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:38 UTC