Re: Circular Reference in the IDNA / Nameprep documentation

"Adam M. Costello" <[email protected]>
Newsgroups gmane.ietf.idn
Message-ID <[email protected]>
"Colosi, John" <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.