Ignore:
Timestamp:
May 1, 2011, 2:08:45 AM (9 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r1145 r1276  
    31103110}</xsl:if>
    31113111dd {
    3112   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3113   text-align: justify;</xsl:if>
     3112  margin-right: 2em;
    31143113}
    31153114dl {
     
    31573156li {
    31583157  margin-left: 2em;
    3159   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3160   text-align: justify;</xsl:if>
     3158  margin-right: 2em;
    31613159}
    31623160ol {
     
    31783176p {
    31793177  margin-left: 2em;
    3180   margin-right: 2em;<xsl:if test="$xml2rfc-ext-justification='always'">
    3181   text-align: justify;</xsl:if>
     3178  margin-right: 2em;
    31823179}
    31833180pre {
     
    34743471  font-size: smaller;
    34753472  font-weight: bold;
     3473}</xsl:if><xsl:if test="$xml2rfc-ext-justification='always'">
     3474
     3475dd, li, p {
     3476  text-align: justify;
    34763477}</xsl:if>
    34773478
     
    35123513  }
    35133514<xsl:if test="$xml2rfc-ext-justification='print'">
    3514   dd {
    3515     text-align: justify;
    3516   }
    3517   li {
    3518     text-align: justify;
    3519   }
    3520   p {
     3515  dd, li, p {
    35213516    text-align: justify;
    35223517  }
     
    39323927<xsl:template name="insertPreamble" myns:namespaceless-elements="xml2rfc">
    39333928
    3934   <xsl:variable name="escapeclause">
     3929  <!-- TLP4, Section 6.c.iii -->
     3930  <xsl:variable name="pre5378EscapeClause">
    39353931    This document may contain material from IETF Documents or IETF Contributions published or
    39363932    made publicly available before November 10, 2008. The person(s) controlling the copyright in
     
    39413937    Standards Process, except to format it for publication as an RFC or to translate it into languages
    39423938    other than English.
     3939  </xsl:variable>
     3940 
     3941  <!-- TLP1, Section 6.c.i -->
     3942  <xsl:variable name="noModificationTrust200811Clause">
     3943    This document may not be modified, and derivative works of it may not be
     3944    created, except to format it for publication as an RFC and to translate it
     3945    into languages other than English.
     3946  </xsl:variable>
     3947
     3948  <!-- TLP2..4, Section 6.c.i -->
     3949  <xsl:variable name="noModificationTrust200902Clause">
     3950    This document may not be modified, and derivative works of it may not be
     3951    created, except to format it for publication as an RFC or to translate it
     3952    into languages other than English.<!-- "and" changes to "or" -->
     3953  </xsl:variable>
     3954
     3955  <!-- TLP1..4, Section 6.c.ii -->
     3956  <xsl:variable name="noDerivativesTrust200___Clause">
     3957    This document may not be modified, and derivative works of it may not be
     3958    created, and it may not be published except as an Internet-Draft.
    39433959  </xsl:variable>
    39443960
     
    40614077        <xsl:choose>
    40624078          <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'">
    4063             This document may not be modified, and derivative works of it may
    4064             not be created, except to format it for publication as an RFC and
    4065             to translate it into languages other than English.
     4079            <xsl:value-of select="$noModificationTrust200811Clause"/>
    40664080          </xsl:when>
    40674081          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'">
    4068             This document may not be modified, and derivative works of it may
    4069             not be created, and it may not be published except as an Internet-Draft.
     4082            <xsl:value-of select="$noDerivativesTrust200___Clause"/>
    40704083          </xsl:when>
    40714084          <xsl:when test="/rfc/@ipr = 'noModificationTrust200902'">
    4072             This document may not be modified, and derivative works of it may
    4073             not be created, except to format it for publication as an RFC or
    4074             to translate it into languages other than English.
     4085            <xsl:value-of select="$noModificationTrust200902Clause"/>
    40754086          </xsl:when>
    40764087          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200902'">
    4077             This document may not be modified, and derivative works of it may
    4078             not be created, and it may not be published except as an Internet-Draft.
     4088            <xsl:value-of select="$noDerivativesTrust200___Clause"/>
    40794089          </xsl:when>
    40804090          <!-- escape clause moved to Copyright Notice as of 2009-11 -->
    40814091          <xsl:when test="/rfc/@ipr = 'pre5378Trust200902' and $pub-yearmonth &lt; 200911">
    4082             <xsl:value-of select="$escapeclause"/>
     4092            <xsl:value-of select="$pre5378EscapeClause"/>
    40834093          </xsl:when>
    40844094
     
    43724382        </xsl:choose>
    43734383       
    4374         <!-- special case: RFC5378 escape applies to RFCs as well -->
    4375         <!-- for IDs historically in Status Of This Memo, over here starting 2009-11 -->
    4376         <xsl:if test="(/rfc/@number or $pub-yearmonth &gt;= 200911) and /rfc/@ipr = 'pre5378Trust200902'">
    4377           <t>
    4378             <xsl:value-of select="$escapeclause"/>
    4379           </t>
    4380         </xsl:if>
     4384        <!-- add warning for incpmpatible IPR attribute on RFCs -->
     4385        <xsl:variable name="stds-rfc-compatible-ipr" select="/rfc/@ipr='pre5378Trust200902' or /rfc/@ipr='trust200902' or /rfc/@ipr='trust200811' or /rfc/@ipr='full3978' or /rfc/@ipr='full3667' or /rfc/@ipr='full2026'"/>
     4386       
     4387        <xsl:variable name="rfc-compatible-ipr" select="$stds-rfc-compatible-ipr or /rfc/@ipr='noModificationTrust200902' or /rfc/@ipr='noDerivativesTrust200902' or /rfc/@ipr='noModificationTrust200811' or /rfc/@ipr='noDerivativesTrust200811'"/>
     4388                      <!-- TODO: may want to add more historic variants -->
     4389                     
     4390        <xsl:variable name="is-stds-track" select="$submissionType='IETF' and /rfc/@category='std'"/>
     4391       
     4392        <xsl:variable name="status-diags">
     4393          <xsl:choose>
     4394            <xsl:when test="$is-stds-track and /rfc/@number and /rfc/@ipr and not($stds-rfc-compatible-ipr)">
     4395              <xsl:value-of select="concat('The /rfc/@ipr attribute value of ',/rfc/@ipr,' is not allowed on standards-track RFCs.')"/>
     4396            </xsl:when>
     4397            <xsl:when test="/rfc/@number and /rfc/@ipr and not($rfc-compatible-ipr)">
     4398              <xsl:value-of select="concat('The /rfc/@ipr attribute value of ',/rfc/@ipr,' is not allowed on RFCs.')"/>
     4399            </xsl:when>
     4400            <xsl:otherwise/>
     4401          </xsl:choose>
     4402        </xsl:variable>
     4403
     4404        <xsl:choose>
     4405          <xsl:when test="$status-diags!=''">
     4406            <t>
     4407              <spanx><xsl:value-of select="$status-diags"/></spanx>
     4408            </t>
     4409            <xsl:call-template name="error">
     4410              <xsl:with-param name="msg" select="$status-diags"/>
     4411              <xsl:with-param name="inline" select="'no'"/>
     4412            </xsl:call-template>
     4413          </xsl:when>
     4414          <xsl:when test="(/rfc/@number or $pub-yearmonth &gt;= 200911) and /rfc/@ipr = 'pre5378Trust200902'">
     4415          <!-- special case: RFC5378 escape applies to RFCs as well -->
     4416          <!-- for IDs historically in Status Of This Memo, over here starting 2009-11 -->
     4417            <t>
     4418              <xsl:value-of select="$pre5378EscapeClause"/>
     4419            </t>
     4420          </xsl:when>
     4421          <xsl:when test="not(/rfc/@number)">
     4422            <!-- not an RFC, handled elsewhere -->
     4423          </xsl:when>
     4424          <xsl:when test="not(/rfc/@ipr)">
     4425            <!-- no IPR value; done -->
     4426          </xsl:when>
     4427          <xsl:when test="/rfc/@ipr='trust200902' or /rfc/@ipr='trust200811' or /rfc/@ipr='full3978' or /rfc/@ipr='full3667' or /rfc/@ipr='full2026'">
     4428            <!-- default IPR, allowed here -->
     4429          </xsl:when>
     4430          <xsl:when test="/rfc/@ipr='noModificationTrust200811'">
     4431            <t>
     4432              <xsl:value-of select="$noModificationTrust200811Clause"/>
     4433            </t>
     4434          </xsl:when>
     4435          <xsl:when test="/rfc/@ipr='noModificationTrust200902'">
     4436            <t>
     4437              <xsl:value-of select="$noModificationTrust200902Clause"/>
     4438            </t>
     4439          </xsl:when>
     4440          <xsl:when test="/rfc/@ipr='noDerivativesTrust200902' or /rfc/@ipr='noDerivativesTrust200811'">
     4441            <t>
     4442              <xsl:value-of select="$noDerivativesTrust200___Clause"/>
     4443            </t>
     4444          </xsl:when>
     4445          <xsl:otherwise>
     4446            <xsl:variable name="msg" select="concat('unexpected value of /rfc/@ipr for this type of document: ',/rfc/@ipr)"/>
     4447            <t>
     4448              <spanx><xsl:value-of select="$msg"/></spanx>
     4449            </t>
     4450            <xsl:call-template name="error">
     4451              <xsl:with-param name="msg" select="$msg"/>
     4452              <xsl:with-param name="inline" select="'no'"/>
     4453            </xsl:call-template>
     4454          </xsl:otherwise>
     4455        </xsl:choose>
    43814456       
    43824457      </section>
     
    60996174    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    61006175    <!-- when RCS keyword substitution in place, add version info -->
    6101     <xsl:if test="contains('$Revision: 1.543 $',':')">
    6102       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.543 $', 'Revision: '),'$','')),', ')"/>
     6176    <xsl:if test="contains('$Revision: 1.547 $',':')">
     6177      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.547 $', 'Revision: '),'$','')),', ')"/>
    61036178    </xsl:if>
    6104     <xsl:if test="contains('$Date: 2011-02-18 21:03:40 $',':')">
    6105       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-02-18 21:03:40 $', 'Date: '),'$','')),', ')"/>
     6179    <xsl:if test="contains('$Date: 2011-04-17 09:42:41 $',':')">
     6180      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-04-17 09:42:41 $', 'Date: '),'$','')),', ')"/>
    61066181    </xsl:if>
    61076182    <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.