From f8a6a29c63366b81c90c7d010acc90d9d99e33d1 Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Sat, 9 May 2020 15:05:39 -0700 Subject: [PATCH 1/2] Fix $anchor plain name format to match XML's NCName production This uses the US-ASCII part of the production. See: https://www.w3.org/TR/2006/REC-xml-names11-20060816/#NT-NCName --- jsonschema-core.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index d0d264e1..700af549 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1391,9 +1391,11 @@ identifier keyword that can only be used to create plain name fragments. - If present, the value of this keyword MUST be a string, which MUST start with - a letter ([A-Za-z]), followed by any number of letters, digits ([0-9]), - hyphens ("-"), underscores ("_"), colons (":"), or periods ("."). + If present, the value of this keyword MUST be a string and 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 NCName production at + . Note that the anchor string does not include the "#" character, as it is not a URI-reference. An "$anchor": "foo" becomes the From fab4f8cefc8f565ebe39b71ad749c4ad7d76f116 Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Tue, 12 May 2020 02:17:38 -0700 Subject: [PATCH 2/2] Update the NCName reference to an xref --- jsonschema-core.xml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 700af549..62629a18 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1394,8 +1394,8 @@ If present, the value of this keyword MUST be a string and 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 NCName production at - . + This matches the US-ASCII part of XML's + NCName production. Note that the anchor string does not include the "#" character, as it is not a URI-reference. An "$anchor": "foo" becomes the @@ -3252,6 +3252,36 @@ https://example.com/schemas/common#/$defs/count/minimum + + + Namespaces in XML 1.1 (Second Edition) + + Textuality +
+ tbray@textuality.com +
+
+ + Contivo, Inc. +
+ dmh@contivo.com +
+
+ + Microsoft +
+ andrewl@microsoft.com +
+
+ + University of Edinburgh and Markup Technology Ltd +
+ richard@cogsci.ed.ac.uk +
+
+ +
+