You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bibliography.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
"manifest": "M. Cáceres, K. Rohde Christiansen, D. González, D. Murphy, C. Liebel. <a href=\"https://www.w3.org/TR/appmanifest/\"><cite>Web Application Manifest</cite></a>. March 2025. URL: <a href=\"https://www.w3.org/TR/appmanifest/\">https://www.w3.org/TR/appmanifest/</a>",
15
15
"rfc2119": "S. Bradner. <a href=\"https://www.rfc-editor.org/rfc/rfc2119\"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. URL: <a href=\"https://www.rfc-editor.org/rfc/rfc2119\">https://www.rfc-editor.org/rfc/rfc2119</a>",
16
16
"rfc4648": "S. Josefsson. <a href=\"https://www.rfc-editor.org/rfc/rfc4648\"><cite>The Base16, Base32, and Base64 Data Encodings</cite></a>. October 2006. URL: <a href=\"https://www.rfc-editor.org/rfc/rfc4648\">https://www.rfc-editor.org/rfc/rfc4648</a>",
Copy file name to clipboardExpand all lines: drisl.src.html
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ <h2>Introduction</h2>
31
31
<section>
32
32
<h2>Format</h2>
33
33
<p>
34
-
DRISL is an application profile of CBOR ([[cbor]]) that subsets the more established [[cborc]] profile, with the following additional
34
+
DRISL is an application profile of CBOR ([[cbor]]) that mostly subsets the more established [[cborc]] profile, with the following additional
35
35
constraints:
36
36
</p>
37
37
<ul>
@@ -51,6 +51,32 @@ <h2>Format</h2>
51
51
Floating-point numbers MUST always be encoded as a 64-bit IEEE 754 binary floating-point, never as a "half-precision" (16-byte, major 7-25) or "single-precision (32-byte, major 7-26)" CBOR key.
52
52
<strong>NOTE</strong>: It is RECOMMENDED that users avoid encoding floating-point numbers as much as possible
53
53
to minimize interoperability and tooling issues.
54
+
<ul>
55
+
<li>
56
+
Completely avoiding floating-point numbers is RECOMMENDED to minimize interoperability and tooling issues.
57
+
</li>
58
+
<li>
59
+
Even where floating-point numbers are used, most of the IEEE 754 "special" floating points (infinity, negative infinity, minimal NaN, and NaN with payloads) MUST NOT be encoded.
60
+
Negative zero is the only allowed special floating point.
61
+
</li>
62
+
</ul>
63
+
</li>
64
+
<li>
65
+
Indefinite-length arrays (and the "break" code making them usable, in major type 7) are not allowed.
66
+
</li>
67
+
<li>
68
+
Similarly, indefinite, incomplete, or streaming CBOR cannot be hashed and thus cannot be referenced by CID; for this reason, DRISL can only encode finite, bounded documents and resources.
69
+
</li>
70
+
<li>
71
+
Concatenation of DRISL objects is generally discouraged and incurs both performance and interoperability risks.
72
+
<ul>
73
+
<li>
74
+
Note that DRISL objects cannot be streamed as CBOR streams (defined in RFC 8742) except in MIME-type aware contexts, as per the CBOR streams specification.
75
+
</li>
76
+
<li>
77
+
Applications are discouraged from handling concatenated DRISL objects or appending extra bytes of any kind to a DRISL object in memory or across interfaces, as doing so breaks the DRISL-wide assumption that each CID refers to one complete, discrete, and valid CBOR object, and that DRISL systems only ever will be expected to handle such objects.
78
+
</li>
79
+
</ul>
54
80
</li>
55
81
<li>
56
82
Encoders MUST NOT encode any simple values other than <code>true</code>, <code>false</code>, and <code>null</code> (20, 21, and 22 in section 3.3 of [[rfc8949]]).
0 commit comments