[Bug 28526] New: [XSLT30] (editorial) Unclear choice between XTSE0010 and XTSE0260

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

            Bug ID: 28526
           Summary: [XSLT30] (editorial) Unclear choice between XTSE0010
                    and XTSE0260
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

XTSE0260 should be raised if an xslt element is required to be empty, and
XTSE0010 if any of its required attributes are wrong, or its content is
incorrect.

In the case of:

<xsl:param name="x" required="yes">
    Fail with XTSE0260 | XTSE0010
</xsl:param>

the content MUST BE (is required to be) empty, so we use XTSE0260. But one
could also argue that the content is incorrect to its semantics (Saxon raises
XTSE0010, Exselt XTSE0260).

My guess would be: XTSE0260 is the correct error here.

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

Received on Tuesday, 21 April 2015 11:55:32 UTC