[Bug 29821] New: [qt3ts] Test case UseCaseR31-027

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

            Bug ID: 29821
           Summary: [qt3ts] Test case UseCaseR31-027
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

This test uses an implicitly declared parameter:

<param name="sales-collection-uri" as="xs:string"
select="'http://www.w3.org/2010/09/qt-fots-catalog/sales-json'"
declared="false"/>

But the query starts with a namespace declaration, so it is not easy for a test
driver to insert an external variable declaration into the text of the query at
a suitable point.

The test catalog schema (but not the user guide) documents a mechanism to cope
with this: it says the string (:VARDECL:) can be placed in the query at the
point where the external variable is to be declared. But there are no tests
that actually use this mechanism and there are probably many test drivers that
don't recognize it. It would be much easier since this is an XQuery-only test
to simply add the external variable declaration to the query, and change the
parameter to say declared="true".

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

Received on Tuesday, 13 September 2016 23:12:16 UTC