This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20879 - bug in XSLT 2.0 stylesheet used for generating FOTS conformance reports
Summary: bug in XSLT 2.0 stylesheet used for generating FOTS conformance reports
Status: RESOLVED WORKSFORME
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 16:28 UTC by Sorin Nasoi
Modified: 2013-03-20 13:50 UTC (History)
0 users

See Also:


Attachments

Description Sorin Nasoi 2013-02-05 16:28:26 UTC
Using the provided FOTS sample conformance xml and invoking the XSL transformation I ended up with 2 HTML reports that are showing only the dependencies that are met and none of the FOTS test cases data.

Summary HTML looks like this:
[...]
Summarized Results:
Total number of test cases: 0
Total number of implementation reports: 1
Results for Optional Features
Results for New 3.0 Facilities 




And the results_Saxon[...].html only shows the dependencies.


I also used a different FOTS conformance xml that is valid according to the provided 2011/QT3-test-suite/ReportingResults/results.xsd and the HTML reports were the same: only the dependencies were shown.
Comment 1 O'Neil Delpratt 2013-03-20 12:15:16 UTC
This bug I believe has been resolved with guidance in private discussions. 

In summary there are a number of prerequisites:

* Results file must exist in the directory 'result-submission' (one level up from the catalog.xml file)

* The name of the results file must begin with the name 'results'. See line 38 in the stylesheet. i.e.:
<xsl:param name="resultsDocs" select="collection('../../result-submissions/?select=results*.xml')"/>

* the catalog.xml file is the source document.
Comment 2 Sorin Nasoi 2013-03-20 13:50:27 UTC
(In reply to comment #1)
> This bug I believe has been resolved with guidance in private discussions.
Indeed: thanks for the help.
 

> In summary there are a number of prerequisites:
> 
> * Results file must exist in the directory 'result-submission' (one level up
> from the catalog.xml file)
Results file must exist in the directory 'result-submissions' (two levels up
from the catalog.xml file)

> * The name of the results file must begin with the name 'results'. See line
> 38 in the stylesheet. i.e.:
> <xsl:param name="resultsDocs"
> select="collection('../../result-submissions/?select=results*.xml')"/>
> 
> * the catalog.xml file is the source document.

And I would add that the result of the XSL transformation has to be named 'report.html' and has to be put inside 'ReportingResults' folder.