[Bug 29942] New: [QT3TS] fn-transform-2, 26, 27

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

            Bug ID: 29942
           Summary: [QT3TS] fn-transform-2, 26, 27
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Test case fn-transform-2 should not be dependent on XSLT 3.0, as it makes no
use of XSLT 3.0 features.  It works with an XSLT 2.0 processor as soon as the
member

"xslt-version":3.0,

is removed from the options map.

fn-transform-26 has suspicious assertions.  The test produces a boolean value,
but the assertions

<any-of>
  <assert>true()</assert>  <!-- caching seems to have taken place -->
  <assert>false()</assert> <!-- caching seems not to have taken place -->
 </any-of>

do not depend on the result of the query.  I presume it should have been

<any-of>
  <assert-true />  <!-- caching seems to have taken place -->
  <assert-false /> <!-- caching seems not to have taken place -->
 </any-of>

fn-transform-27 is similarly odd.  The test returns a string, but the assertion
is:

        <result>
            <assert>true()</assert>
        </result>

which should always succeed regardless of the outcome of evaluation.

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

Received on Tuesday, 18 October 2016 10:43:43 UTC