diff --git a/jsonschema-core.xml b/jsonschema-core.xml index a8ca268f..006ea58a 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -516,13 +516,30 @@ locally named schemas. - Plain name fragments MUST start with a letter ([A-Za-z]) or underscore ("_"), - followed by any number of letters, digits ([0-9]), hyphens ("-"), - underscores ("_"), and periods ("."). This matches the US-ASCII part of XML's + Plain name fragments MUST follow XML's NCName production, which allows for compatibility with the recommended plain name syntax for - XML-based media types. + XML-based media types. For convenience, the NCName syntax is reproduced here in ABNF form, using + a minimal set of rules: + + Note that the previous syntax for plain name fragment is a subset of this syntax, + which used only the first line of each of the NCNameStartChar and NCNameChar rules. + + All fragment identifiers that do not match the JSON Pointer syntax MUST be interpreted as