Skip to content

Commit 3220ddc

Browse files
committed
Fix some HTML and sync common files.
1 parent d85a953 commit 3220ddc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

common/extract-examples.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
require 'yaml'
1818
require 'cgi'
1919

20+
# FIXME: This is here until the rdf:JSON is added in RDF.rb
21+
unless RDF::RDFV.properties.include?( RDF.to_uri + 'JSON')
22+
RDF::RDFV.property :JSON, label: "JSON", comment: "JSON datatype"
23+
end
24+
2025
PREFIXES = {
2126
dc: "http://purl.org/dc/terms/",
2227
cred: "https://w3id.org/credentials#",

common/terms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
<dt><dfn>JSON literal</dfn></dt><dd>
339339
A <a>JSON literal</a> is a <a>typed literal</a> where the associated <a>IRI</a> is <code>rdf:JSON</code>.
340340
In the <a>value object</a> representation, the value of <code>@type</code> is <code>@json</code>.
341-
JSON literals represent values which are valid [[JSON]].
341+
JSON literals represent values which are valid JSON [[RFC8259]].
342342
See <dfn data-cite="JSON-LD11#dfn-json-datatype" class="preserve">JSON datatype</dfn> in [[JSON-LD11]].
343343
</dd>
344344
<dt><dfn>typed literal</dfn></dt><dd>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4734,8 +4734,8 @@ <h2>Data Round Tripping</h2>
47344734
values <code>true</code> and <code>false</code> are the strings
47354735
<code>true</code> and <code>false</code>.</p>
47364736

4737-
<p class="changed">The <a>canonical lexical form</a> of the <a>JSON literal</a>
4738-
values are non-normative, as a normative recommendation for
4737+
<p class="changed">The <a>canonical lexical form</a> of a <a>JSON literal</a>
4738+
value is non-normative, as a normative recommendation for
47394739
JSON canonicalization is not yet defined. Implementations
47404740
SHOULD use the following guidelines when creating the lexical
47414741
representation of a <a>JSON literal</a>:</p>
@@ -4761,7 +4761,7 @@ <h2>Data Round Tripping</h2>
47614761
this specification will likely be updated to require such a canonical representation.
47624762
Users are cautioned from depending on the
47634763
<a>JSON literal</a> lexical representation as an <a>RDF literal</a>,
4764-
as the specifics of serialization may change in a future revison of this document.</div>
4764+
as the specifics of serialization may change in a future revison of this document.</p>
47654765

47664766
<aside class="example changed" data-ignore
47674767
title="Canonicalized JSON literal">

0 commit comments

Comments
 (0)