Ignore:
Timestamp:
Dec 1, 2010, 4:07:53 AM (9 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

    r1072 r1095  
    337337      <xsl:call-template name="error">
    338338        <xsl:with-param name="msg" select="concat('Unsupported value for /rfc/@submissionType: ', /rfc/@submissionType)"/>
     339        <xsl:with-param name="inline" select="'no'"/>
     340      </xsl:call-template>
     341    </xsl:otherwise>
     342  </xsl:choose>
     343 
     344  <!-- sanity check on @consensus -->
     345  <xsl:if test="/rfc/@consensus and (/rfc/@submissionType='IAB' or /rfc/@submissionType='independent')">
     346    <xsl:call-template name="warning">
     347      <xsl:with-param name="msg" select="concat('/rfc/@consensus meaningless with a /rfc/@submissionType value of ', /rfc/@submissionType)"/>
     348      <xsl:with-param name="inline" select="'no'"/>
     349    </xsl:call-template>
     350  </xsl:if>
     351</xsl:variable>
     352
     353<xsl:variable name="consensus">
     354  <xsl:choose>
     355    <xsl:when test="/rfc/@consensus='yes' or not(/rfc/@consensus)">yes</xsl:when>
     356    <xsl:when test="/rfc/@consensus='no'">no</xsl:when>
     357    <xsl:otherwise>
     358      <xsl:value-of select="concat('(UNSUPPORTED VALUE FOR CONSENSUS: ',/rfc/@consensus,')')"/>
     359      <xsl:call-template name="error">
     360        <xsl:with-param name="msg" select="concat('Unsupported value for /rfc/@consensus: ', /rfc/@consensus)"/>
    339361        <xsl:with-param name="inline" select="'no'"/>
    340362      </xsl:call-template>
     
    32823304  margin-left: 0em;
    32833305}
    3284 <xsl:if test="$has-index">ul.ind {
     3306<xsl:if test="$has-index">ul.ind, ul.ind ul {
    32853307  list-style: none;
    32863308  margin-left: 1.5em;
     
    41684190          (IETF).
    41694191          <xsl:choose>
    4170             <xsl:when test="not(/rfc/@consensus) or /rfc/@consensus='yes'">
     4192            <xsl:when test="$consensus='yes'">
    41714193              It represents the consensus of the IETF community.  It has
    41724194              received public review and has been approved for publication by
     
    41764198              It has been approved for publication by the Internet Engineering
    41774199              Steering Group (IESG).
     4200              <!-- sanity check of $consensus -->
     4201              <xsl:if test="/rfc/@category='std' or /rfc/@category='bcp'">
     4202                <xsl:call-template name="error">
     4203                  <xsl:with-param name="msg" select="'IETF BCPs and Standards Track documents require IETF consensus, check values of @category and @consensus!'"/>
     4204                  <xsl:with-param name="inline" select="'no'"/>
     4205                </xsl:call-template>
     4206              </xsl:if>
    41784207            </xsl:otherwise>
    41794208          </xsl:choose>
     
    41904219          deployment.
    41914220          <xsl:choose>
    4192             <xsl:when test="(not(/rfc/@consensus) or /rfc/@consensus='yes') and /rfc/front/workgroup!=''">
     4221            <xsl:when test="$consensus='yes' and /rfc/front/workgroup!=''">
    41934222              This RFC represents the consensus of the
    41944223              <xsl:value-of select="/rfc/front/workgroup"/> Research Group of the Internet
    41954224              Research Task Force (IRTF).
    41964225            </xsl:when>
    4197             <xsl:when test="/rfc/@consensus='no' and /rfc/front/workgroup!=''">
     4226            <xsl:when test="$consensus='no' and /rfc/front/workgroup!=''">
    41984227              This RFC represents the individual opinion(s) of one or more
    41994228              members of the <xsl:value-of select="/rfc/front/workgroup"/> Research Group of the
     
    60256054    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    60266055    <!-- when RCS keyword substitution in place, add version info -->
    6027     <xsl:if test="contains('$Revision: 1.531 $',':')">
    6028       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.531 $', 'Revision: '),'$','')),', ')"/>
     6056    <xsl:if test="contains('$Revision: 1.536 $',':')">
     6057      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.536 $', 'Revision: '),'$','')),', ')"/>
    60296058    </xsl:if>
    6030     <xsl:if test="contains('$Date: 2010-10-31 21:50:52 $',':')">
    6031       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-10-31 21:50:52 $', 'Date: '),'$','')),', ')"/>
     6059    <xsl:if test="contains('$Date: 2010-11-29 12:56:12 $',':')">
     6060      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-11-29 12:56:12 $', 'Date: '),'$','')),', ')"/>
    60326061    </xsl:if>
    60336062    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    65286557      <xsl:text> (at line </xsl:text>
    65296558      <xsl:value-of select="saxon-old:line-number()"/>
     6559      <xsl:if test="function-available('saxon-old:systemId')">
     6560        <xsl:variable name="rootsys">
     6561          <xsl:for-each select="/*">
     6562            <xsl:value-of select="saxon-old:systemId()"/>
     6563          </xsl:for-each>
     6564        </xsl:variable>
     6565        <xsl:if test="$rootsys != saxon-old:systemId()">
     6566          <xsl:text> of </xsl:text>
     6567          <xsl:value-of select="saxon-old:systemId()"/>
     6568        </xsl:if>
     6569      </xsl:if>
    65306570      <xsl:text>)</xsl:text>
    65316571    </xsl:if>
     
    65356575      <xsl:text> (at line </xsl:text>
    65366576      <xsl:value-of select="saxon:line-number()"/>
     6577      <xsl:if test="function-available('saxon:systemId')">
     6578        <xsl:variable name="rootsys">
     6579          <xsl:for-each select="/*">
     6580            <xsl:value-of select="saxon:systemId()"/>
     6581          </xsl:for-each>
     6582        </xsl:variable>
     6583        <xsl:if test="$rootsys != saxon:systemId()">
     6584          <xsl:text> of </xsl:text>
     6585          <xsl:value-of select="saxon:systemId()"/>
     6586        </xsl:if>
     6587      </xsl:if>
    65376588      <xsl:text>)</xsl:text>
    65386589    </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.