Skip to content

Commit e884490

Browse files
committed
Use ReSpec for RFC 2119 keywords
1 parent 2efdcc7 commit e884490

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

spec/index.html

+6-20
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,6 @@
328328
div.exampleHeader { font-weight: bold;
329329
margin: 4px}
330330

331-
em.rfc2119 { text-transform: lowercase;
332-
font-variant: small-caps;
333-
font-style: normal; }
334331
@media (max-width: 850px) {
335332
table th, table td { font-size: 12px; padding: 3px 4px;}
336333
.result table tr td:nth-child(2n), .result table tr th:nth-child(2n) { overflow-wrap: anywhere; min-width: 90px; }
@@ -6308,8 +6305,7 @@ <h5>IRI</h5>
63086305
<p>If the function is passed an IRI, it returns the IRI unchanged.</p>
63096306
<p>Passing any RDF term other than a literal with datatype <code>xsd:string</code> or an IRI is an
63106307
error.</p>
6311-
<p>An implementation <em class="rfc2119" title="Keyword in RFC 2119 context">MAY</em>
6312-
normalize the IRI.</p>
6308+
<p>An implementation MAY normalize the IRI.</p>
63136309
<p>Examples:</p>
63146310
<div class="result">
63156311
<table>
@@ -7521,9 +7517,7 @@ <h4>Hash Functions</h4>
75217517
<section id="func-md5">
75227518
<h5>MD5</h5>
75237519
<pre class="prototype nohighlight"> <span class="return">xsd:string</span> <span class="operator">MD5</span> (<span class="type"><span class="type">xsd:string</span></span> <span class="name">arg</span>)</pre>
7524-
<p>Returns the MD5 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
7525-
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
7526-
case.</p>
7520+
<p>Returns the MD5 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex digits SHOULD be in lower case.</p>
75277521
<div class="result">
75287522
<table>
75297523
<tbody>
@@ -7538,9 +7532,7 @@ <h5>MD5</h5>
75387532
<section id="func-sha1">
75397533
<h5>SHA1</h5>
75407534
<pre class="prototype nohighlight"> <span class="return">xsd:string</span> <span class="operator">SHA1</span> (<span class="type"><span class="type">xsd:string</span></span> <span class="name">arg</span>)</pre>
7541-
<p>Returns the SHA1 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
7542-
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
7543-
case.</p>
7535+
<p>Returns the SHA1 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex digits SHOULD be in lower case.</p>
75447536
<div class="result">
75457537
<table>
75467538
<tbody>
@@ -7555,9 +7547,7 @@ <h5>SHA1</h5>
75557547
<section id="func-sha256">
75567548
<h5>SHA256</h5>
75577549
<pre class="prototype nohighlight"> <span class="return">xsd:string</span> <span class="operator">SHA256</span> (<span class="type"><span class="type">xsd:string</span></span> <span class="name">arg</span>)</pre>
7558-
<p>Returns the SHA256 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
7559-
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
7560-
case.</p>
7550+
<p>Returns the SHA256 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex digits SHOULD be in lower case.</p>
75617551
<div class="result">
75627552
<table>
75637553
<tbody>
@@ -7573,9 +7563,7 @@ <h5>SHA256</h5>
75737563
<section id="func-sha384">
75747564
<h5>SHA384</h5>
75757565
<pre class="prototype nohighlight"> <span class="return">xsd:string</span> <span class="operator">SHA384</span> (<span class="type"><span class="type">xsd:string</span></span> <span class="name">arg</span>)</pre>
7576-
<p>Returns the SHA384 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
7577-
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
7578-
case.</p>
7566+
<p>Returns the SHA384 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex digits SHOULD be in lower case.</p>
75797567
<div class="result">
75807568
<table>
75817569
<tbody>
@@ -7591,9 +7579,7 @@ <h5>SHA384</h5>
75917579
<section id="func-sha512">
75927580
<h5>SHA512</h5>
75937581
<pre class="prototype nohighlight"> <span class="return">xsd:string</span> <span class="operator">SHA512</span> (<span class="type"><span class="type">xsd:string</span></span> <span class="name">arg</span>)</pre>
7594-
<p>Returns the SHA512 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
7595-
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
7596-
case.</p>
7582+
<p>Returns the SHA512 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex digits SHOULD be in lower case.</p>
75977583
<div class="result">
75987584
<table>
75997585
<tbody>

0 commit comments

Comments
 (0)