Ignore:
Timestamp:
01/05/11 09:08:45 (9 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r1145 r1276  
    32423242}</xsl:if>
    32433243dd {
    3244   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3245   text-align: justify;</xsl:if>
     3244  margin-right: 2em;
    32463245}
    32473246dl {
     
    32893288li {
    32903289  margin-left: 2em;
    3291   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3292   text-align: justify;</xsl:if>
     3290  margin-right: 2em;
    32933291}
    32943292ol {
     
    33103308p {
    33113309  margin-left: 2em;
    3312   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3313   text-align: justify;</xsl:if>
     3310  margin-right: 2em;
    33143311}
    33153312pre {
     
    36063603  font-size: smaller;
    36073604  font-weight: bold;
     3605}</xsl:if><xsl:if test="$xml2rfc-ext-justification='always'">
     3606
     3607dd, li, p {
     3608  text-align: justify;
    36083609}</xsl:if>
    36093610
     
    36443645  }
    36453646<xsl:if test="$xml2rfc-ext-justification='print'">
    3646   dd {
    3647     text-align: justify;
    3648   }
    3649   li {
    3650     text-align: justify;
    3651   }
    3652   p {
     3647  dd, li, p {
    36533648    text-align: justify;
    36543649  }
     
    40644059<xsl:template name="insertPreamble" myns:namespaceless-elements="xml2rfc">
    40654060
    4066   <xsl:variable name="escapeclause">
     4061  <!-- TLP4, Section 6.c.iii -->
     4062  <xsl:variable name="pre5378EscapeClause">
    40674063    This document may contain material from IETF Documents or IETF Contributions published or
    40684064    made publicly available before November 10, 2008. The person(s) controlling the copyright in
     
    40734069    Standards Process, except to format it for publication as an RFC or to translate it into languages
    40744070    other than English.
     4071  </xsl:variable>
     4072 
     4073  <!-- TLP1, Section 6.c.i -->
     4074  <xsl:variable name="noModificationTrust200811Clause">
     4075    This document may not be modified, and derivative works of it may not be
     4076    created, except to format it for publication as an RFC and to translate it
     4077    into languages other than English.
     4078  </xsl:variable>
     4079
     4080  <!-- TLP2..4, Section 6.c.i -->
     4081  <xsl:variable name="noModificationTrust200902Clause">
     4082    This document may not be modified, and derivative works of it may not be
     4083    created, except to format it for publication as an RFC or to translate it
     4084    into languages other than English.<!-- "and" changes to "or" -->
     4085  </xsl:variable>
     4086
     4087  <!-- TLP1..4, Section 6.c.ii -->
     4088  <xsl:variable name="noDerivativesTrust200___Clause">
     4089    This document may not be modified, and derivative works of it may not be
     4090    created, and it may not be published except as an Internet-Draft.
    40754091  </xsl:variable>
    40764092
     
    42024218        <xsl:choose>
    42034219          <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'">
    4204             This document may not be modified, and derivative works of it may
    4205             not be created, except to format it for publication as an RFC and
    4206             to translate it into languages other than English.
     4220            <xsl:value-of select="$noModificationTrust200811Clause"/>
    42074221          </xsl:when>
    42084222          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'">
    4209             This document may not be modified, and derivative works of it may
    4210             not be created, and it may not be published except as an Internet-Draft.
     4223            <xsl:value-of select="$noDerivativesTrust200___Clause"/>
    42114224          </xsl:when>
    42124225          <xsl:when test="/rfc/@ipr = 'noModificationTrust200902'">
    4213             This document may not be modified, and derivative works of it may
    4214             not be created, except to format it for publication as an RFC or
    4215             to translate it into languages other than English.
     4226            <xsl:value-of select="$noModificationTrust200902Clause"/>
    42164227          </xsl:when>
    42174228          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200902'">
    4218             This document may not be modified, and derivative works of it may
    4219             not be created, and it may not be published except as an Internet-Draft.
     4229            <xsl:value-of select="$noDerivativesTrust200___Clause"/>
    42204230          </xsl:when>
    42214231          <!-- escape clause moved to Copyright Notice as of 2009-11 -->
    42224232          <xsl:when test="/rfc/@ipr = 'pre5378Trust200902' and $pub-yearmonth &lt; 200911">
    4223             <xsl:value-of select="$escapeclause"/>
     4233            <xsl:value-of select="$pre5378EscapeClause"/>
    42244234          </xsl:when>
    42254235
     
    45134523        </xsl:choose>
    45144524       
    4515         <!-- special case: RFC5378 escape applies to RFCs as well -->
    4516         <!-- for IDs historically in Status Of This Memo, over here starting 2009-11 -->
    4517         <xsl:if test="(/rfc/@number or $pub-yearmonth >= 200911) and /rfc/@ipr = 'pre5378Trust200902'">
    4518           <t>
    4519             <xsl:value-of select="$escapeclause"/>
    4520           </t>
    4521         </xsl:if>
     4525        <!-- add warning for incpmpatible IPR attribute on RFCs -->
     4526        <xsl:variable name="stds-rfc-compatible-ipr"
     4527                      select="/rfc/@ipr='pre5378Trust200902' or /rfc/@ipr='trust200902' or /rfc/@ipr='trust200811' or /rfc/@ipr='full3978' or /rfc/@ipr='full3667' or /rfc/@ipr='full2026'"/>
     4528       
     4529        <xsl:variable name="rfc-compatible-ipr"
     4530                      select="$stds-rfc-compatible-ipr or /rfc/@ipr='noModificationTrust200902' or /rfc/@ipr='noDerivativesTrust200902' or /rfc/@ipr='noModificationTrust200811' or /rfc/@ipr='noDerivativesTrust200811'"/>
     4531                      <!-- TODO: may want to add more historic variants -->
     4532                     
     4533        <xsl:variable name="is-stds-track"
     4534                      select="$submissionType='IETF' and /rfc/@category='std'"/>
     4535       
     4536        <xsl:variable name="status-diags">
     4537          <xsl:choose>
     4538            <xsl:when test="$is-stds-track and /rfc/@number and /rfc/@ipr and not($stds-rfc-compatible-ipr)">
     4539              <xsl:value-of select="concat('The /rfc/@ipr attribute value of ',/rfc/@ipr,' is not allowed on standards-track RFCs.')"/>
     4540            </xsl:when>
     4541            <xsl:when test="/rfc/@number and /rfc/@ipr and not($rfc-compatible-ipr)">
     4542              <xsl:value-of select="concat('The /rfc/@ipr attribute value of ',/rfc/@ipr,' is not allowed on RFCs.')"/>
     4543            </xsl:when>
     4544            <xsl:otherwise/>
     4545          </xsl:choose>
     4546        </xsl:variable>
     4547
     4548        <xsl:choose>
     4549          <xsl:when test="$status-diags!=''">
     4550            <t>
     4551              <spanx><xsl:value-of select="$status-diags"/></spanx>
     4552            </t>
     4553            <xsl:call-template name="error">
     4554              <xsl:with-param name="msg" select="$status-diags"/>
     4555              <xsl:with-param name="inline" select="'no'"/>
     4556            </xsl:call-template>
     4557          </xsl:when>
     4558          <xsl:when test="(/rfc/@number or $pub-yearmonth >= 200911) and /rfc/@ipr = 'pre5378Trust200902'">
     4559          <!-- special case: RFC5378 escape applies to RFCs as well -->
     4560          <!-- for IDs historically in Status Of This Memo, over here starting 2009-11 -->
     4561            <t>
     4562              <xsl:value-of select="$pre5378EscapeClause"/>
     4563            </t>
     4564          </xsl:when>
     4565          <xsl:when test="not(/rfc/@number)">
     4566            <!-- not an RFC, handled elsewhere -->
     4567          </xsl:when>
     4568          <xsl:when test="not(/rfc/@ipr)">
     4569            <!-- no IPR value; done -->
     4570          </xsl:when>
     4571          <xsl:when test="/rfc/@ipr='trust200902' or /rfc/@ipr='trust200811' or /rfc/@ipr='full3978' or /rfc/@ipr='full3667' or /rfc/@ipr='full2026'">
     4572            <!-- default IPR, allowed here -->
     4573          </xsl:when>
     4574          <xsl:when test="/rfc/@ipr='noModificationTrust200811'">
     4575            <t>
     4576              <xsl:value-of select="$noModificationTrust200811Clause"/>
     4577            </t>
     4578          </xsl:when>
     4579          <xsl:when test="/rfc/@ipr='noModificationTrust200902'">
     4580            <t>
     4581              <xsl:value-of select="$noModificationTrust200902Clause"/>
     4582            </t>
     4583          </xsl:when>
     4584          <xsl:when test="/rfc/@ipr='noDerivativesTrust200902' or /rfc/@ipr='noDerivativesTrust200811'">
     4585            <t>
     4586              <xsl:value-of select="$noDerivativesTrust200___Clause"/>
     4587            </t>
     4588          </xsl:when>
     4589          <xsl:otherwise>
     4590            <xsl:variable name="msg" select="concat('unexpected value of /rfc/@ipr for this type of document: ',/rfc/@ipr)"/>
     4591            <t>
     4592              <spanx><xsl:value-of select="$msg"/></spanx>
     4593            </t>
     4594            <xsl:call-template name="error">
     4595              <xsl:with-param name="msg" select="$msg"/>
     4596              <xsl:with-param name="inline" select="'no'"/>
     4597            </xsl:call-template>
     4598          </xsl:otherwise>
     4599        </xsl:choose>
    45224600       
    45234601      </section>
     
    62416319    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    62426320    <!-- when RCS keyword substitution in place, add version info -->
    6243     <xsl:if test="contains('$Revision: 1.543 $',':')">
    6244       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.543 $', 'Revision: '),'$','')),', ')" />
     6321    <xsl:if test="contains('$Revision: 1.547 $',':')">
     6322      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.547 $', 'Revision: '),'$','')),', ')" />
    62456323    </xsl:if>
    6246     <xsl:if test="contains('$Date: 2011-02-18 21:03:40 $',':')">
    6247       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-02-18 21:03:40 $', 'Date: '),'$','')),', ')" />
     6324    <xsl:if test="contains('$Date: 2011-04-17 09:42:41 $',':')">
     6325      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-04-17 09:42:41 $', 'Date: '),'$','')),', ')" />
    62486326    </xsl:if>
    62496327    <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.