- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 21 Sep 2010 18:24:53 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies
In directory hutz:/tmp/cvs-serv12175
Modified Files:
spec-tests.xsl wsmex-test.html
Log Message:
pretty up the TOC
Index: spec-tests.xsl
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/spec-tests.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- spec-tests.xsl 21 Sep 2010 17:16:21 -0000 1.4
+++ spec-tests.xsl 21 Sep 2010 18:24:51 -0000 1.5
@@ -34,16 +34,33 @@
<hr/>
<h1>Table of Contents</h1>
- <ol>
+ <table border="0" cellspacing="0" cellborder="0" cellpadding="0"
+ style="margin-left:20px">
<xsl:for-each select="s:feature">
- <li>
- <a href="#sec-F{position()}">
- Feature F<xsl:value-of select="position()"/>:
- <xsl:value-of select="s:name"/>
- </a>
- </li>
+ <tr>
+ <td style="padding-right:10px"><xsl:value-of select="position()"/>.</td>
+ <td colspan="3">
+ <a href="#sec-F{position()}"><xsl:value-of select="s:name"/></a>
+ </td>
+ </tr>
+
+ <xsl:for-each select="s:test">
+ <tr>
+ <td> </td>
+ <td style="padding-left:20px;padding-right:10px">
+ <xsl:number format="1.1" level="multiple" count="s:feature|s:test"/>.
+ </td>
+ <td>
+ <xsl:element name="a">
+ <xsl:attribute name="href">#sec-T<xsl:number format="1.1" level="multiple" count="s:feature|s:test"/></xsl:attribute>
+ <xsl:value-of select="@name"/>
+ </xsl:element>
+ </td>
+ </tr>
+ </xsl:for-each>
+
</xsl:for-each>
- </ol>
+ </table>
<xsl:if test="s:description">
<hr/>
@@ -77,6 +94,9 @@
<xsl:template match="s:test">
<div class="testBox">
+ <xsl:element name="a">
+ <xsl:attribute name="name">sec-T<xsl:number format="1.1" level="multiple" count="s:feature|s:test"/></xsl:attribute>
+ </xsl:element>
<h2>
<span style="text-decoration : underline ">
Test: <xsl:value-of select="@name"/>
Index: wsmex-test.html
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsmex-test.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- wsmex-test.html 21 Sep 2010 15:37:19 -0000 1.1
+++ wsmex-test.html 21 Sep 2010 18:24:51 -0000 1.2
@@ -2,24 +2,31 @@
This is the test doc for
<a href=" http://www.w3.org/2002/ws/ra/edcopies/wsmex.html ">WS-MetadataExchange</a>. Boilerplate
header information will go here...
- </p><hr></hr><h1>Table of Contents</h1><ol><li><a href="#sec-F1">
- Feature F1:
- Metadata Collecton </a></li><li><a href="#sec-F2">
- Feature F2:
- GetWSDL </a></li><li><a href="#sec-F3">
- Feature F3:
- GetMetadata </a></li><li><a href="#sec-F4">
- Feature F4:
- feature 2 </a></li></ol><hr></hr><p>
+ </p><hr></hr><h1>Table of Contents</h1><table border="0" cellspacing="0" cellborder="0" cellpadding="0"><tr><td><span style="margin-right:10">1.</span></td><td colspan="2"> Metadata Collecton </td></tr><tr><td></td><td>1.1.
+ Retrieving a Metadata Collection</td></tr><tr><td></td><td>1.2.
+ Empty Metadata Collection</td></tr><tr><td></td><td>1.3.
+ Metadata Collection Identifiers</td></tr><tr><td><span style="margin-right:10">2.</span></td><td colspan="2"> GetWSDL </td></tr><tr><td></td><td>2.1.
+ GetWSDL</td></tr><tr><td><span style="margin-right:10">3.</span></td><td colspan="2"> GetMetadata </td></tr><tr><td></td><td>3.1.
+ GetMetadata success</td></tr><tr><td><span style="margin-right:10">4.</span></td><td colspan="2"> feature 2 </td></tr><tr><td></td><td>4.1.
+ t2</td></tr></table><ol><li value="1"><a href="#sec-F1">
+ Feature:
+ Metadata Collecton </a><ul><li value="1.1"><a href="#sec-T1.1">Retrieving a Metadata Collection</a></li><li value="1.2"><a href="#sec-T1.2">Empty Metadata Collection</a></li><li value="1.3"><a href="#sec-T1.3">Metadata Collection Identifiers</a></li></ul></li><li value="2"><a href="#sec-F2">
+ Feature:
+ GetWSDL </a><ul><li value="2.1"><a href="#sec-T2.1">GetWSDL</a></li></ul></li><li value="3"><a href="#sec-F3">
+ Feature:
+ GetMetadata </a><ul><li value="3.1"><a href="#sec-T3.1">GetMetadata success</a></li></ul></li><li value="4"><a href="#sec-F4">
+ Feature:
+ feature 2 </a><ul><li value="4.1"><a href="#sec-T4.1">t2</a></li></ul></li></ol><hr></hr><p>
This test suite will exercise the features defined by WS-MetadataExchange.
</p><hr><a name="sec-F1"></a><div><h1>
Feature: Metadata Collecton <span class="note">(F1)</span></h1><div class="featureBox"><p><description>
The MEX specification defines a new type of metadata called a
Metadata collection. It provides a way to bundle multiple pieces
of metadata into one XML document.
- </description></p><div class="testBox"><h2>Test: Retrieving a Metadata Collection<span class="note">
- (T1.1)
- </span></h2><p><description>
+ </description></p><div class="testBox"><a name="sec-T1.1"></a><h2><span style="text-decoration : underline ">
+ Test: Retrieving a Metadata Collection</span><span class="note">
+ (T1.1)
+ </span></h2><p><description>
This test will verify the basic structure of a the Metadata collection
type. Since support for this data type and the GetMetadata operation
are optional, this test is optional.
@@ -27,9 +34,10 @@
A client sends a GetMetadata request and the service responds with
a GetMetadataResponse in the Body. The contents of the metadata
embedded within the Metadata collection is not important for this test.
- </success></p></div><p class="ieSpacer"><br></p><div class="testBox"><h2>Test: Empty Metadata Collection<span class="note">
- (T1.2)
- </span></h2><p><description>
+ </success></p></div><p class="ieSpacer"><br></p><div class="testBox"><a name="sec-T1.2"></a><h2><span style="text-decoration : underline ">
+ Test: Empty Metadata Collection</span><span class="note">
+ (T1.2)
+ </span></h2><p><description>
This test will verify the basic structure of an empty Metadata collection
type. Since support for this data type and the GetMetadata operation
are optional, this test is optional.
@@ -41,9 +49,10 @@
For the purpose of this test, a Dialect QName of:
<xmp> {http://example.com/:bogusDialect} </xmp>
will be used for the unknown metadata type.
- </success></p></div><p class="ieSpacer"><br></p><div class="testBox"><h2>Test: Metadata Collection Identifiers<span class="note">
- (T1.3)
- </span></h2><p><description>
+ </success></p></div><p class="ieSpacer"><br></p><div class="testBox"><a name="sec-T1.3"></a><h2><span style="text-decoration : underline ">
+ Test: Metadata Collection Identifiers</span><span class="note">
+ (T1.3)
+ </span></h2><p><description>
This test will verify that when the Dialect QName of a MetadataSection
matches one of the predefined QNames specified in the MEX specification,
then the <code>@Identifier</code> value is set correctly.
@@ -59,9 +68,10 @@
The GetWSDL operation is used to retrieve the WSDL from a service.
It is the SOAP equivalent of the ?wsdl feature that many implementations
support today.
- </description></p><div class="testBox"><h2>Test: GetWSDL<b> (required)</b><span class="note">
- (T2.1)
- </span></h2><p><description>
+ </description></p><div class="testBox"><a name="sec-T2.1"></a><h2><span style="text-decoration : underline ">
+ Test: GetWSDL<b> (required)</b></span><span class="note">
+ (T2.1)
+ </span></h2><p><description>
Tests that an endpoint supports returning its WSDL in response
to a GetWSDL request. A compliant serice is required to support this.
</description><br><br><b>Success Criteria:</b><br><success>
@@ -77,15 +87,17 @@
endpoint. It allows client to ask for all metadata or specific
types. It also allows clients to specify the form in which the metadata
is returned - inlined or a reference.
- </description></p><div class="testBox"><h2>Test: GetMetadata success<span class="note">
- (T3.1)
- </span></h2><p><description>
+ </description></p><div class="testBox"><a name="sec-T3.1"></a><h2><span style="text-decoration : underline ">
+ Test: GetMetadata success</span><span class="note">
+ (T3.1)
+ </span></h2><p><description>
Tests than an endpoint supports returning
</description><br><br><b>Success Criteria:</b><br><success> success criteria .
The xml should look like this:
<xmp><foo>hello</foo></xmp></success></p></div><p class="ieSpacer"><br></p></div></div><hr><a name="sec-F4"></a><div><h1>
- Feature: feature 2 <span class="note">(F4)</span></h1><div class="featureBox"><p><description> blah blah blah </description></p><div class="testBox"><h2>Test: t2<b> (required)</b><span class="note">
- (T4.1)
- </span></h2><p><description> test1 test1 test2 </description><br><br><b>Success Criteria:</b><br><success> success criteria .
+ Feature: feature 2 <span class="note">(F4)</span></h1><div class="featureBox"><p><description> blah blah blah </description></p><div class="testBox"><a name="sec-T4.1"></a><h2><span style="text-decoration : underline ">
+ Test: t2<b> (required)</b></span><span class="note">
+ (T4.1)
+ </span></h2><p><description> test1 test1 test2 </description><br><br><b>Success Criteria:</b><br><success> success criteria .
The xml should look like this:
<xmp><foo>hello</foo></xmp></success></p></div><p class="ieSpacer"><br></p></div></div></body></html>
\ No newline at end of file
Received on Tuesday, 21 September 2010 18:24:55 UTC