Ignore:
Timestamp:
Nov 21, 2008, 12:25:09 PM (11 years ago)
Author:
julian.reschke@…
Message:

reference RFC5234 core rules directly, fix line end bug in appendix generation (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/abnf2xml2rfc.xslt

    r421 r425  
    1313<figure>
    1414  <artwork type="abnf" name="{$abnf}">
    15     <xsl:value-of select="$collected"/>
     15    <xsl:text>&#10;</xsl:text>
     16    <xsl:value-of select="translate($collected,'&#13;','')"/>
    1617  </artwork>
    1718</figure> 
    1819  </section>
    1920
    20   <!-- check whether it's up2date... -->
     21  <!-- check whether it's up-to-date... -->
    2122 
    22   <xsl:if test="not(//section[@anchor='collected.abnf']) or //section[@anchor='collected.abnf']//artwork != $collected">
     23  <xsl:if test="not(//section[@anchor='collected.abnf']) or normalize-space(//section[@anchor='collected.abnf']//artwork) != normalize-space($collected)">
    2324    <xsl:message>WARNING: appendix contained inside source document needs to be updated</xsl:message>
    24 <!--    <xsl:message>A: <xsl:value-of select="//section[@anchor='collected.abnf']//artwork"/></xsl:message>
     25    <!--<xsl:message>A: <xsl:value-of select="//section[@anchor='collected.abnf']//artwork"/></xsl:message>
    2526    <xsl:message>B: <xsl:value-of select="$collected"/></xsl:message>-->
    2627  </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.