File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ BSON Corpus
9
9
:Status: Approved
10
10
:Type: Standards
11
11
:Minimum Server Version: N/A
12
- :Last Modified: September 2 , 2021
13
- :Version: 2.1
12
+ :Last Modified: September 9 , 2021
13
+ :Version: 2.1.1
14
14
15
15
.. contents ::
16
16
@@ -318,8 +318,9 @@ Top-level Document (type 0x00)
318
318
319
319
For type "0x00" (i.e. top-level documents), the ``string `` field contains input
320
320
for an Extended JSON parser. Drivers MUST parse the Extended JSON input using an
321
- Extended JSON parser and verify that doing so yields an Extended JSON parsing
322
- error.
321
+ Extended JSON parser and verify that doing so yields an error. Drivers that parse
322
+ Extended JSON into language types instead of directly to BSON MAY need to
323
+ additionally convert the resulting language type(s) to BSON to expect an error.
323
324
324
325
Drivers SHOULD also parse the Extended JSON input using a regular JSON parser (not
325
326
an Extended JSON one) and verify the input is parsed successfully. This serves
@@ -497,6 +498,10 @@ assertions. This makes for easier and safer test case development.
497
498
Changes
498
499
=======
499
500
501
+ Version 2.1.1 - September 9, 2021
502
+
503
+ * Clarify error expectation rules for ``parseErrors ``.
504
+
500
505
Version 2.1 - September 2, 2021
501
506
502
507
* Add spec and prose tests for prohibiting null bytes in null-terminated strings
You can’t perform that action at this time.
0 commit comments