File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1456
1456
fragment "#foo" when used in a IRI. See below for full examples.
1457
1457
</cref >
1458
1458
</t >
1459
+ </section >
1460
+
1461
+ <section title =" Duplicate schema identifiers" >
1459
1462
<t >
1460
- The effect of specifying the same fragment name multiple times within
1461
- the same resource, using any combination of "$anchor" and/or
1462
- "$dynamicAnchor", is undefined. Implementations MAY
1463
- raise an error if such usage is detected.
1463
+ A schema MAY (and likely will) have multiple IRIs, but there is no way
1464
+ for an IRI to identify more than one schema. When multiple schemas
1465
+ attempt to identify as the same IRI through the use of "$id", "$anchor",
1466
+ "$dynamicAnchor", or any other mechanism, implementations SHOULD raise
1467
+ an error condition. Otherwise the result is undefined, and even if
1468
+ documented will not be interoperable.
1464
1469
</t >
1465
1470
</section >
1466
1471
1671
1676
be noted within a schema document as it is processed, producing associations
1672
1677
as shown in appendix <xref target =" idExamples" format =" counter" ></xref >.
1673
1678
</t >
1674
- <t >
1675
- A schema MAY (and likely will) have multiple IRIs, but there is no way for a
1676
- IRI to identify more than one schema. When multiple schemas try to identify
1677
- as the same IRI, validators SHOULD raise an error condition.
1678
- </t >
1679
1679
</section >
1680
1680
1681
1681
<section title =" Detecting a Meta-Schema" >
You can’t perform that action at this time.
0 commit comments