Re: [apps-discuss] [Uri-review] New version of tn3270 draft

Julian Reschke <julian.reschke@gmx.de> Sun, 28 November 2010 11:08 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0ABB63A6AAD for <apps-discuss@core3.amsl.com>; Sun, 28 Nov 2010 03:08:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.464
X-Spam-Level:
X-Spam-Status: No, score=-104.464 tagged_above=-999 required=5 tests=[AWL=-1.865, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4YG9WySbwfhy for <apps-discuss@core3.amsl.com>; Sun, 28 Nov 2010 03:08:33 -0800 (PST)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id ADF743A6AAB for <apps-discuss@ietf.org>; Sun, 28 Nov 2010 03:08:32 -0800 (PST)
Received: (qmail invoked by alias); 28 Nov 2010 11:09:38 -0000
Received: from p508FBF0D.dip.t-dialin.net (EHLO [192.168.178.33]) [80.143.191.13] by mail.gmx.net (mp004) with SMTP; 28 Nov 2010 12:09:38 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19jNwUoechjf6/lwynNF6m7ZbgOhvY47qjvPtloK2 nKol1ESHS8qlV0
Message-ID: <4CF2386A.3050701@gmx.de>
Date: Sun, 28 Nov 2010 12:09:30 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Mykyta Yevstifeyev <evnikita2@gmail.com>
References: <201011261556.QAA29714@TR-Sys.de> <4CF229A3.40808@gmail.com> <4CF22F2B.9070906@gmx.de> <4CF23396.2040207@gmail.com>
In-Reply-To: <4CF23396.2040207@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: Alfred � <ah@TR-Sys.de>, GK@ninebynine.org, uri-review@ietf.org, apps-discuss@ietf.org
Subject: Re: [apps-discuss] [Uri-review] New version of tn3270 draft
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Nov 2010 11:08:34 -0000

Hi Mykyta,

so indeed I managed to look at -04, and didn't notice. Apologies.

More comments inline.

On 28.11.2010 11:48, Mykyta Yevstifeyev wrote:
>> 2) A URI scheme definition that cites RFC 3986 only for security
>> considerations makes me nervous.
> See section 1 - Introduction. There is not only one Sec. Cons. citing.

OK, but that doesn't really help. I think a URI scheme registration 
should define semantics and syntax in terms of the URI spec. (I realize 
that some people may disagree).

>> For instance, it should be clear how the individual components would
>> be recognized by a generic URI parser. It appears that all you're
>> saying that the scheme-specific part maps to:
>>
>> "//" authority
> The scheme syntax is similar to 'telnet:'. The same recognition is
> intended.

Please have a look at RFC 3986 and consider just re-using the syntax 
from over there, if it matches.

>> 3) ABNF comments
>>
>> 3a) What's the delimiter between password and host?
> I have mentioned that it is ":".

You mean, you will mention it?

>> 3b) What's the [/] at the end for? Did you mean [ "/" ]?
> Yes, I meant ["/"]. Would be corrected.
>>
>> 3c) Please avoid prose constructions; they are not sufficient to
>> actually parse the URI. So which characters are allowed in "user",
>> "password" and "host"?
> There is such information is Encoding considerations template section.

Actually, that is not the case. The ABNF needs to say what the character 
repertoire for these parts is, and the prose needs to state whether 
there's an escaping mechanism that can be used to map more characters 
into this syntax.

>> 4) You're not citing the URI scheme registration RFC (4395), nor have
>> the information requested in
>> <http://tools.ietf.org/html/rfc4395#section-5.4>.
> Why not mentioned? See section 4 of the draft - IANA Cons. The full
> template is given.
>>
>> Best regards, Julian
>>
> All notes seem to conform -04 draft. Maybe you are looking at html
> version, which
> is not formed yet. Look at plain text version.

As I said, I looked at the wrong version; but as you see above, part of 
my notes apply to the current version as well.

Furthermore:

    URI scheme encoding considerations: tn3270 scheme uses UTF-8 (see RFC
    3629 [RFC3629] for details) for encoding data. No internalization is
    intended

URIs do not contain non-ASCII characters. What you *could* say is that 
if the URI is built from components that *do* allow non-ASCII 
characters, such as the username, you need to map them to octets using 
UTF-8. But then you say "no internalization is intended"? What is it? 
How does IDNA work here?

Also, in the Normative References, you may want to check whether all of 
these are normative. For instance, the "telnet" scheme is only cited in 
the security considerations section, so I don't see why it would be 
normative.

Best regards, Julian