[Bug 29997] New: [QT3TS] many fn-transform tests could work in XPath?

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

            Bug ID: 29997
           Summary: [QT3TS] many fn-transform tests could work in XPath?
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: jmdyck@ibiblio.org
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

(Follow-up to Bug 29993)

In fn/transform.xml, many test-cases are marked
    <dependency type="spec" value="XQ31+"/>
which excludes them from consideration by XPath processors.

Formerly, this was necessary because their test-queries used XQuery-specific
syntax.

However, after changes to the file from Michael Kay and myself (under bug
29993), almost all of their test-queries are now syntactically valid XPath
expressions. Is there any other reason to retain the exclusion?

Specifically, ...

For these, the test-query is syntactically valid XPath:
    fn-transform-6
    fn-transform-7
    fn-transform-9
    fn-transform-10
    fn-transform-11
    fn-transform-12
    fn-transform-13
    fn-transform-13a
    fn-transform-18
    fn-transform-22
    fn-transform-33
    fn-transform-37
    fn-transform-44
    fn-transform-48
    fn-transform-50
    fn-transform-51
    fn-transform-52
    fn-transform-53
    fn-transform-54
    fn-transform-55
    fn-transform-56
    fn-transform-57
    fn-transform-58
    fn-transform-60
    fn-transform-61
    fn-transform-62
    fn-transform-63
    fn-transform-err-2
    fn-transform-err-3
    fn-transform-err-4
    fn-transform-err-5
    fn-transform-err-6
    fn-transform-err-9
    fn-transform-err-9a
    fn-transform-err-15
    fn-transform-err-16
    fn-transform-902

For these, I think the test-query could be easily tweaked to use XPath syntax:
    fn-transform-26
    fn-transform-27
    fn-transform-32
    fn-transform-64

The only two that are not so easy are:
    fn-transform-2
        due to use of "element {...}"

    fn-transform-19
        due to use of "declare base-uri"

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

Received on Thursday, 10 November 2016 23:28:34 UTC