Original Document: <a title="http://www.ietf.org/internet-drafts/draft-klensin-idnabis-protocol-02.txt" href="http://www.ietf.org/internet-drafts/draft-klensin-idnabis-protocol-02.txt" id="luuq">http://www.ietf.org/internet-drafts/draft-klensin-idnabis-protocol-02.txt
</a> <br><br>Thanks for your responses. Most of your suggestions seem fine to me, so I'm only including the ones where I have a comment.<br><br><a href="http://www.ietf.org/internet-drafts/draft-klensin-idnabis-protocol-02.txt">
http://www.ietf.org/internet-drafts/draft-klensin-idnabis-protocol-02.txt</a><br>> <br>> > Protocol-1. By excluding case/width folding, there will be<br>> > significant backwards compatibility problems, caused by
<br>> > having no standard folding. Examples of current usage:<br>> ><br>...<br><br>> Instead, we (i) keep case-folding out of the protocol, <br>> (ii)<br>> recommend that application and implementations that have "use
<br>> internationally in the same form or with the same tools"<br>> constraints do the same case-folding and NFKC mapping that they<br>> would do under a forward projection of IDNA2003 and do it<br>> before the string is presented for IDNA200X processing (note
<br>> that this also solves the IDNA2003 dot-mapping problem as<br>> discussed on the list) and<br><br>(i), (ii) As per Michel's suggestion, that is fine as long as we have a
standard "Preprocessing IDNA" specification that is available for those
who wish to state conformance to it. I'll send around a draft for discussion.<br><br> (iii) recommend to highly localized<br>> applications and implementations that they do whatever mapping<br>> makes sense to them and their users (including local
<br>> interpretation as needed of what constitutes a "dot") before<br>> passing strings off to IDNA200X, conditioned only on not<br>> changing a codepoint that can occur in a U-label into something<br>> else.
think "recommending" this would be much to strong. As you say, some
people might do it anyway, but it does represent an interoperability
problem, since the same string would preprocess different ways in
different environments. And the IDNs have a way of percolating into
many different environments.<br><br>...<br>> <br>> > Protocol-4. Some of the same issues as<br>> > draft-faltstrom-idnabis-tables-03.txt<<a href="http://www.ietf.org/int">http://www.ietf.org/int</a><br>
> > ernet-drafts/draft-faltstrom-idnabis-tables-03.txt>, such as<br>> > MAYBE YES vs MAYBE NO.<br>> <br>> Assuming that you are referring to the belief that there is no<br>> semantic difference between MAYBE YES and MAYBE NO, there is no
<br>> protocol difference (which is why they are not distinguished in<br>> the protocol). However, we anticipate differences in<br>> registration policies and, more important, in registration<br>> metapolicies as they might be applied to different types of
<br>> domains. It appears to be us to be worth preserving the<br>> distinction, and the rules that support it, for that reason.<br>> Because there is no protocol difference, little harm is done if<br>> the distinction is made now and dropped later if it isn't
<br>> useful. One the other hand, as I think we all know, making<br>> distinctions later that were not made initially is often<br>> terribly difficult.<br><br>I'll comment on the MAYBE topic later.<br><br>>
<br>> > Protocol-5. The "Contextual Rules" need to be supplied.<br>> > (What is the format? Machine readable? Are there default<br>> > required ones -- there should be, for ZWJ/ZWNJ).<br>>
<br>> Yes they need to be supplied, and as quickly as possible. The<br>> list, and the rules themselves, are presumably a job for an<br>> IANA registry, probably initialized by a piece of the "tables"<br>
> document (since that is how related things are being done).<br>> Machine readable would certainly be good, but there has been no<br>> in-depth discussion yet about how to do that. In particular it<br>> is not clear whether all rules that are possible (
i.e., that<br>> may be required) can be appropriately expressed in regular<br>> expression form using set elements of those expressions that<br>> are well-defined and persistent. But I don't understand what<br>
> you intend by "default required ones". When contextual rules<br>> are required, they are required and there is no default other<br>> than "treat the corresponding code point as invalid". Could
<br>> you explain?<br><br>What
I mean is that certain contextual rules, like no combining mark at the
start, or restrictions on ZWJ/ZWNJ need to be always present. Others
may be optional, depending on the registry. <br><br>However, we should also point out that registries may have rules that require access to more than just a label, such as:<br><ul><li>use folding table A to map a proposed registration to a canonical form (eg simplified chinese form).
</li><li>if any already registered label has that form as well, reject the registration</li></ul>That
would allow both traditional and simplified characters, but the first
one registered takes precedence. I mention this as an example; there
are many other possibilities.<br><br>> <br>> > Protocol-6. Section 5.1 assumes that URLs are entered by<br>> > users, when they are often (perhaps most often) interpreted<br>> > by machines. That is of great importance, of course, for
<br>> > search engines, email readers, browsers, and others.<br>> <br>> I'll see if the text can be tuned to better reflect this, but,<br>> again, one of the goals of this work is to encourage as little
<br>> variation as possible in URLs themselves (e.g., only A-labels<br>> go into URLs and only A-labels or U-labels go into IRIs). Your<br>> statement of the problem above is symptomatic of the confusion<br>> here, which is that there is no conflict or contrast between
<br>> "entered by users" and "interpreted by machines". In other<br>> words, URLs are, except in very rare circumstances, interpreted<br>> by machines no matter how they are entered and where they come
<br>> from. Certainly some URLs are _generated_ by machines rather<br>> than being entered by users, but we hope and expect (and, read<br>> carefully, IDNA2003 expects) that such URLs will contain IDNs<br>> in A-label or U-label form, not in any of the arbitrary forms
<br>> that can be converted into A-labels by IDNA2003. The intent<br>> of IDNA200X is to turn that expectation into a firm rule (while<br>> allowing some flexibility to interpretation of legacy URLs that<br>> didn't meet it).
<br>> <br>> Even when users interpret addresses and then have to enter them<br>> (e.g., in what we often describe as the "side of the bus"<br>> problem), people are generally better off with the U-label
<br>> forms. The easiest example of this is, I believe, originally<br>> due to your remarks: lower-case is more distinguishable than<br>> upper case or, put differently, far more of the upper-case<br>> characters of Greek and Cyrillic are confusable with their
<br>> Latin look-alikes than are their lower-case counterparts.<br>> Perhaps that is what you intended?<br>> <br>> Or perhaps I don't understand what you are concerned about. If<br>> so, could you clarify?
<br><br>This would be satisfied if we have a separate Preprocessing IDNA document.<br><br>> <br>> <br>> > Details<br>> > Protocol-7.<br>> ><br>> > Unicode (without surrogates), paralleling the process above
<br>> ><br>> > (Minor) this is unnecessary. The tables disallow surrogates.<br>> <br>> But the tables aren't authoritative, the rules are. I can try<br>> to work out a better way to say this with Patrik but, unless
<br>> you think it is harmful (as well as unnecessary), it might be<br>> easier to just leave it.<br><br>There
are many other exclusions in the rules that form the tables. If you are
going to say that, it would be better to rephrase to indicate that.<br><br>> <br>> > Protocol-8.<br>> ><br>> > a character is never removed from<br>> > it unless it is removed from Unicode.
<br>> ><br>> > This is not necessary. If you really have to have it, then<br>> > add "(however, the Unicode stability policies expressly<br>> > forbid this)"<br>> <br>> This is the other case I was referring to above. Certainly, if
<br>> it will improve world harmony, we can insert the parenthetical<br>> note, presumably with a reference to the "Stability of<br>> Properties" discussion in TUS5.0, Section 3.5, or Appendix F of<br>> that document, and/or the "policies" web pages, as you prefer.
<br>> But we need to say something like this. If we do not, we'll<br>> have to go back to being version dependent, because each<br>> version of the Unicode policy documents will need to be<br>> separately evaluated when it appears.
discuss this separately. I think I see why you want to say it, but
there are many other possible changes (like the removal of "-" from
hostname labels by the IETF) that we don't call out.<br><br>> <br>> thanks for the comments,<br>> john<br>> <br>> <br>> <br><br><br><br>-- <br>Mark<br><br><br>