Ignore:
Timestamp:
Apr 1, 2010, 12:49:35 AM (10 years ago)
Author:
julian.reschke@…
Message:

latest versions of rfc2629.xslt and xml2rfc.tcl, bump up document dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r764 r799  
    243243    <xsl:with-param name="attr" select="'duplex'"/>
    244244    <xsl:with-param name="default" select="'no'"/>
    245   </xsl:call-template>
    246 </xsl:param>
    247 
    248 <!-- experimental support for TLP 4.0, work in progress -->
    249 
    250 <xsl:param name="xml2rfc-ext-tlp">
    251   <xsl:call-template name="parse-pis">
    252     <xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
    253     <xsl:with-param name="attr" select="'tlp'"/>
    254     <xsl:with-param name="default" select="''"/>
    255245  </xsl:call-template>
    256246</xsl:param>
     
    364354    <!-- RFC boilerplate as defined in RFC 5741, and deployed end of Dec 2009 -->
    365355    <xsl:when test="$pub-yearmonth &gt;= 201001 or       ($rfcno=5741 or $rfcno=5742 or $rfcno=5743)">2010</xsl:when>
    366     <xsl:when test="$xml2rfc-ext-tlp='4'">2010</xsl:when>
    367356    <xsl:otherwise/>
    368357  </xsl:choose>   
     
    389378<xsl:variable name="ipr-2009-09" select="(     ( not(/rfc/@number) and $pub-yearmonth &gt;= 200911 )     or     (       /rfc/@number and $pub-yearmonth &gt;= 200909 and       $rfcno!=5582 and $rfcno!=5621 and $rfcno!=5632 and $rfcno!=5645 and $rfcno!=5646 and $rfcno!=5681      )   )"/>
    390379
    391 <!-- this makes the Jan 2010 TLP text depend on the tlp ext PI
     380<!-- this makes the Jan 2010 TLP text depend on the publication date to be >= 2010-04
    392381     for IDs, and around 2010-01 for RFCs-->
    393 <xsl:variable name="ipr-2010-01" select="(     ( not(/rfc/@number) and $xml2rfc-ext-tlp='4' )     or     (       /rfc/@number and ($pub-yearmonth &gt;= 201001 or       $rfcno=5741 or $rfcno=5742 or $rfcno=5743)      )   )"/>
     382<xsl:variable name="ipr-2010-01" select="(     ( not(/rfc/@number) and $pub-yearmonth &gt;= 201004 )     or     (       /rfc/@number and ($pub-yearmonth &gt;= 201001 or       $rfcno=5741 or $rfcno=5742 or $rfcno=5743)      )   )"/>
    394383
    395384<!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html -->
     
    659648        <xsl:if test="@role">
    660649          (<xsl:value-of select="@role"/>)
     650        </xsl:if>
     651        <!-- annotation support for Martin "uuml" Duerst -->
     652        <xsl:if test="@x:annotation">
     653          <xsl:text> </xsl:text>
     654          <i><xsl:value-of select="@x:annotation"/></i>
    661655        </xsl:if>
    662656        <!-- components of name (hidden from display -->
     
    768762          <xsl:text>URI: </xsl:text>
    769763          <a href="{$uri}" class="url"><xsl:value-of select="$uri"/></a>
     764          <xsl:if test="@x:annotation">
     765            <xsl:text> </xsl:text>
     766            <i><xsl:value-of select="@x:annotation"/></i>
     767          </xsl:if>
    770768        </span>
    771769      </xsl:for-each>
     
    25692567        <xsl:text>,</xsl:text>
    25702568      </xsl:if>
     2569    </xsl:if>
     2570    <xsl:if test="$xml2rfc-ext-pub-day='' and /rfc/@docName and not(substring(/rfc/@docName, string-length(/rfc/@docName) - string-length('-latest') + 1) = '-latest')">
     2571      <xsl:call-template name="warning">
     2572        <xsl:with-param name="msg" select="concat('/rfc/front/date/@day appears to be missing for a historic draft dated ', $pub-yearmonth)"/>
     2573        <xsl:with-param name="inline" select="'no'"/>
     2574      </xsl:call-template>
    25712575    </xsl:if>
    25722576    <xsl:value-of select="concat(' ',$xml2rfc-ext-pub-year)"/>
     
    59725976    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    59735977    <!-- when RCS keyword substitution in place, add version info -->
    5974     <xsl:if test="contains('$Revision: 1.510 $',':')">
    5975       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.510 $', 'Revision: '),'$','')),', ')"/>
     5978    <xsl:if test="contains('$Revision: 1.517 $',':')">
     5979      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.517 $', 'Revision: '),'$','')),', ')"/>
    59765980    </xsl:if>
    5977     <xsl:if test="contains('$Date: 2010-02-20 17:14:25 $',':')">
    5978       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-02-20 17:14:25 $', 'Date: '),'$','')),', ')"/>
     5981    <xsl:if test="contains('$Date: 2010-03-31 18:24:38 $',':')">
     5982      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-03-31 18:24:38 $', 'Date: '),'$','')),', ')"/>
    59795983    </xsl:if>
    59805984    <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.