--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOM3EventsCatalog.xml Sat Sep 27 05:29:16 2008 +0900
@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="DOM3EventsCatalog.xsl" ?>
+<test-suite xmlns="http://www.w3.org/2008/03/DOM3Events">
+ <test-suite-info>
+ <title>DOM3 Events Test Suite 0.1.0</title>
+ <description>
+ Test Suite for DOM Level 3 Events 0.1.0.
+ </description>
+ </test-suite-info>
+
+ <citations>
+ <citation-spec name="DOM3Events">
+ <description last-mod="2008-03-07">DOM Level 3 Events</description>
+ <spec-URI>http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html/</spec-URI>
+ </citation-spec>
+ </citations>
+
+ <sources>
+ <source ID="DOM3EventsCatalog" FileName="DOM3EventsCatalog.xml" Creator="WEB API Working Group" schema="DOM3EventsCatalogxsd">
+ <description last-mod="2008-03-07">DOM 3 Events Catalog</description>
+ </source>
+ <source ID="emptydoc" FileName="TestSources/emptydoc.xml" Creator="David Marston">
+ <description last-mod="2003-03-25">Contains just a "doc" element, no comments/text/PIs.</description>
+ </source>
+ <schema ID="DOM3EventsCatalogxsd" uri="http://www.w3.org/2008/03/DOM3Events" FileName="DOM3EventsCatalog.xsd">
+ <description last-mod="2008-03-07">Schema for DOM 3 Events Catalog</description>
+ </schema>
+ <style ID="DOM3stylescss" FileName="DOM3Styles.css" Creator = "Carmelo Montanez">
+ <description last-mod="2008-03-07">NIST Styelesheet for DOM 3 Tests Styling</description>
+ </style>
+ </sources>
+ <test-group name="level3Events">
+ <GroupInfo>
+ <title>DOM Level 3 Tests</title>
+ <description/>
+ </GroupInfo>
+ <test-group name="HTMLTests">
+ <GroupInfo>
+ <title>DOM Level 3 Events HTML Tests</title>
+ <description/>
+ </GroupInfo>
+ <test-group name="ClickEvent">
+ <GroupInfo>
+ <title>click Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_click_001.html" FilePath="click\NIST_click_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated click event on a table element. value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-eventsgrouping-mouse"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_click_002.html" FilePath="click\NIST_click_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated click event on a table element. value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-eventsgrouping-mouse"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="WheelEvent">
+ <GroupInfo>
+ <title>Wheel Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_wheel_001.html" FilePath="wheel\NIST_wheel_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated wheel event on a table element. value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Wheel Event Types" section-pointer="#events-Events-eventsgrouping-mouse"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_wheel_002.html" FilePath="wheel\NIST_wheel_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated wheel event on a table element. value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Wheel Event Types" section-pointer="#events-Events-eventsgrouping-mouse"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseWheelEvent">
+ <GroupInfo>
+ <title>mousewheel Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mousewheel_001.html" FilePath="mousewheel\NIST_mousewheel_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouse wheel event on a table element. value of wheelDelta set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.5" section-title="Mouse Wheel Event Types" section-pointer="#events-Events-eventsgrouping-mousewheelevents"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mousewheel_002.html" FilePath="mousewheel\NIST_mousewheel_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouse wheel event on a table element. Value of wheelDelta set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.5" section-title="Mouse Wheel Event Types" section-pointer="#events-Events-eventsgrouping-mousewheelevents"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="KeyDown Event">
+ <GroupInfo>
+ <title>keydown Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_keydown_001.html" FilePath="keydown\NIST_keydown_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated keydown event on a table element. value of keyIdentifierArg set to "Alt".</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_keydown_002.html" FilePath="keydown\NIST_keydown_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated keydown event on a table element. Value of keyIdentifierArg set to "Control".</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="Keyup Event">
+ <GroupInfo>
+ <title>keyup Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_keyup_001.html" FilePath="keyup\NIST_keyup_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated keyup event on a table element. Value of keyIdentifierArg set to "Alt".</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_keyup_002.html" FilePath="keyup\NIST_keyup_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated keyup event on a table element. Value of keyIdentifierArg set to "Control".</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseDownEvent">
+ <GroupInfo>
+ <title>mousedown Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mousedown_001.html" FilePath="mousedown\NIST_mousedown_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mousedown event on a table element. Value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-MouseEvent"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mousedown_002.html" FilePath="mousedown\NIST_mousedown_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mousedown event on a table element. Value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseMoveEvent">
+ <GroupInfo>
+ <title>mousemove Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mousemove_001.html" FilePath="mousemove\NIST_mousemove_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mousemove event on a table element. Value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-MouseEvent"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mousemove_002.html" FilePath="mousemove\NIST_mousemove_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mousemove event on a table element. Value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseOutEvent">
+ <GroupInfo>
+ <title>mouseout Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mouseout_001.html" FilePath="mouseout\NIST_mouseout_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseout event on a table element. Value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-MouseEvent"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mouseout_002.html" FilePath="mouseout\NIST_mouseout_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseout event on a table element. Value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseOverEvent">
+ <GroupInfo>
+ <title>mouseover Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mouseover_001.html" FilePath="mouseover\NIST_mouseover_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseover event on a table element. Value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-MouseEvent"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mouseover_002.html" FilePath="mouseover\NIST_mouseover_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseover event on a table element. Value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ <test-group name="MouseUpEvent">
+ <GroupInfo>
+ <title>mouseup Events related to HTML</title>
+ <description/>
+ </GroupInfo>
+ <test-case name="NIST_mouseup_001.html" FilePath="mouseup\NIST_mouseup_001.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseup event on a table element. Value of screenXArg set to 5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.4" section-title="Mouse Event Types" section-pointer="#events-Events-MouseEvent"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ <test-case name="NIST_mouseup_002.html" FilePath="mouseup\NIST_mouseup_002.html" date="2008-08-20" Creator="Carmelo Montanez" Manual="False">
+ <description>test of a simulated mouseup event on a table element. Value of screenXArg set to -5.</description>
+ <spec-citation spec="DOM3Events" section-number="1.7.3" section-title="Keyboard Event Types" section-pointer="#events-Events-keyboardEvents-interfaces"/>
+ <spec-citation spec="DOM3Events" section-number="1.5.1" section-title="Complete list of event types" section-pointer="#events-Events-EventTypes-complete"/>
+ <state status="submitted"/>
+ <input-file>emptydoc</input-file>
+ </test-case>
+ </test-group>
+ </test-group>
+ </test-group>
+ </test-suite>
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/DOM3EventsCatalog.xsl Sat Sep 27 05:29:16 2008 +0900
@@ -0,0 +1,357 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:test="http://www.w3.org/2008/03/DOM3Events">
+ <xsl:key name="citation-spec" match="/test-suite/citations/citation-spec" use="@name"/>
+
+ <xsl:variable name="TargetLanguage" select="/test:test-suite/@targetLanguage" />
+ <xsl:variable name="SourceOffsetPath" select="/test:test-suite/@SourceOffsetPath" />
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>DOM Level 3 Events Interoperability Test Suite</title>
+ <LINK rel="stylesheet" type="text/css" href="DOM3StylesCatalog.css"/>
+ </head>
+ <body>
+ <xsl:if test="test:test-suite/@targetLanguage">
+ <h1><xsl:value-of select="test:test-suite/@targetLanguage" /> Interoperability Test Suite</h1>
+ </xsl:if>
+ <xsl:if test="not( test:test-suite/@targetLanguage )">
+ <h1>DOM 3 Events Interoperability Test Suite</h1>
+ </xsl:if>
+ <h6>[Version: <xsl:value-of select="test:test-suite/@version" /> Catalog Design Date: <xsl:value-of select="test:test-suite/@CatalogDesignDate" />]</h6>
+ <h2>Introduction</h2>
+ <P>
+ The following document is an XSLT transform of the WEB API Working Group test catalog for the DOM 3 Events Test Suite. The test
+ catalog is an XML file containing meta-data about the DOM 3 Events interoperability
+ tests published by the WEB API Working Group. The meta-data serves to link test cases with
+ their required input sources and results as well as providing further
+ information about the tests (e.g. who the author was, what the purpose of the
+ test is) and categorizing the various tests into their relevant sections. For
+ further information and details about this catalog file, please visit the WEB API
+ wiki homepage at <A HREF="http://www.w3.org/2008/webapps/wiki/D3E_Test_Suite">http://www.w3.org/2008/webapps/wiki/D3E_Test_Suite</A>.
+ </P>
+ <h2>Citations</h2>
+ <table class = "tb1">
+ <tr clas = "tr1">
+ <th>Name</th>
+ <th>Description</th>
+ <th>Note</th>
+ </tr>
+ <xsl:apply-templates select="test:test-suite/test:citations/test:citation-spec" />
+ </table>
+ <h2>Sources</h2>
+ <table class = "tb1">
+ <tr class = "tr1">
+ <th>ID</th>
+ <th>Creator</th>
+ <th>Schema</th>
+ <th>File</th>
+ <th>Description</th>
+ </tr>
+ <xsl:for-each select="test:test-suite/test:sources/test:source">
+ <tr class="tr1">
+ <td class = "tc1">
+ <A>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@ID"/>
+ </xsl:attribute>
+ <b>
+ <xsl:value-of select="@ID"/>
+ </b>
+ </A>
+ </td>
+ <td class = "tc1">
+ <xsl:value-of select="@Creator"/>
+ </td>
+ <td class="tc1">
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@schema"/></xsl:attribute>
+ <xsl:value-of select="@schema"/>
+ </A>
+ </td>
+ <td>
+ <A>
+ <xsl:attribute name="href">
+ <xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/></xsl:attribute>
+ <xsl:value-of select="@FileName"/>
+ </A>
+ </td>
+ <td class = "tc1">
+ <xsl:value-of select="test:description"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <h2>Schemas</h2>
+ <table class="tb1">
+ <tr class = "tr1">
+ <th>ID</th>
+ <th>Type</th>
+ <th>URI</th>
+ <th>File Name</th>
+ </tr>
+ <xsl:for-each select="test:test-suite/test:sources/test:schema">
+ <tr class="tr1">
+ <td>
+ <A>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@ID"/>
+ </xsl:attribute>
+ <b>
+ <xsl:value-of select="@ID"/>
+ </b>
+ </A>
+ </td>
+ <td>
+ <xsl:value-of select="@Type"/>
+ </td>
+ <td>
+ <A>
+ <xsl:attribute name="href"><xsl:value-of select="@URI"/></xsl:attribute>
+ <xsl:value-of select="@URI"/>
+ </A>
+ </td>
+ <td>
+ <A>
+ <xsl:attribute name="href"><xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/></xsl:attribute>
+ <xsl:value-of select="@FileName"/>
+ </A>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <h2>Styles</h2>
+ <table class= "tb1">
+ <tr class = "tr1">
+ <th>ID</th>
+ <th>File Name</th>
+ </tr>
+ <xsl:for-each select="test:test-suite/test:sources/test:style">
+ <tr class="tr1">
+ <td>
+ <A>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@ID"/>
+ </xsl:attribute>
+ <b>
+ <xsl:value-of select="@ID"/>
+ </b>
+ </A>
+ </td>
+ <td>
+ <A>
+ <xsl:attribute name="href"><xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/></xsl:attribute>
+ <xsl:value-of select="@FileName"/>
+ </A>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <h2>Test Groups</h2>
+ <ul>
+ <xsl:for-each select="test:test-suite/test:test-group">
+ <li>
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:number level="multiple" format="1.1" count="test:test-group"/> <xsl:value-of select="test:GroupInfo/test:title"/></A>
+ <xsl:if test="@featureOwner">
+  [<xsl:value-of select="@featureOwner" />]
+ </xsl:if>
+ <xsl:if test="test:test-group">
+ <ul>
+ <xsl:for-each select="test:test-group">
+ <li>
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:number level="multiple" format="1.1" count="test:test-group"/> <xsl:value-of select="test:GroupInfo/test:title"/></A>
+ <xsl:if test="@featureOwner">
+  [<xsl:value-of select="@featureOwner" />]
+ </xsl:if>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </xsl:if>
+ </li>
+ </xsl:for-each>
+ </ul>
+ <xsl:apply-templates select="test:test-suite/test:test-group" />
+ </body>
+ </html>
+ </xsl:template>
+ <xsl:template match="test:test-group">
+ <A>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ </A>
+ <h3>
+ <xsl:number level="multiple" format="1.1" count="test:test-group"/> <xsl:value-of select="test:GroupInfo/test:title" />
+ <xsl:if test="@featureOwner">
+  [<xsl:value-of select="@featureOwner" />]
+ </xsl:if>
+ </h3>
+ <p/>
+ <xsl:value-of select="test:GroupInfo/test:description" />
+ <p/>
+ <ul>
+ <xsl:for-each select="test:test-group">
+ <li>
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:number level="multiple" format="1.1" count="test:test-group"/> <xsl:value-of select="test:GroupInfo/test:title"/></A>
+ <xsl:if test="@featureOwner">
+  [<xsl:value-of select="@featureOwner" />]
+ </xsl:if>
+ <xsl:if test="test:test-group">
+ <ul>
+ <xsl:for-each select="test:test-group">
+ <li>
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:number level="multiple" format="1.1" count="test:test-group"/> <xsl:value-of select="test:GroupInfo/test:title"/></A>
+ <xsl:if test="@featureOwner">
+  [<xsl:value-of select="@featureOwner" />]
+ </xsl:if>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </xsl:if>
+ </li>
+ </xsl:for-each>
+ </ul>
+ <xsl:apply-templates select="test:test-case" />
+ <xsl:apply-templates select="test:test-group" />
+ </xsl:template>
+
+ <xsl:template match="test:test-case">
+ <xsl:variable name = "FilePath" select = "@FilePath"/>
+ <table width="80%" bgcolor="tan">
+ <tr>
+ <td>
+ <b>
+ <A>
+ <xsl:attribute name="href">
+ <xsl:value-of select="concat($SourceOffsetPath,@FilePath,@name)"/>
+ </xsl:attribute>
+ <xsl:value-of select="@name"/>
+ </A>
+ </b>
+ </td>
+ <td>
+ Date:
+ <xsl:value-of select="@date"/>
+ </td>
+ <td>
+ Creator:
+ <xsl:value-of select="@Creator"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <B>Description:</B>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <xsl:value-of select="test:description"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <xsl:value-of select="test:query/test:description"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <B>Spec Citations:</B>
+ </td>
+ </tr>
+ <xsl:for-each select="test:spec-citation">
+ <xsl:variable name="spec-URI" select="key( 'citation-spec', @spec )/test:spec-URI" />
+ <tr>
+ <td colspan="3">
+ <A>
+ <xsl:attribute name="href">
+ <xsl:value-of select="$spec-URI"/><xsl:value-of select="@section-pointer"/>
+ </xsl:attribute>
+ <xsl:value-of select="$spec-URI"/><xsl:value-of select="@section-pointer"/>
+ </A>
+ </td>
+ </tr>
+ </xsl:for-each>
+
+ <xsl:if test="test:state">
+ <tr>
+ <td>
+ <B>Status:</B>
+ </td>
+ <td>
+ <xsl:value-of select="test:state/@status"/>
+ </td>
+ <xsl:if test = "test:state/@reviewer">
+ <td>
+ <B>Reviewer:</B>
+ </td>
+ <td>
+ <xsl:value-of select="test:state/@reviewer"/>
+ </td>
+ </xsl:if>
+ </tr>
+ </xsl:if>
+ <xsl:if test = "test:input-file">
+ <xsl:call-template name = "getInputs"/>
+ </xsl:if>
+ </table>
+ <p/>
+ </xsl:template>
+ <xsl:template match="test:citation-spec">
+ <tr>
+ <td>
+ <A>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="href">
+ <xsl:value-of select="test:spec-URI"/>
+ </xsl:attribute>
+ <b>
+ <xsl:value-of select="@name"/>
+ </b>
+ </A>
+ </td>
+ <td>
+ <xsl:value-of select="test:description"/>
+ </td>
+ <td>
+ <I>
+ <xsl:value-of select="test:note"/>
+ </I>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template name = "getInputs">
+ <tr>
+ <td colspan="3">
+ <B>Inputs:</B>
+ </td>
+ </tr>
+ <xsl:for-each select="test:input-file">
+ <tr>
+ <td>
+ Role:
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
+ <xsl:value-of select="@role"/>
+ </A>
+ </td>
+ <td colspan="2">
+ Source ID:
+ <A>
+ <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
+ <xsl:value-of select="."/>
+ </A>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file