Ignore:
Timestamp:
Aug 10, 2008, 7:19:14 AM (11 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/rfc2629toXHTML.xslt

    r285 r308  
    22142214        <t>
    22152215          This document and the information contained herein is provided on an
    2216           &#8220;;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
     2216          &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
    22172217          TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    22182218          BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
     
    36813681    <xsl:when test="contains($list,',')">
    36823682      <xsl:variable name="rfcNo" select="substring-before($list,',')"/>
    3683       <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0">
    3684         <xsl:call-template name="warning">
    3685           <xsl:with-param name="inline" select="'no'"/>
    3686           <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/>
    3687         </xsl:call-template>
    3688       </xsl:if>
     3683      <xsl:call-template name="check-front-matter-ref">
     3684        <xsl:with-param name="name" select="$rfcNo"/>
     3685      </xsl:call-template>
    36893686      <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a>,
    36903687      <xsl:call-template name="rfclist">
     
    36943691    <xsl:otherwise>
    36953692      <xsl:variable name="rfcNo" select="$list"/>
    3696       <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0">
     3693      <xsl:call-template name="check-front-matter-ref">
     3694        <xsl:with-param name="name" select="$rfcNo"/>
     3695      </xsl:call-template>
     3696      <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a>
     3697    </xsl:otherwise>
     3698  </xsl:choose>
     3699</xsl:template>
     3700
     3701<xsl:template name="check-front-matter-ref">
     3702  <xsl:param name="name"/>
     3703  <xsl:choose>
     3704    <xsl:when test="starts-with($name,'draft-')">
     3705      <xsl:if test="count(//references//reference/seriesInfo[@name='Internet-Draft' and @value=$name])=0">
    36973706        <xsl:call-template name="warning">
    36983707          <xsl:with-param name="inline" select="'no'"/>
    3699           <xsl:with-param name="msg" select="concat('front matter mentions RFC',$rfcNo,' for which there is no reference element')"/>
     3708          <xsl:with-param name="msg" select="concat('front matter mentions I-D ',$name,' for which there is no reference element')"/>
    37003709        </xsl:call-template>
    37013710      </xsl:if>
    3702       <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a>
     3711    </xsl:when>
     3712    <xsl:otherwise>
     3713      <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$name])=0">
     3714        <xsl:call-template name="warning">
     3715          <xsl:with-param name="inline" select="'no'"/>
     3716          <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$name,' for which there is no reference element')"/>
     3717        </xsl:call-template>
     3718      </xsl:if>
    37033719    </xsl:otherwise>
    37043720  </xsl:choose>
     
    48084824    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    48094825    <!-- when RCS keyword substitution in place, add version info -->
    4810     <xsl:if test="contains('$Revision: 1.384 $',':')">
    4811       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.384 $', 'Revision: '),'$','')),', ')"/>
     4826    <xsl:if test="contains('$Revision: 1.387 $',':')">
     4827      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.387 $', 'Revision: '),'$','')),', ')"/>
    48124828    </xsl:if>
    4813     <xsl:if test="contains('$Date: 2008-07-18 10:33:47 $',':')">
    4814       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-18 10:33:47 $', 'Date: '),'$','')),', ')"/>
     4829    <xsl:if test="contains('$Date: 2008-08-08 13:06:55 $',':')">
     4830      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-08-08 13:06:55 $', 'Date: '),'$','')),', ')"/>
    48154831    </xsl:if>
    48164832    <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.