Ignore:
Timestamp:
01/03/10 09:10:00 (11 years ago)
Author:
julian.reschke@…
Message:

latest version of rfc2629.xslt, bump up document dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r754 r764  
    14351435      <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
    14361436    </xsl:call-template>
     1437  </xsl:if>
     1438
     1439  <!-- check normative/informative -->
     1440  <xsl:variable name="t-r-is-normative" select="ancestor-or-self::*[@x:nrm][1]"/>
     1441  <xsl:variable name="r-is-normative" select="$t-r-is-normative/@x:nrm='true'"/>
     1442  <xsl:if test="$r-is-normative and not(ancestor::ed:del)">
     1443    <xsl:variable name="tst">
     1444      <xsl:for-each select="key('xref-item',$anchor)">
     1445        <xsl:variable name="t-is-normative" select="ancestor-or-self::*[@x:nrm][1]"/>
     1446        <xsl:variable name="is-normative" select="$t-is-normative/@x:nrm='true'"/>
     1447        <xsl:if test="$is-normative">OK</xsl:if>
     1448      </xsl:for-each>
     1449    </xsl:variable>
     1450    <xsl:if test="$tst=''">
     1451      <xsl:call-template name="warning">
     1452        <xsl:with-param name="inline" select="'no'"/>
     1453        <xsl:with-param name="msg">all references to the normative reference '<xsl:value-of select="@anchor"/>' appear to be informative</xsl:with-param>
     1454      </xsl:call-template>
     1455    </xsl:if>
    14371456  </xsl:if>
    14381457
     
    21582177
    21592178    <xsl:otherwise>
     2179      <!-- check normative/informative -->
     2180      <xsl:variable name="t-is-normative" select="ancestor-or-self::*[@x:nrm][1]"/>
     2181      <xsl:variable name="is-normative" select="$t-is-normative/@x:nrm='true'"/>
     2182      <xsl:if test="count($node)=1 and $is-normative">
     2183        <xsl:variable name="t-r-is-normative" select="$node/ancestor-or-self::*[@x:nrm][1]"/>
     2184        <xsl:variable name="r-is-normative" select="$t-r-is-normative/@x:nrm='true'"/>
     2185        <xsl:if test="not($r-is-normative)">
     2186          <xsl:call-template name="warning">
     2187            <xsl:with-param name="inline" select="'no'"/>
     2188            <xsl:with-param name="msg" select="concat('Potentially normative reference to ',@target,' not referenced normatively')"/>
     2189          </xsl:call-template>
     2190        </xsl:if>
     2191      </xsl:if>
     2192     
    21602193      <a href="#{$target}">
    21612194        <xsl:if test="@format='none'">
     
    21962229    <xsl:variable name="node" select="key('anchor-item',$xref/@target)" />
    21972230    <xsl:if test="count($node)=0 and not($node/ancestor::ed:del)">
    2198       <xsl:call-template name="error">
    2199         <xsl:with-param name="msg" select="concat('Undefined target: ',$xref/@target)"/>
    2200       </xsl:call-template>
     2231      <xsl:for-each select="$xref">
     2232        <xsl:call-template name="error">
     2233          <xsl:with-param name="msg" select="concat('Undefined target: ',$xref/@target)"/>
     2234        </xsl:call-template>
     2235      </xsl:for-each>
    22012236    </xsl:if>
    2202  
     2237
    22032238    <xsl:choose>
    22042239   
     
    23082343      <xsl:when test="$node/self::reference">
    23092344 
     2345        <!-- check normative/informative -->
     2346        <xsl:variable name="t-is-normative" select="$xref/ancestor-or-self::*[@x:nrm][1]"/>
     2347        <xsl:variable name="is-normative" select="$t-is-normative/@x:nrm='true'"/>
     2348        <xsl:if test="count($node)=1 and $is-normative">
     2349          <xsl:variable name="t-r-is-normative" select="$node/ancestor-or-self::*[@x:nrm][1]"/>
     2350          <xsl:variable name="r-is-normative" select="$t-r-is-normative/@x:nrm='true'"/>
     2351          <xsl:if test="not($r-is-normative)">
     2352            <xsl:for-each select="$xref">
     2353              <xsl:call-template name="warning">
     2354                <xsl:with-param name="inline" select="'no'"/>
     2355                <xsl:with-param name="msg" select="concat('Potentially normative reference to ',$xref/@target,' not referenced normatively')"/>
     2356              </xsl:call-template>
     2357            </xsl:for-each>
     2358          </xsl:if>
     2359        </xsl:if>
     2360     
    23102361        <xsl:variable name="href">
    23112362          <xsl:call-template name="computed-target">
     
    60636114    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    60646115    <!-- when RCS keyword substitution in place, add version info -->
    6065     <xsl:if test="contains('$Revision: 1.508 $',':')">
    6066       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.508 $', 'Revision: '),'$','')),', ')" />
     6116    <xsl:if test="contains('$Revision: 1.510 $',':')">
     6117      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.510 $', 'Revision: '),'$','')),', ')" />
    60676118    </xsl:if>
    6068     <xsl:if test="contains('$Date: 2010-01-29 12:52:17 $',':')">
    6069       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-01-29 12:52:17 $', 'Date: '),'$','')),', ')" />
     6119    <xsl:if test="contains('$Date: 2010-02-20 17:14:25 $',':')">
     6120      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-02-20 17:14:25 $', 'Date: '),'$','')),', ')" />
    60706121    </xsl:if>
    60716122    <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.