Ignore:
Timestamp:
Jul 31, 2011, 3:22:11 PM (8 years ago)
Author:
julian.reschke@…
Message:

bump up document dates; update to latest version of rfc2629.xslt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r1303 r1368  
    13341334    <xsl:when test="$ref and $bib/x:source/@href and $bib/x:source/@basename and $ref/@x:rel">
    13351335      <xsl:value-of select="concat($bib/x:source/@basename,'.html',$ref/@x:rel)"/>
     1336    </xsl:when>
     1337    <!-- tools.ietf.org won't have the "-latest" draft -->
     1338    <xsl:when test="$bib/seriesInfo/@name='Internet-Draft' and $bib/x:source/@href and $bib/x:source/@basename and substring($bib/x:source/@basename, (string-length($bib/x:source/@basename) - string-length('-latest')) + 1)='-latest'">
     1339      <!-- TODO: should produce the right extension based on the format we're producing -->
     1340      <xsl:value-of select="concat($bib/x:source/@basename,'.html')"/>
    13361341    </xsl:when>
    13371342    <xsl:when test="$bib/seriesInfo/@name='RFC'">
     
    25072512     
    25082513      <xsl:otherwise>
    2509         <xsl:call-template name="error">
    2510           <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/>
    2511         </xsl:call-template>
     2514        <xsl:if test="$node">
     2515          <xsl:call-template name="error">
     2516            <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/>
     2517          </xsl:call-template>
     2518        </xsl:if>
    25122519      </xsl:otherwise>
    25132520    </xsl:choose>
     
    40664073        </xsl:choose>
    40674074       
     4075        <!-- warn about iprExtract without effect -->
     4076        <xsl:if test="/rfc/@iprExtract and (/rfc/@ipr != 'noModification3667' and /rfc/@ipr != 'noDerivatives3667' and /rfc/@ipr != 'noModification3978' and /rfc/@ipr != 'noDerivatives3978')">
     4077          <xsl:call-template name="warning">
     4078            <xsl:with-param name="msg" select="concat('/rfc/@iprExtract does not have any effect for /rfc/@ipr=',/rfc/@ipr)"/>
     4079          </xsl:call-template>
     4080        </xsl:if>
     4081       
    40684082        <!-- restrictions -->
    40694083        <xsl:choose>
     
    61706184    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    61716185    <!-- when RCS keyword substitution in place, add version info -->
    6172     <xsl:if test="contains('$Revision: 1.550 $',':')">
    6173       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.550 $', 'Revision: '),'$','')),', ')"/>
     6186    <xsl:if test="contains('$Revision: 1.553 $',':')">
     6187      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.553 $', 'Revision: '),'$','')),', ')"/>
    61746188    </xsl:if>
    6175     <xsl:if test="contains('$Date: 2011-05-30 14:02:12 $',':')">
    6176       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-05-30 14:02:12 $', 'Date: '),'$','')),', ')"/>
     6189    <xsl:if test="contains('$Date: 2011-07-27 17:45:31 $',':')">
     6190      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-07-27 17:45:31 $', 'Date: '),'$','')),', ')"/>
    61776191    </xsl:if>
    61786192    <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.