Skip to content

Commit 9186315

Browse files
committed
Fix how ECMA-262 is used and referenced
1 parent 0143f21 commit 9186315

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

jsonschema-core.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -545,12 +545,12 @@
545545
Keywords MAY use regular expressions to express constraints, or constrain
546546
the instance value to be a regular expression.
547547
These regular expressions SHOULD be valid according to the regular expression
548-
dialect described in <xref target="ecma262">ECMA 262, section 21.2.1</xref>.
548+
dialect described in <xref target="ecma262">ECMA-262, section 21.2.1</xref>.
549549
</t>
550550
<t>
551551
Regular expressions SHOULD be built with the "u" flag (or equivilent) to provide
552-
Unicode support, or processed in such a way which provides Unicode support,
553-
as defined by ECMA 262.
552+
Unicode support, or processed in such a way which provides which provides Unicode
553+
as defined by ECMA-262.
554554
</t>
555555
<t>
556556
Furthermore, given the high disparity in regular expression constructs support,
@@ -2485,7 +2485,7 @@
24852485
<t>
24862486
The value of "patternProperties" MUST be an object. Each property name
24872487
of this object SHOULD be a valid regular expression, according to the
2488-
ECMA 262 regular expression dialect. Each property value of this object
2488+
ECMA-262 regular expression dialect. Each property value of this object
24892489
MUST be a valid JSON Schema.
24902490
</t>
24912491
<t>
@@ -3298,9 +3298,9 @@ https://example.com/schemas/common#/$defs/count/minimum
32983298
<reference anchor="ecma262"
32993299
target="https://www.ecma-international.org/ecma-262/11.0">
33003300
<front>
3301-
<title>ECMA-262 11.0 edition specification</title>
3301+
<title>ECMA-262, 11th edition specification</title>
33023302
<author/>
3303-
<date year="2020" />
3303+
<date month="June" year="2020" />
33043304
</front>
33053305
</reference>
33063306
</references>
@@ -3931,7 +3931,7 @@ https://example.com/schemas/common#/$defs/count/minimum
39313931
<t>$dynamic* (previously $recursive) no longer use runtime base URI determination</t>
39323932
<t>Reference ecma262 11th edition for regular expression support</t>
39333933
<t>Define Compound Schema Documents (bundle) and processing</t>
3934-
<t>Reference ecma262 11th edition for regular expression support</t>
3934+
<t>Reference ECMA-262, 11th edition for regular expression support</t>
39353935
<t></t>
39363936
<t></t>
39373937
<t></t>

jsonschema-validation.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
<section title="pattern" anchor="pattern">
353353
<t>
354354
The value of this keyword MUST be a string. This string SHOULD be a
355-
valid regular expression, according to the ECMA 262 regular expression
355+
valid regular expression, according to the ECMA-262 regular expression
356356
dialect.
357357
</t>
358358
<t>
@@ -898,12 +898,12 @@
898898
</t>
899899
<t>
900900
A regular expression, which SHOULD be valid according to the
901-
<xref target="ecma262">ECMA 262</xref> regular expression dialect.
901+
<xref target="ecma262">ECMA-262</xref> regular expression dialect.
902902
</t>
903903
<t>
904904
Implementations that validate formats MUST accept at least the subset of
905-
ECMA 262 defined in the <xref target="regexInterop">Regular Expressions</xref>
906-
section of this specification, and SHOULD accept all valid ECMA 262 expressions.
905+
ECMA-262 defined in the <xref target="regexInterop">Regular Expressions</xref>
906+
section of this specification, and SHOULD accept all valid ECMA-262 expressions.
907907
</t>
908908
</section>
909909
</section>
@@ -1318,9 +1318,9 @@
13181318
<reference anchor="ecma262"
13191319
target="https://www.ecma-international.org/ecma-262/11.0">
13201320
<front>
1321-
<title>ECMA-262 11.0 edition specification</title>
1321+
<title>ECMA-262, 11th edition specification</title>
13221322
<author/>
1323-
<date year="2020" />
1323+
<date month="June" year="2020" />
13241324
</front>
13251325
</reference>
13261326
<reference anchor="relative-json-pointer">
@@ -1434,7 +1434,7 @@
14341434
<list style="symbols">
14351435
<t>Correct email format RFC reference to 5321 instead of 5322</t>
14361436
<t>Clarified the set and meaning of "contentEncoding" values</t>
1437-
<t>Reference ecma262 11th edition for regular expression support</t>
1437+
<t>Reference ECMA-262, 11th edition for regular expression support</t>
14381438
<t></t>
14391439
<t></t>
14401440
<t></t>

0 commit comments

Comments
 (0)