|
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> |
|
1455 | 1467 | need for "$dynamicAnchor". |
1456 | 1468 | </t> |
1457 | 1469 | <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 | | - Due to the once-common practice of providing resource representations in |
1462 | | - both JSON and XML, this matches the US-ASCII part of XML's |
1463 | | - <xref target="xml-names">NCName production</xref>, which is noted in the |
1464 | | - <xref target="W3C.WD-fragid-best-practices-20121025">WC3's best practices for fragment identifiers</xref> |
1465 | | - as the typical plain name syntax for XML-based formats. |
| 1470 | + If present, the value of this keyword MUST be a string and MUST conform |
| 1471 | + to the plain name fragment identifier syntax defined in section |
| 1472 | + <xref target="fragments" format="counter"></xref>. |
1466 | 1473 | <cref> |
1467 | 1474 | Note that the anchor string does not include the "#" character, |
1468 | 1475 | as it is not a IRI-reference. An "$anchor": "foo" becomes the |
@@ -3558,6 +3565,7 @@ https://example.com/schemas/common#/$defs/allOf/1 |
3558 | 3565 | &RFC7231; |
3559 | 3566 | &RFC8288; |
3560 | 3567 | &fragid-best-practices; |
| 3568 | + &xptr-framework; |
3561 | 3569 | <reference anchor="json-schema-validation"> |
3562 | 3570 | <front> |
3563 | 3571 | <title>JSON Schema Validation: A Vocabulary for Structural Validation of JSON</title> |
|
0 commit comments