W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2016

[Bug 29448] New: [XT30] accept-007 tries to override a final component but does not expect an error

From: <bugzilla@jessica.w3.org>
Date: Thu, 11 Feb 2016 13:04:41 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29448-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29448

            Bug ID: 29448
           Summary: [XT30] accept-007 tries to override a final component
                    but does not expect an 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
  Target Milestone: ---

This test uses accept-A.xsl which has :

<xsl:expose component="variable" names="p:*" visibility="final"/>

since there are no more specific xsl:expose declarations, this makes variable
p:v2 final. In the using package we have:

    <xsl:override>
      <xsl:variable name="p:v2" select="23"/>
    </xsl:override> 

this is not allowed and should throw XTSE3060

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 11 February 2016 13:04:44 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 11 February 2016 13:04:45 UTC