Skip to content

Commit b47fed9

Browse files
remove uses of "production" when discussing format rules
RFC3339 refers to these as "formats". The XML xs:NCName specification refers to it as a "type". We are tying our implementation to the ABNF rules explicitly, so refer to those.
1 parent 56a8b57 commit b47fed9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

jsonschema-validation.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -704,30 +704,34 @@
704704
<list style="hanging">
705705
<t hangText="date-time:">
706706
A string instance is valid against this attribute if it is
707-
a valid representation according to the "date-time" production.
707+
a valid representation according to the "date-time' ABNF rule
708+
(referenced above)
708709
</t>
709710
<t hangText="date:">
710711
A string instance is valid against this attribute if it is
711-
a valid representation according to the "full-date" production.
712+
a valid representation according to the "full-date" ABNF rule
713+
(referenced above)
712714
</t>
713715
<t hangText="time:">
714716
A string instance is valid against this attribute if it is
715-
a valid representation according to the "full-time" production.
717+
a valid representation according to the "full-time" ABNF rule
718+
(referenced above)
716719
</t>
717720
<t hangText="duration:">
718721
A string instance is valid against this attribute if it is
719-
a valid representation according to the "duration" production.
722+
a valid representation according to the "duration" ABNF rule
723+
(referenced above)
720724
</t>
721725
</list>
722726
</t>
723727
<t>
724728
Implementations MAY support additional attributes using the other
725-
production names defined anywhere in that RFC. If "full-date" or "full-time"
729+
format names defined anywhere in that RFC. If "full-date" or "full-time"
726730
are implemented, the corresponding short form ("date" or "time"
727731
respectively) MUST be implemented, and MUST behave identically.
728732
Implementations SHOULD NOT define extension attributes
729-
with any name matching an RFC 3339 production unless it validates
730-
according to the rules of that production.
733+
with any name matching an RFC 3339 format unless it validates
734+
according to the rules of that format.
731735
<cref>
732736
There is not currently consensus on the need for supporting
733737
all RFC 3339 formats, so this approach of reserving the

0 commit comments

Comments
 (0)