Skip to content

Commit 211ab4d

Browse files
committed
Always use "hostname" for formats.
Use "idn-hostname" instead of "idn", and since "hostname" did not talk about ___domain names, remove discussion of ___domain names from the updated description.
1 parent 7d7c293 commit 211ab4d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

jsonschema-validation.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -973,25 +973,27 @@
973973
valid against the "idn-email" attribute.
974974
</t>
975975
</section>
976-
<section title="Host and ___domain names">
976+
<section title="Hostnames">
977977
<t>
978978
These attributes apply to string instances.
979979
</t>
980980
<t>
981981
A string instance is valid against these attributes if it is a valid
982-
representation for an Internet host name as follows:
982+
representation for an Internet hostname as follows:
983983
<list style="hanging">
984984
<t hangText="hostname">
985985
As defined by <xref target="RFC1034">RFC 1034, section 3.1</xref>,
986986
including host names produced using the Punycode algorithm
987987
specified in <xref target="RFC5891">RFC 5891, section 4.4</xref>.
988988
</t>
989-
<t hangText="idn">
989+
<t hangText="idn-hostname">
990990
As defined by either RFC 1034 as for hostname, or an
991-
internationalized ___domain name as defined by
991+
internationalized hostname as defined by
992992
<xref target="RFC5890">RFC 5890, section 2.3.2.3</xref>.
993993
</t>
994994
</list>
995+
Note that all strings valid against the "hostname" attribute are also
996+
valid against the "idn-hostname" attribute.
995997
</t>
996998
</section>
997999

0 commit comments

Comments
 (0)