Skip to content

Commit

Permalink
Use ReSpec for RFC 2119 keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Nov 26, 2024
1 parent b163a60 commit 04a4598
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6311,8 +6311,7 @@ <h5>IRI</h5>
<p>If the function is passed an IRI, it returns the IRI unchanged.</p>
<p>Passing any RDF term other than a literal with datatype <code>xsd:string</code> or an IRI is an
error.</p>
<p>An implementation <em class="rfc2119" title="Keyword in RFC 2119 context">MAY</em>
normalize the IRI.</p>
<p>An implementation MAY normalize the IRI.</p>
<p>Examples:</p>
<div class="result">
<table>
Expand Down Expand Up @@ -7524,9 +7523,7 @@ <h4>Hash Functions</h4>
<section id="func-md5">
<h5>MD5</h5>
<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>
<p>Returns the MD5 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
case.</p>
<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>
<div class="result">
<table>
<tbody>
Expand All @@ -7541,9 +7538,7 @@ <h5>MD5</h5>
<section id="func-sha1">
<h5>SHA1</h5>
<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>
<p>Returns the SHA1 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
case.</p>
<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>
<div class="result">
<table>
<tbody>
Expand All @@ -7558,9 +7553,7 @@ <h5>SHA1</h5>
<section id="func-sha256">
<h5>SHA256</h5>
<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>
<p>Returns the SHA256 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
case.</p>
<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>
<div class="result">
<table>
<tbody>
Expand All @@ -7576,9 +7569,7 @@ <h5>SHA256</h5>
<section id="func-sha384">
<h5>SHA384</h5>
<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>
<p>Returns the SHA384 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
case.</p>
<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>
<div class="result">
<table>
<tbody>
Expand All @@ -7594,9 +7585,7 @@ <h5>SHA384</h5>
<section id="func-sha512">
<h5>SHA512</h5>
<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>
<p>Returns the SHA512 checksum, as a hex digit string, calculated on the lexical form of the <code>xsd:string</code>. Hex
digits <em class="rfc2119" title="Keyword in RFC 2119 context">SHOULD</em> be in lower
case.</p>
<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>
<div class="result">
<table>
<tbody>
Expand Down

0 comments on commit 04a4598

Please sign in to comment.