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

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

            Bug ID: 29222
           Summary: [XT30] function-1501 tests existing environment
                    variables by checking against the empty string
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The test uses the following to test whether any item from
fn:available-system-variables() exists or not:

  <xsl:if test="environment-variable(.) =''" >
     false
  </xsl:if> 

It is possible to have environment variables that return an empty string. In
fact, the FO30 spec says that if an env variables does not exist, it should
return the empty sequence.

I propose to fix this test by testing for emptiness instead.

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

Received on Thursday, 22 October 2015 03:32:55 UTC