Guidelines for Submitting XML Query Test Suite Results


Having downloaded the XML Query Test Suite (XQTS), constructed your test harness, and executed the test cases, we ask that you send us your results. As we will be generating reports from all of the results that are submitted, we ask that you send us your results in an XML document with a very specific format.

The XML Result Document

We have included several documents in the XQTS zip file that you downloaded:


We ask that the document that you send us begin with a test-suite-result element and validate using the schema defined by XQTSResult.xsd. We have provided a sample result file for you to look at, XQTSSampleResult.xml. This document has the following structure:

<?xml version="1.0" encoding="UTF-8"?>

   <implementation ...>
      <organization ... />
      <submittor ... />
      <description> ... </description>
      <implementation-defined-items> ... </implementation-defined-items>
      <features> ... </features>
      <context-properties> ... </context-properties>

   <test-run ... >
      <transformation> ... </transformation>
      <comparison> ... </comparison>
      <otherComments> ... </otherComments>

   <test-case ... />


Information about your Implementation

You can provide information about your implementation using the implementation element. You can tell us about your organization and who is submitting these results.

The implementation element also allows you to tell us which features of XQuery your implementation supports, the values of implementation-defined items, and whether you have augmented or overwritten properties in the static and dynamic context. The names of all of these items are provided in the feature, implementation-defined-item, and context-property elements of XQTSCatalog.xml, respectively.

You might wish information about the results you submit to be anonymous. If you set the anonymous-result-column attribute to 'true', then the column that contains your results will have the heading 'Anonymous'. If the anonymous attribute in the organization element is set to 'true', then the reports that we generate will not contain any header information that identifies your implementation.

Information about running XQTS

You may provide information about how you transformed the queries and how you compared your results with the expected results in the test-run element. These elements, along with the otherComments element, allow you to provide free text within one or more p elements.

Results for each Test Case

For each test case in XQTSCatalog.xml, you should report your result in a test-case element. Results can be pass, fail, not applicable, not tested, or cannot tell. You can provide a comment with each result, if you desire. This looks something like the following:

<test-case name="Axes001-1" result='pass' />
<test-case name="Axes001-2" result='fail' />
<test-case name="Axes001-3" result='not tested' comment='This was hard.' />

Generating Your Own Report

We have provided the XQTSResults.xsl style sheet, so that you can generate your own report from the XML result document that you have produced. We have provided the Build.xml Ant script that invokes the transformation for you. The Results.xml document contains a result element for each test result that is to be included in the report. The result element contains the URL of the XML document that contains the test results. XQTSReport.html and XQTSReportSimple.html were produced from the sample report document that we provided.

Webmaster Last modified: $Date: 2005/08/11 17:10:51 $ by $Author: aeisenbe2 $

Copyright 1994-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.