[Bug 28424] New: [XT30] error-3520a raises a different error

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

            Bug ID: 28424
           Summary: [XT30] error-3520a raises a different error
           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

This test contains:

<xsl:template match="x[. = current-merge-key()]"/>

which is an error, but not XTSE3520. Furthermore, it does not reference the
variable. While this is a static error which I think is supposed to be raised
on the declaration of the variable, if it is never referenced, I think there
should be no requirement to raise it.

Proposed fix: remove the matching template and reference the variable to force
the error.

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

Received on Tuesday, 7 April 2015 06:38:19 UTC