Skip to content

Commit 113d2f8

Browse files
committed
Add changes since previous versions for ordered.
1 parent 8dc5365 commit 113d2f8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5134,6 +5134,11 @@ <h2>Changes since 1.0 Recommendation of 16 January 2014</h2>
51345134
has been updated to ensure that only <a>well-formed</a> <a>triples</a>
51355135
are emitted; previously, it only ensured that <a>triples</a> containing
51365136
<a>relative IRIs</a> were excluded.</li>
5137+
<li>The API now adds an <a data-link-for="JsonLdOptions">ordered</a>
5138+
option, defaulting to <code>false</code> This is used in algorithms to
5139+
control interation of <a>dictionary member</a> keys. Previously, the
5140+
algorithms always required such an order. The instructions for
5141+
evaluating test results have been updated accordingly.</li>
51375142
</ul>
51385143
</section>
51395144

@@ -5145,6 +5150,11 @@ <h2>Changes since JSON-LD Community Group Final Report</h2>
51455150
has been updated to ensure that only <a>well-formed</a> <a>triples</a>
51465151
are emitted; previously, it only ensured that <a>triples</a> containing
51475152
<a>relative IRIs</a> were excluded.</li>
5153+
<li>The API now adds an <a data-link-for="JsonLdOptions">ordered</a>
5154+
option, defaulting to <code>false</code> This is used in algorithms to
5155+
control interation of <a>dictionary member</a> keys. Previously, the
5156+
algorithms always required such an order. The instructions for
5157+
evaluating test results have been updated accordingly.</li>
51485158
</ul>
51495159
</section>
51505160

tests/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ JSON-LD Object comparison compares JSON objects, arrays, and values recursively
5252
Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant.
5353

5454
# Running tests
55+
5556
Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:
5657

5758
* _remote-doc_ tests will likely not return expected HTTP headers, so the _options_ should be used to determine what headers are associated with the input document.
5859
* Some algorithms, particularly _fromRdf_, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
5960
* Some implementations may choose an alternative Blank Node Label algorithm, the comparison between documents containing blank node labels should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)).
61+
6062
# Contributing
6163

6264
If you would like to contribute a new test or a fix to an existing test,

0 commit comments

Comments
 (0)