Commit 29f4a12
committed
Disallow "#" as an $id.
In a document root schema, "$id": "#" is a no-op, and in
an embedded schema resource root, it results in the embeddded
resource having the same URI as its context resource. Given
that the specificaiton says implementations SHOULD raise an error
for duplicate IRIs, there is no reason to allow this form.1 parent d775a9d commit 29f4a12
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
1357 | | - | |
| 1356 | + | |
| 1357 | + | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
| |||
0 commit comments