|
12 | 12 | <!ENTITY RFC8288 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8288.xml">
|
13 | 13 | <!ENTITY ldp SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml4/reference.W3C.REC-ldp-20150226.xml">
|
14 | 14 | <!ENTITY fragid-best-practices SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml4/reference.W3C.WD-fragid-best-practices-20121025.xml">
|
| 15 | +<!ENTITY xptr-framework SYSTEM "https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.REC-xptr-framework-20030325.xml"> |
15 | 16 | ]>
|
16 | 17 | <?rfc toc="yes"?>
|
17 | 18 | <?rfc symrefs="yes"?>
|
|
513 | 514 | Per the W3C's
|
514 | 515 | <xref target="W3C.WD-fragid-best-practices-20121025">best practices for fragment identifiers</xref>,
|
515 | 516 | plain name fragment identifiers in "application/schema+json" are reserved for referencing
|
516 |
| - locally named schemas. All fragment identifiers that do |
| 517 | + locally named schemas. |
| 518 | + </t> |
| 519 | + <t> |
| 520 | + Plain name fragments MUST start with a letter ([A-Za-z]) or underscore ("_"), |
| 521 | + followed by any number of letters, digits ([0-9]), hyphens ("-"), |
| 522 | + underscores ("_"), and periods ("."). This matches the US-ASCII part of XML's |
| 523 | + <xref target="xml-names">NCName production</xref>, which allows for compatibility |
| 524 | + with the recommended plain name <xref target="W3C.REC-xptr-framework-20030325">syntax</xref> for |
| 525 | + XML-based media types. |
| 526 | + </t> |
| 527 | + <t> |
| 528 | + All fragment identifiers that do |
517 | 529 | not match the JSON Pointer syntax MUST be interpreted as
|
518 | 530 | plain name fragment identifiers.
|
519 | 531 | </t>
|
|
522 | 534 | "application/schema+json" document are specified
|
523 | 535 | in the <xref target="anchor">"$anchor" keyword</xref> section.
|
524 | 536 | </t>
|
525 |
| - <t> |
526 |
| - </t> |
527 | 537 | </section>
|
528 | 538 |
|
529 | 539 | <section title="General Considerations">
|
|
1455 | 1465 | need for "$dynamicAnchor".
|
1456 | 1466 | </t>
|
1457 | 1467 | <t>
|
1458 |
| - If present, the value of this keyword MUST be a string and MUST start with |
1459 |
| - a letter ([A-Za-z]) or underscore ("_"), followed by any number of letters, |
1460 |
| - digits ([0-9]), hyphens ("-"), underscores ("_"), and periods ("."). |
1461 |
| - This matches the US-ASCII part of XML's |
1462 |
| - <xref target="xml-names">NCName production</xref>. |
| 1468 | + If present, the value of these keywords MUST be a string and MUST conform |
| 1469 | + to the plain name fragment identifier syntax defined in section |
| 1470 | + <xref target="fragments" format="counter"></xref>. |
1463 | 1471 | <cref>
|
1464 | 1472 | Note that the anchor string does not include the "#" character,
|
1465 | 1473 | as it is not a IRI-reference. An "$anchor": "foo" becomes the
|
@@ -3555,6 +3563,7 @@ https://example.com/schemas/common#/$defs/allOf/1
|
3555 | 3563 | &RFC7231;
|
3556 | 3564 | &RFC8288;
|
3557 | 3565 | &fragid-best-practices;
|
| 3566 | + &xptr-framework; |
3558 | 3567 | <reference anchor="json-schema-validation">
|
3559 | 3568 | <front>
|
3560 | 3569 | <title>JSON Schema Validation: A Vocabulary for Structural Validation of JSON</title>
|
|
0 commit comments