labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r603413 - /labs/webarch/trunk/http/draft-fielding-http/
Date Tue, 11 Dec 2007 23:28:56 GMT
Author: reschke
Date: Tue Dec 11 15:28:46 2007
New Revision: 603413

URL: http://svn.apache.org/viewvc?rev=603413&view=rev
Log:
rfc2629.xslt fix: for cross-document references, distinguish between Section and Appendix

Modified:
    labs/webarch/trunk/http/draft-fielding-http/clean-for-DTD.xslt
    labs/webarch/trunk/http/draft-fielding-http/p1-messaging.html
    labs/webarch/trunk/http/draft-fielding-http/p2-semantics.html
    labs/webarch/trunk/http/draft-fielding-http/p3-payload.html
    labs/webarch/trunk/http/draft-fielding-http/p4-conditional.html
    labs/webarch/trunk/http/draft-fielding-http/p5-range.html
    labs/webarch/trunk/http/draft-fielding-http/p6-cache.html
    labs/webarch/trunk/http/draft-fielding-http/p7-auth.html
    labs/webarch/trunk/http/draft-fielding-http/p8-cookies.html
    labs/webarch/trunk/http/draft-fielding-http/rfc2616.html
    labs/webarch/trunk/http/draft-fielding-http/rfc2617.html
    labs/webarch/trunk/http/draft-fielding-http/rfc2629.xslt
    labs/webarch/trunk/http/draft-fielding-http/rfc2965.html
    labs/webarch/trunk/http/draft-fielding-http/rfc4234.html

Modified: labs/webarch/trunk/http/draft-fielding-http/clean-for-DTD.xslt
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/clean-for-DTD.xslt?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/clean-for-DTD.xslt (original)
+++ labs/webarch/trunk/http/draft-fielding-http/clean-for-DTD.xslt Tue Dec 11 15:28:46 2007
@@ -183,6 +183,7 @@
 
 <xsl:template match="xref[@x:* and not(node())]" mode="cleanup">
   <xsl:variable name="node" select="$src//*[@anchor=current()/@target]" />
+
   <xsl:variable name="sec">
     <xsl:choose>
       <xsl:when test="starts-with(@x:rel,'#') and not(@x:sec) and $node/x:source/@href">
@@ -197,6 +198,14 @@
     </xsl:choose>
   </xsl:variable>
 
+  <xsl:variable name="secterm">
+    <xsl:choose>
+      <!-- starts with letter? -->
+      <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">Appendix</xsl:when>
+      <xsl:otherwise>Section</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
   <xsl:variable name="fmt">
     <xsl:choose>
       <xsl:when test="@x:fmt!=''"><xsl:value-of select="@x:fmt"/></xsl:when>
@@ -210,11 +219,14 @@
       <xref>
         <xsl:apply-templates select="@target|@format|@pageno|text()|*" mode="cleanup"/>
       </xref>
-      <xsl:text>, Section </xsl:text>
+      <xsl:text>, </xsl:text>
+      <xsl:value-of select="$secterm"/>
+      <xsl:text> </xsl:text>
       <xsl:value-of select="$sec"/>
     </xsl:when>
     <xsl:when test="$fmt='sec'">
-      <xsl:text>Section </xsl:text>
+      <xsl:value-of select="$secterm"/>
+      <xsl:text> </xsl:text>
       <xsl:value-of select="$sec"/>
     </xsl:when>
     <xsl:when test="$fmt='number'">
@@ -224,12 +236,15 @@
       <xref>
         <xsl:apply-templates select="@target|@format|@pageno|text()|*" mode="cleanup"/>
       </xref>
