[Bug 23896] New: How should we treat tests from 2.0 that raised an optional/revoverable dynamic error

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

            Bug ID: 23896
           Summary: How should we treat tests from 2.0 that raised an
                    optional/revoverable dynamic error
           Product: XPath / XQuery / XSLT
           Version: Working 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

A test like output-0177 (it's in _output-test-set.xml, no separate xsl file
with that number) checks the raising of error XTRE1620, which is a recoverable
dynamic error about disable-output-escaping.

The test is written such that the error should always be raised. There are two
issues with this:

1) the test is marked XSLT20+ but the test _always_ expects an error, however,
since it is recoverable, and because the recovery action is to do nothing
(ignore disable-output-escaping), the test succeeds if the output is as
expected, without the error raised. 

2) in XSLT30, this error will probably go away (at the moment of this writing
it is still there, but it will be removed). Until this part is written in the
spec, the test may not be forward compatible (i.e., XSLT20, instead of
XSLT20+).

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

Received on Saturday, 23 November 2013 00:08:52 UTC