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/samples/rfc2629.xslt

    r1303 r1368  
    14661466    <xsl:when test="$ref and $bib/x:source/@href and $bib/x:source/@basename and $ref/@x:rel">
    14671467      <xsl:value-of select="concat($bib/x:source/@basename,'.html',$ref/@x:rel)" />
     1468    </xsl:when>
     1469    <!-- tools.ietf.org won't have the "-latest" draft -->
     1470    <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'">
     1471      <!-- TODO: should produce the right extension based on the format we're producing -->
     1472      <xsl:value-of select="concat($bib/x:source/@basename,'.html')" />
    14681473    </xsl:when>
    14691474    <xsl:when test="$bib/seriesInfo/@name='RFC'">
     
    26392644     
    26402645      <xsl:otherwise>
    2641         <xsl:call-template name="error">
    2642           <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/>
    2643         </xsl:call-template>
     2646        <xsl:if test="$node">
     2647          <xsl:call-template name="error">
     2648            <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/>
     2649          </xsl:call-template>
     2650        </xsl:if>
    26442651      </xsl:otherwise>
    26452652    </xsl:choose>
     
    42074214        </xsl:choose>
    42084215       
     4216        <!-- warn about iprExtract without effect -->
     4217        <xsl:if test="/rfc/@iprExtract and (/rfc/@ipr != 'noModification3667' and /rfc/@ipr != 'noDerivatives3667' and /rfc/@ipr != 'noModification3978' and /rfc/@ipr != 'noDerivatives3978')">
     4218          <xsl:call-template name="warning">
     4219            <xsl:with-param name="msg" select="concat('/rfc/@iprExtract does not have any effect for /rfc/@ipr=',/rfc/@ipr)"/>
     4220          </xsl:call-template>
     4221        </xsl:if>
     4222       
    42094223        <!-- restrictions -->
    42104224        <xsl:choose>
     
    63156329    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    63166330    <!-- when RCS keyword substitution in place, add version info -->
    6317     <xsl:if test="contains('$Revision: 1.550 $',':')">
    6318       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.550 $', 'Revision: '),'$','')),', ')" />
     6331    <xsl:if test="contains('$Revision: 1.553 $',':')">
     6332      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.553 $', 'Revision: '),'$','')),', ')" />
    63196333    </xsl:if>
    6320     <xsl:if test="contains('$Date: 2011-05-30 14:02:12 $',':')">
    6321       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-05-30 14:02:12 $', 'Date: '),'$','')),', ')" />
     6334    <xsl:if test="contains('$Date: 2011-07-27 17:45:31 $',':')">
     6335      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-07-27 17:45:31 $', 'Date: '),'$','')),', ')" />
    63226336    </xsl:if>
    63236337    <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.