RE: [ietf-provreg] New I/D: draft-hoeneisen-enum-validation-epp-0 0
"Hollenbeck, Scott" <[email protected]>
| Newsgroups | gmane.ietf.enum,gmane.ietf.provreg |
|---|---|
| Message-ID | <5BEA6CDB196A4241B8BE129D309AA4AF040D84FD@vsvapostal8.vcorp.ad.vrsn.com> |
OK, I had a chance to take a closer look. I noticed that you're using a
31-character token for the E.164 number. Why is that? An E.164 number can
contain no more than 15 digits per E.164, so why allow a maximum of 31? For
what it's worth I used a type like this in the EPP contact mapping:
<simpleType name="e164StringType">
<restriction base="token">
<pattern value="(\+[0-9]{1,3}\.[0-9]{1,14})?"/>
<maxLength value="17"/>
</restriction>
</simpleType>
With this you get the "+". The country code and the local part are
separated by a "." (we did that in provreg mostly for "human eyes" reasons).
The "+" and the "." added to the max E.164 length of 15 digits gives a
maximum token length of 17 characters.
Also, throughout the document s/März/March/
-Scott-