Changeset 1777


Ignore:
Timestamp:
Jul 14, 2012, 11:05:50 AM (7 years ago)
Author:
julian.reschke@…
Message:

fix ABNF-to-appendix script to properly handle the preamble again

File:
1 edited

Legend:

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

    r1773 r1777  
    9292  </xsl:variable>
    9393 
    94   <xsl:if test="not(//section[@anchor='collected.abnf']) or normalize-space($src) != normalize-space($generated)">
     94  <xsl:variable name="new">
     95    <xsl:value-of select="$generated//artwork"/>
     96  </xsl:variable>
     97 
     98  <xsl:if test="not(//section[@anchor='collected.abnf']) or normalize-space($src) != normalize-space($new)">
    9599    <xsl:message>WARNING: appendix contained inside source document needs to be updated</xsl:message>
    96100    <xsl:call-template name="showdiff">
    97101      <xsl:with-param name="actual" select="normalize-space($src)"/>
    98       <xsl:with-param name="expected" select="normalize-space($generated)"/>
     102      <xsl:with-param name="expected" select="normalize-space($new)"/>
    99103    </xsl:call-template>
    100104  </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.