Commit f520b40
committed
Fix looking up anchors from non-canonical URIs.
E.g. if we have http://example.com, a retrieval URI,
we need to be able to lookup anchors within it even if the
resource has some internal ID.1 parent c9de6c2 commit f520b40
3 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
358 | 364 | | |
359 | | - | |
| 365 | + | |
360 | 366 | | |
361 | 367 | | |
362 | 368 | | |
| |||
- tests/json-schema-draft-04/external-absolute-uri-with-different-id-anchor.json+23
- tests/json-schema-draft-04/multiple-lookup-external-absolute-uri-with-different-id-anchor.json+42
- tests/json-schema-draft-06/external-absolute-uri-with-different-id-anchor.json+23
- tests/json-schema-draft-06/multiple-lookup-external-absolute-uri-with-different-id-anchor.json+42
- tests/json-schema-draft-07/external-absolute-uri-with-different-id-anchor.json+23
- tests/json-schema-draft-07/multiple-lookup-external-absolute-uri-with-different-id-anchor.json+42
- tests/json-schema-draft-2019-09/external-absolute-uri-with-different-id-anchor.json+23
- tests/json-schema-draft-2019-09/multiple-lookup-external-absolute-uri-with-different-id-anchor.json+42
- tests/json-schema-draft-2020-12/external-absolute-uri-with-different-id-anchor.json+23
- tests/json-schema-draft-2020-12/multiple-lookup-external-absolute-uri-with-different-id-anchor.json+42
0 commit comments