[Bug 28586] New: [xslt30ts] static-013 type errors

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

            Bug ID: 28586
           Summary: [xslt30ts] static-013 type errors
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

The stylesheet static-013 used for tests static-013, static-013a, and
static-013b, contains the declaration

   <!-- Static param without select attr, but with an as-clause, implicitly
mandatory-->
   <xsl:param name="static-param" static="yes" as="xs:integer"
select="xs:date('2014-03-03')" />

In fact this does not come within the definition of "implicitly mandatory",
which arises only where the parameter has an implicit default. It is the case
covered by the Note:

The effect of these rules is that specifying <xsl:param name="p" as="xs:date"
select="2"/> is an error, but if the default value of the parameter is never
used, then the processor has discretion whether or not to report the error.

So all three tests should permit an error outcome, and the comments should be
changed because the reference to being "implicitly mandatory" is incorrect.

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

Received on Thursday, 30 April 2015 15:18:40 UTC