Ignore:
Timestamp:
10/08/08 14:19:14 (12 years ago)
Author:
julian.reschke@…
Message:

update to latest version of rfc2629.xslt, annotate spec with intended maturity level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r285 r308  
    24012401        <t>
    24022402          This document and the information contained herein is provided on an
    2403           &#8220;;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
     2403          &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
    24042404          TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    24052405          BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
     
    38683868    <xsl:when test="contains($list,',')">
    38693869      <xsl:variable name="rfcNo" select="substring-before($list,',')" />
    3870       <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0">
    3871         <xsl:call-template name="warning">
    3872           <xsl:with-param name="inline" select="'no'"/>
    3873           <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/>
    3874         </xsl:call-template>
    3875       </xsl:if>
     3870      <xsl:call-template name="check-front-matter-ref">
     3871        <xsl:with-param name="name" select="$rfcNo"/>
     3872      </xsl:call-template>
    38763873      <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a>,
    38773874      <xsl:call-template name="rfclist">
     
    38813878    <xsl:otherwise>
    38823879      <xsl:variable name="rfcNo" select="$list" />
    3883       <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0">
     3880      <xsl:call-template name="check-front-matter-ref">
     3881        <xsl:with-param name="name" select="$rfcNo"/>
     3882      </xsl:call-template>
     3883      <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a>
     3884    </xsl:otherwise>
     3885  </xsl:choose>
     3886</xsl:template>
     3887
     3888<xsl:template name="check-front-matter-ref">
     3889  <xsl:param name="name"/>
     3890  <xsl:choose>
     3891    <xsl:when test="starts-with($name,'draft-')">
     3892      <xsl:if test="count(//references//reference/seriesInfo[@name='Internet-Draft' and @value=$name])=0">
    38843893        <xsl:call-template name="warning">
    38853894          <xsl:with-param name="inline" select="'no'"/>
    3886           <xsl:with-param name="msg" select="concat('front matter mentions RFC',$rfcNo,' for which there is no reference element')"/>
     3895          <xsl:with-param name="msg" select="concat('front matter mentions I-D ',$name,' for which there is no reference element')"/>
    38873896        </xsl:call-template>
    38883897      </xsl:if>
    3889       <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a>
     3898    </xsl:when>
     3899    <xsl:otherwise>
     3900      <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$name])=0">
     3901        <xsl:call-template name="warning">
     3902          <xsl:with-param name="inline" select="'no'"/>
     3903          <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$name,' for which there is no reference element')"/>
     3904        </xsl:call-template>
     3905      </xsl:if>
    38903906    </xsl:otherwise>
    38913907  </xsl:choose>
     
    49955011    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    49965012    <!-- when RCS keyword substitution in place, add version info -->
    4997     <xsl:if test="contains('$Revision: 1.384 $',':')">
    4998       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.384 $', 'Revision: '),'$','')),', ')" />
     5013    <xsl:if test="contains('$Revision: 1.387 $',':')">
     5014      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.387 $', 'Revision: '),'$','')),', ')" />
    49995015    </xsl:if>
    5000     <xsl:if test="contains('$Date: 2008-07-18 10:33:47 $',':')">
    5001       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-18 10:33:47 $', 'Date: '),'$','')),', ')" />
     5016    <xsl:if test="contains('$Date: 2008-08-08 13:06:55 $',':')">
     5017      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-08-08 13:06:55 $', 'Date: '),'$','')),', ')" />
    50025018    </xsl:if>
    50035019    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
Note: See TracChangeset for help on using the changeset viewer.