Ignore:
Timestamp:
Jul 15, 2012, 3:16:04 AM (7 years ago)
Author:
julian.reschke@…
Message:

tune the code that generated "ABNF diagnostics" so that they only show up for unexpected problems

File:
1 edited

Legend:

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

    r1777 r1788  
    6464          <xsl:when test="$prod!='' and $src//iref[@item='Header Fields' and @subitem=$prod]">
    6565            <!-- header field; expected not to be reference -->
     66          </xsl:when>
     67          <xsl:when test="$prod!='' and $src//iref[@item='Grammar' and @subitem=$prod and comment()='terminal production']">
     68            <!-- known to be a terminal production -->
     69          </xsl:when>
     70          <xsl:when test="$prod!='' and $src//iref[@item='Grammar' and @subitem=$prod and comment()='exported production']">
     71            <!-- known to be used in another part -->
     72          </xsl:when>
     73          <xsl:when test="$prod!='' and $src//iref[@item='Grammar' and @subitem=$prod and comment()='unused production']">
     74            <!-- known to be unused, but we want to include it anyway -->
    6675          </xsl:when>
    6776          <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.