Ignore:
Timestamp:
Jul 5, 2012, 10:20:04 AM (7 years ago)
Author:
julian.reschke@…
Message:

add idempotency to the registration fields for new methods (see #364)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/extract-method-defs.xslt

    r1561 r1728  
    1313      <ttcol>Method</ttcol>
    1414      <ttcol>Safe</ttcol>
     15      <ttcol>Idempotent</ttcol>
    1516      <ttcol>Reference</ttcol>
    1617      <xsl:apply-templates select="//section[iref/@item='Methods']">
     
    8485  </xsl:variable>
    8586
     87  <xsl:variable name="idempotent" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#">
     88    <xsl:choose>
     89      <xsl:when test="rdf:Description/p2:idempotent='yes'">yes</xsl:when>
     90      <xsl:otherwise>no</xsl:otherwise>
     91    </xsl:choose>
     92  </xsl:variable>
     93
    8694  <xsl:text>&#10;</xsl:text>
    8795  <c><xsl:value-of select="$text"/></c>
    8896  <c><xsl:value-of select="$safe"/></c>
     97  <c><xsl:value-of select="$idempotent"/></c>
    8998  <c><xref target="{@anchor}"/></c>
    9099</xsl:template>
Note: See TracChangeset for help on using the changeset viewer.