Ignore:
Timestamp:
11/10/09 16:49:29 (11 years ago)
Author:
julian.reschke@…
Message:

upgrade to latest version of rfc2629.xslt/xml2rfc.tcl; remove now superfluous empty <organization/> elements in references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r704 r713  
    429429  )" />
    430430
    431 <!-- this makes the Sep 2009 TLP text depend on the publication date to be >= 2009-12
     431<!-- this makes the Sep 2009 TLP text depend on the publication date to be >= 2009-11
    432432     for IDs, and around 2009-09 for RFCs-->
    433433<xsl:variable name="ipr-2009-09" select="(
    434     ( not(/rfc/@number) and $pub-yearmonth >= 200912 )
     434    ( not(/rfc/@number) and $pub-yearmonth >= 200911 )
    435435    or
    436436    (
     
    441441
    442442<!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html -->
    443 <!-- for IDs, implement the change as 2009-12 -->
     443<!-- for IDs, implement the change as 2009-11 -->
    444444<xsl:variable name="abstract-first" select="(
    445445    (/rfc/@number and $pub-yearmonth >= 200907)
    446446    or
    447     (not(/rfc/@number) and $pub-yearmonth >= 200912)
     447    (not(/rfc/@number) and $pub-yearmonth >= 200911)
    448448  )" />
    449449
     
    16201620      <xsl:with-param name="attr" select="'SANITYCHECK'"/>
    16211621    </xsl:call-template>
     1622    <xsl:call-template name="parse-pis">
     1623      <xsl:with-param name="nodes" select="//processing-instruction('rfc')"/>
     1624      <xsl:with-param name="attr" select="'SANITYCHECK'"/>
     1625    </xsl:call-template>
    16221626  </xsl:variable>
    16231627
     
    24212425
    24222426<xsl:template match="*">
    2423   <xsl:message>ERROR: no XSLT template for element: &lt;<xsl:value-of select="name()"/>&gt;</xsl:message>   
     2427  <xsl:call-template name="error">
     2428    <xsl:with-param name="inline" select="'no'"/>
     2429    <xsl:with-param name="msg">no XSLT template for element '<xsl:value-of select="name()"/>'</xsl:with-param>
     2430  </xsl:call-template>
    24242431  <tt class="error">&lt;<xsl:value-of select="name()" />&gt;</tt>
    24252432  <xsl:copy><xsl:apply-templates select="node()|@*" /></xsl:copy>
     
    39473954            not be created, and it may not be published except as an Internet-Draft.
    39483955          </xsl:when>
    3949           <!-- escape clause moved to Copyright Notice as of 2009-12 -->
    3950           <xsl:when test="/rfc/@ipr = 'pre5378Trust200902' and $pub-yearmonth &lt; 200912">
     3956          <!-- escape clause moved to Copyright Notice as of 2009-11 -->
     3957          <xsl:when test="/rfc/@ipr = 'pre5378Trust200902' and $pub-yearmonth &lt; 200911">
    39513958            <xsl:value-of select="$escapeclause"/>
    39523959          </xsl:when>
     
    40674074       
    40684075        <!-- special case: RFC5378 escape applies to RFCs as well -->
    4069         <!-- for IDs historically in Status Of This Memo, over here starting 2009-12 -->
    4070         <xsl:if test="(/rfc/@number or $pub-yearmonth >= 200912) and /rfc/@ipr = 'pre5378Trust200902'">
     4076        <!-- for IDs historically in Status Of This Memo, over here starting 2009-11 -->
     4077        <xsl:if test="(/rfc/@number or $pub-yearmonth >= 200911) and /rfc/@ipr = 'pre5378Trust200902'">
    40714078          <t>
    40724079            <xsl:value-of select="$escapeclause"/>
     
    57445751    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    57455752    <!-- when RCS keyword substitution in place, add version info -->
    5746     <xsl:if test="contains('$Revision: 1.475 $',':')">
    5747       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.475 $', 'Revision: '),'$','')),', ')" />
     5753    <xsl:if test="contains('$Revision: 1.477 $',':')">
     5754      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.477 $', 'Revision: '),'$','')),', ')" />
    57485755    </xsl:if>
    5749     <xsl:if test="contains('$Date: 2009-10-02 10:40:00 $',':')">
    5750       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-10-02 10:40:00 $', 'Date: '),'$','')),', ')" />
     5756    <xsl:if test="contains('$Date: 2009-10-09 21:33:42 $',':')">
     5757      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-10-09 21:33:42 $', 'Date: '),'$','')),', ')" />
    57515758    </xsl:if>
    57525759    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    60956102                  </xsl:if>
    60966103                 
     6104                  <xsl:if test="name()='rfc' and $attr='SANITYCHECK'">
     6105                    <xsl:choose>
     6106                      <xsl:when test="$attrname='include'">
     6107                        <xsl:call-template name="warning">
     6108                          <xsl:with-param name="msg">the rfc include pseudo-attribute is not supported by this processor, see http://greenbytes.de/tech/webdav/rfc2629xslt/rfc2629xslt.html#examples.internalsubset for help.</xsl:with-param>
     6109                          <xsl:with-param name="inline" select="'no'"/>
     6110                        </xsl:call-template>
     6111                      </xsl:when>
     6112                      <xsl:otherwise/>
     6113                    </xsl:choose>
     6114                  </xsl:if>
     6115
    60976116                  <xsl:choose>
    60986117                    <xsl:when test="$attrname != $attr">
Note: See TracChangeset for help on using the changeset viewer.