Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ReSpec for RFC 2119 keywords #171

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,6 @@
div.exampleHeader { font-weight: bold;
margin: 4px}

em.rfc2119 { text-transform: lowercase;
font-variant: small-caps;
font-style: normal; }
@media (max-width: 850px) {
table th, table td { font-size: 12px; padding: 3px 4px;}
.result table tr td:nth-child(2n), .result table tr th:nth-child(2n) { overflow-wrap: anywhere; min-width: 90px; }
Expand Down Expand Up @@ -6311,8 +6308,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 +7520,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 +7535,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 +7550,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 +7566,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 +7582,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
Loading