[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [idn] Circular Reference in the IDNA / Nameprep documentation
"Colosi, John" <jcolosi@verisign.com> wrote:
> What is the motivation for relegating the conditional prohibitions to
> the IDNA draft? Could "non-LDH" characters be specified in a table of
> the Stringprep draft? The Nameprep draft would then reference this
> table in a conditional prohibition, encapsulating the name preparation
> concept.
The check for leading/trailing hyphens cannot be done within the
Stringprep framework. Stringprep has no provisions for prohibiting
characters in selected places in the string. ToASCII is the only place
we can perform this check.
The check for non-LDH ASCII code points is done in the same place. We
want to keep these two checks together because they are both derived
from the same source (the STD3 host name syntax) and both are enabled by
a single flag.
AMC