[Bug 29222] [XT30] function-1501 tests existing environment variables by checking against the empty string

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
Agreed. I have rewritten the test to read:

<xsl:value-of select="
    every $s in ('user', 'USER', 'shell', 'SHELL', 'path', 'PATH', 'zzz', '',
'%$£*!') satisfies
          if (available-environment-variables() = $s) 
          then exists(environment-variable($s)) 
          else empty(environment-variable($s))"/>

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

Received on Thursday, 22 October 2015 14:21:46 UTC