-      <xsl:text> (Section </xsl:text>
+      <xsl:text> (</xsl:text>
+      <xsl:value-of select="$secterm"/>
+      <xsl:text> </xsl:text>
       <xsl:value-of select="$sec"/>
       <xsl:text>)</xsl:text>
     </xsl:when>
     <xsl:when test="$fmt='of'">
-      <xsl:text>Section </xsl:text>
+      <xsl:value-of select="$secterm"/>
+      <xsl:text> </xsl:text>
       <xsl:value-of select="$sec"/>
       <xsl:text> of </xsl:text>
       <xref>

Modified: labs/webarch/trunk/http/draft-fielding-http/p1-messaging.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p1-messaging.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p1-messaging.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p1-messaging.html Tue Dec 11 15:28:46 2007
@@ -347,7 +347,7 @@
       <link rel="Appendix" title="B Tolerant Applications" href="#rfc.section.B">
       <link rel="Appendix" title="C Conversion of Date Formats" href="#rfc.section.C">
       <link rel="Appendix" title="D Compatibility with Previous Versions" href="#rfc.section.D">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">
@@ -753,7 +753,7 @@
          URI, and protocol version, followed by a MIME-like message containing request modifiers,
client information, and possible
          body content over a connection with a server. The server responds with a status
line, including the message's protocol version
          and a success or error code, followed by a MIME-like message containing server information,
entity metainformation, and possible
-         entity-body content. The relationship between HTTP and MIME is described in <a
href="p3-payload.html#differences.between.http.entities.and.rfc.2045.entities" title="Differences
Between HTTP Entities and RFC 2045 Entities">Section A</a> of <a href="#Part3"
id="rfc.xref.Part3.4"><cite title="HTTP/1.1, part 3: Message Payload and Content Negotiation">[Part3]</cite></a>.
+         entity-body content. The relationship between HTTP and MIME is described in <a
href="p3-payload.html#differences.between.http.entities.and.rfc.2045.entities" title="Differences
Between HTTP Entities and RFC 2045 Entities">Appendix A</a> of <a href="#Part3"
id="rfc.xref.Part3.4"><cite title="HTTP/1.1, part 3: Message Payload and Content Negotiation">[Part3]</cite></a>.
       </p>
       <p id="rfc.section.1.4.p.2">Most HTTP communication is initiated by a user agent
and consists of a request to be applied to a resource on some origin
          server. In the simplest case, this may be accomplished via a single connection (v)
between the user agent (UA) and the origin

Modified: labs/webarch/trunk/http/draft-fielding-http/p2-semantics.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p2-semantics.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p2-semantics.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p2-semantics.html Tue Dec 11 15:28:46 2007
@@ -346,7 +346,7 @@
       <link rel="Chapter" title="13 Acknowledgments" href="#rfc.section.13">
       <link rel="Chapter" href="#rfc.section.14" title="14 References">
       <link rel="Appendix" title="A Changes from RFC 2068" href="#rfc.section.A">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">
@@ -577,7 +577,7 @@
          URI, and protocol version, followed by a MIME-like message containing request modifiers,
client information, and possible
          body content over a connection with a server. The server responds with a status
line, including the message's protocol version
          and a success or error code, followed by a MIME-like message containing server information,
entity metainformation, and possible
-         entity-body content. The relationship between HTTP and MIME is described in <a
href="p3-payload.html#differences.between.http.entities.and.rfc.2045.entities" title="Differences
Between HTTP Entities and RFC 2045 Entities">Section A</a> of <a href="#Part3"
id="rfc.xref.Part3.1"><cite title="HTTP/1.1, part 3: Message Payload and Content Negotiation">[Part3]</cite></a>.
+         entity-body content. The relationship between HTTP and MIME is described in <a
href="p3-payload.html#differences.between.http.entities.and.rfc.2045.entities" title="Differences
Between HTTP Entities and RFC 2045 Entities">Appendix A</a> of <a href="#Part3"
id="rfc.xref.Part3.1"><cite title="HTTP/1.1, part 3: Message Payload and Content Negotiation">[Part3]</cite></a>.
       </p>
       <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a
id="product.tokens" href="#product.tokens">Product Tokens</a></h1>
       <p id="rfc.section.2.p.1">Product tokens are used to allow communicating applications
to identify themselves by software name and version. Most fields

Modified: labs/webarch/trunk/http/draft-fielding-http/p3-payload.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p3-payload.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p3-payload.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p3-payload.html Tue Dec 11 15:28:46 2007
@@ -343,7 +343,7 @@
       <link rel="Appendix" title="A Differences Between HTTP Entities and RFC 2045 Entities"
href="#rfc.section.A">
       <link rel="Appendix" title="B Additional Features" href="#rfc.section.B">
       <link rel="Appendix" title="C Changes from RFC 2068" href="#rfc.section.C">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">
@@ -660,7 +660,7 @@
          boundary.
       </p>
       <p id="rfc.section.2.3.2.p.2">In general, HTTP treats a multipart message-body
no differently than any other media type: strictly as payload. The one exception
-         is the "multipart/byteranges" type (<a href="p5-range.html#internet.media.type.multipart.byteranges"
title="Internet Media Type multipart/byteranges">Section A</a> of <a href="#Part5"
id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>)
when it appears in a 206 (Partial Content) response. In all other cases, an HTTP user agent
<em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user
agent would upon receipt of a multipart type. The MIME header fields within
+         is the "multipart/byteranges" type (<a href="p5-range.html#internet.media.type.multipart.byteranges"
title="Internet Media Type multipart/byteranges">Appendix A</a> of <a href="#Part5"
id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>)
when it appears in a 206 (Partial Content) response. In all other cases, an HTTP user agent
<em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user
agent would upon receipt of a multipart type. The MIME header fields within
          each body-part of a multipart message-body do not have any significance to HTTP
beyond that defined by their MIME semantics.
       </p>
       <p id="rfc.section.2.3.2.p.3">In general, an HTTP user agent <em class="bcp14">SHOULD</em>
follow the same or similar behavior as a MIME user agent would upon receipt of a multipart
type. If an application receives

Modified: labs/webarch/trunk/http/draft-fielding-http/p4-conditional.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p4-conditional.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p4-conditional.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p4-conditional.html Tue Dec 11 15:28:46 2007
@@ -340,7 +340,7 @@
       <link rel="Chapter" title="7 Security Considerations" href="#rfc.section.7">
       <link rel="Chapter" title="8 Acknowledgments" href="#rfc.section.8">
       <link rel="Chapter" href="#rfc.section.9" title="9 References">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">

Modified: labs/webarch/trunk/http/draft-fielding-http/p5-range.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p5-range.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p5-range.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p5-range.html Tue Dec 11 15:28:46 2007
@@ -343,7 +343,7 @@
       <link rel="Chapter" href="#rfc.section.10" title="10 References">
       <link rel="Appendix" title="A Internet Media Type multipart/byteranges" href="#rfc.section.A">
       <link rel="Appendix" title="B Changes from RFC 2068" href="#rfc.section.B">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">

Modified: labs/webarch/trunk/http/draft-fielding-http/p6-cache.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p6-cache.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p6-cache.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p6-cache.html Tue Dec 11 15:28:46 2007
@@ -339,7 +339,7 @@
       <link rel="Chapter" title="6 Acknowledgments" href="#rfc.section.6">
       <link rel="Chapter" href="#rfc.section.7" title="7 References">
       <link rel="Appendix" title="A Changes from RFC 2068" href="#rfc.section.A">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">

Modified: labs/webarch/trunk/http/draft-fielding-http/p7-auth.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p7-auth.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p7-auth.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p7-auth.html Tue Dec 11 15:28:46 2007
@@ -337,7 +337,7 @@
       <link rel="Chapter" title="4 Security Considerations" href="#rfc.section.4">
       <link rel="Chapter" title="5 Acknowledgments" href="#rfc.section.5">
       <link rel="Chapter" href="#rfc.section.6" title="6 References">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">

Modified: labs/webarch/trunk/http/draft-fielding-http/p8-cookies.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/p8-cookies.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/p8-cookies.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/p8-cookies.html Tue Dec 11 15:28:46 2007
@@ -343,7 +343,7 @@
       <link rel="Chapter" title="10 HISTORICAL" href="#rfc.section.10">
       <link rel="Chapter" title="11 ACKNOWLEDGEMENTS" href="#rfc.section.11">
       <link rel="Chapter" href="#rfc.section.12" title="12 References">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Kristol, D. M.">
       <meta name="DC.Creator" content="Montulli, L.">

Modified: labs/webarch/trunk/http/draft-fielding-http/rfc2616.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/rfc2616.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/rfc2616.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/rfc2616.html Tue Dec 11 15:28:46 2007
@@ -351,7 +351,7 @@
       <link rel="Appendix" title="19 Appendices" href="#rfc.section.19">
       <link rel="Appendix" title="20 Index" href="#rfc.section.20">
       <link rel="Alternate" title="Authorative ASCII version" href="http://www.ietf.org/rfc/rfc2616.txt">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Fielding, R.">
       <meta name="DC.Creator" content="Gettys, J.">

Modified: labs/webarch/trunk/http/draft-fielding-http/rfc2617.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/rfc2617.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/rfc2617.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/rfc2617.html Tue Dec 11 15:28:46 2007
@@ -339,7 +339,7 @@
       <link rel="Chapter" title="6 Acknowledgments" href="#rfc.section.6">
       <link rel="Chapter" href="#rfc.section.7" title="7 References">
       <link rel="Alternate" title="Authorative ASCII version" href="http://www.ietf.org/rfc/rfc2617.txt">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Franks, J.">
       <meta name="DC.Creator" content="Hallam-Baker, P.M.">

Modified: labs/webarch/trunk/http/draft-fielding-http/rfc2629.xslt
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/rfc2629.xslt?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/rfc2629.xslt (original)
+++ labs/webarch/trunk/http/draft-fielding-http/rfc2629.xslt Tue Dec 11 15:28:46 2007
@@ -1815,6 +1815,14 @@
           </xsl:otherwise>
         </xsl:choose>
       </xsl:variable>
+      
+      <xsl:variable name="secterm">
+        <xsl:choose>
+          <!-- starts with letter? -->
+          <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">Appendix</xsl:when>
+          <xsl:otherwise>Section</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
 
       <xsl:variable name="fmt">
         <xsl:choose>
@@ -1870,11 +1878,12 @@
                   <xsl:if test="$fmt='sec' and $xml2rfc-ext-include-references-in-index='yes'">
                     <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
                   </xsl:if>
-                  <xsl:text>Section </xsl:text>
+                  <xsl:value-of select="$secterm"/>
+                  <xsl:text> </xsl:text>
                   <xsl:value-of select="$sec"/>
                 </a>
               </xsl:when>
-              <xsl:otherwise>Section <xsl:value-of select="$sec"/></xsl:otherwise>
+              <xsl:otherwise><xsl:value-of select="$secterm"/><xsl:text>
</xsl:text><xsl:value-of select="$sec"/></xsl:otherwise>
             </xsl:choose>
             <xsl:if test="$fmt='of'">
               <xsl:text> of </xsl:text>
@@ -1930,9 +1939,9 @@
             <xsl:text> (</xsl:text>
             <xsl:choose>
               <xsl:when test="$href!=''">
-                <a href="{$href}">Section <xsl:value-of select="$sec"/></a>
+                <a href="{$href}"><xsl:value-of select="$secterm"/><xsl:text>
</xsl:text><xsl:value-of select="$sec"/></a>
               </xsl:when>
-              <xsl:otherwise>Section <xsl:value-of select="$sec"/></xsl:otherwise>
+              <xsl:otherwise><xsl:value-of select="$secterm"/><xsl:text>
</xsl:text><xsl:value-of select="$sec"/></xsl:otherwise>
             </xsl:choose>
             <xsl:text>)</xsl:text>
           </xsl:when>
@@ -1944,11 +1953,12 @@
                   <xsl:if test="$title!=''">
                     <xsl:attribute name="title"><xsl:value-of select="$title"/></xsl:attribute>
                   </xsl:if>
-                  <xsl:text>Section </xsl:text>
+                  <xsl:value-of select="$secterm"/>
+                  <xsl:text> </xsl:text>
                   <xsl:value-of select="$sec"/>
                 </a>
               </xsl:when>
-              <xsl:otherwise>Section <xsl:value-of select="$sec"/></xsl:otherwise>
+              <xsl:otherwise><xsl:value-of select="$secterm"/><xsl:text>
</xsl:text><xsl:value-of select="$sec"/></xsl:otherwise>
             </xsl:choose>
           </xsl:when>
           <xsl:otherwise/>
@@ -4612,11 +4622,11 @@
   <xsl:variable name="gen">
     <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
     <!-- when RCS keyword substitution in place, add version info -->
-    <xsl:if test="contains('$Revision: 1.352 $',':')">
-      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision:
1.352 $', 'Revision: '),'$','')),', ')" />
+    <xsl:if test="contains('$Revision: 1.353 $',':')">
+      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision:
1.353 $', 'Revision: '),'$','')),', ')" />
     </xsl:if>
-    <xsl:if test="contains('$Date: 2007/12/09 19:23:50 $',':')">
-      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2007/12/09
19:23:50 $', 'Date: '),'$','')),', ')" />
+    <xsl:if test="contains('$Date: 2007/12/11 23:20:44 $',':')">
+      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2007/12/11
23:20:44 $', 'Date: '),'$','')),', ')" />
     </xsl:if>
     <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"
/>
   </xsl:variable>

Modified: labs/webarch/trunk/http/draft-fielding-http/rfc2965.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/rfc2965.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/rfc2965.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/rfc2965.html Tue Dec 11 15:28:46 2007
@@ -343,7 +343,7 @@
       <link rel="Chapter" title="10 ACKNOWLEDGEMENTS" href="#rfc.section.10">
       <link rel="Chapter" href="#rfc.section.11" title="11 References">
       <link rel="Alternate" title="Authorative ASCII version" href="http://www.ietf.org/rfc/rfc2965.txt">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Kristol, D. M.">
       <meta name="DC.Creator" content="Montulli, L.">

Modified: labs/webarch/trunk/http/draft-fielding-http/rfc4234.html
URL: http://svn.apache.org/viewvc/labs/webarch/trunk/http/draft-fielding-http/rfc4234.html?rev=603413&r1=603412&r2=603413&view=diff
==============================================================================
--- labs/webarch/trunk/http/draft-fielding-http/rfc4234.html (original)
+++ labs/webarch/trunk/http/draft-fielding-http/rfc4234.html Tue Dec 11 15:28:46 2007
@@ -335,7 +335,7 @@
       <link rel="Appendix" title="A ACKNOWLEDGEMENTS" href="#rfc.section.A">
       <link rel="Appendix" title="B APPENDIX - CORE ABNF OF ABNF" href="#rfc.section.B">
       <link rel="Alternate" title="Authorative ASCII version" href="http://www.ietf.org/rfc/rfc4234.txt">
-      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.352, 2007/12/09 19:23:50, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
+      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision
1.353, 2007/12/11 23:20:44, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
       <meta name="keywords" content="ABNF, Augmented, Backus-Naur, Form, electronic, mail">
       <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
       <meta name="DC.Creator" content="Crocker, D.">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message