Re: [apps-discuss] Fwd: I-D Action: draft-ohye-canonical-link-relation-00.txt

Mykyta Yevstifeyev <evnikita2@gmail.com> Fri, 01 July 2011 15:39 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BFF79E8086; Fri, 1 Jul 2011 08:39:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.498
X-Spam-Level:
X-Spam-Status: No, score=-3.498 tagged_above=-999 required=5 tests=[AWL=0.101, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Hk8CqJ2oLyu; Fri, 1 Jul 2011 08:39:55 -0700 (PDT)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by ietfa.amsl.com (Postfix) with ESMTP id 3110B9E8083; Fri, 1 Jul 2011 08:39:54 -0700 (PDT)
Received: by fxe4 with SMTP id 4so4244312fxe.27 for <multiple recipients>; Fri, 01 Jul 2011 08:39:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qwuOnsQgA9V0qfwIJr82FvuWX5gji9pwEFm3mg+vDns=; b=Ntqld7et1hcl8awsZLAAhlm8rh/tdVs1O9KuURzkG4tXOP7iS6slVle8sxJ7+CGS+s jm/n34ImKLFe/FZp5SuZXeFxKnWfIWsyu9FUapFNGtRQgRyS0q3bA0oWn1f7ch/5qZgS oG8xisxIElHqFYh7Xi0XpmAUGztGps7m8Eqao=
Received: by 10.223.7.150 with SMTP id d22mr4928608fad.17.1309534794228; Fri, 01 Jul 2011 08:39:54 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id k26sm2436351fak.24.2011.07.01.08.39.52 (version=SSLv3 cipher=OTHER); Fri, 01 Jul 2011 08:39:53 -0700 (PDT)
Message-ID: <4E0DEA77.3050007@gmail.com>
Date: Fri, 01 Jul 2011 18:40:39 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
References: <4E083D3F.6030200@gmx.de> <4E0D3EA5.7010803@gmail.com> <4E0DCFEF.20206@gmx.de>
In-Reply-To: <4E0DCFEF.20206@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: IETF Apps Discuss <apps-discuss@ietf.org>, "link-relations@ietf.org" <link-relations@ietf.org>
Subject: Re: [apps-discuss] Fwd: I-D Action: draft-ohye-canonical-link-relation-00.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Fri, 01 Jul 2011 15:39:56 -0000

01.07.2011 16:47, Julian Reschke wrote:
> On 2011-07-01 05:27, Mykyta Yevstifeyev wrote:
>> Hello Maile,
>>
>> Several comments to your draft-ohye-canonical-link-relation-00.
>>
>> There is the Intended Status missing in it. I suppose Informational
>> should be fine.
>
> We do not need to decide this now, and I expect the Area Director 
> who's going to sponsor this to have an opinion on it.
>
> That being said, "Informational" should be fine (Maile: that would be 
> category="info" on the <rfc> element).
So, we both agree on this.
>
>>> 1. Introduction
>>>
>>> The canonical link relation specifies the preferred version of a URI
>> I think some introductory text on linking, probably based on RFC 5988,
>> should go here.
>
> Why? It defines a link relation as defined by RFC 5988, so why repeat 
> text from over there?
It should be mentioned (1) what is link relation at all and (2) that RFC 
5988 is a specification of that technology which this document depends 
on.  RFC 5988 is first mentioned in Examples.
>
>> Section 2:
>>
>>> Presence of the canonical link relation indicates
>>> to applications, such as search engines, that they MAY:
>> I wonder why it's MAY; in this case implementations (explicitly, those
>> apps which interpret Link: headers and corresponding construction in
>> HTML) will be free to ignore it. I think normative SHOULD should be OK
>> (sorry for pun).
>
> I think this link relation is purely advisory, so a better approach 
> might be to replace "MAY" by "can".
Yes, advisory, which suits RFC 2119 definition for SHOULD:

> 3. SHOULD   This word, or the adjective "RECOMMENDED", mean that there
>     may exist valid reasons in particular circumstances to ignore a
>     particular item, but the full implications must be understood and
>     carefully weighed before choosing a different course.
and natural meaning of should - advice/recommendation.
>
>> ...
>>> The value of the target/canonical URI MAY:
>> I suppose omitting "value of the" should be better, since there is no
>> such term in RFC 3986. In fact, when referring the URI, we mean its
>> value, meaning.
>
> Yes.
>
>>> o Exist on a different protocol: http to https, or vice versa
>> You probably meant URI scheme here, since https isn't a separate
>> protocol. As before these points we had "The value of the
>> target/canonical URI MAY" or, if you consider my comment above, "The
>> target/canonical URI MAY", this point may be reworded as "Have different
>> scheme names" (which suits the second variant of a preface to this list
>> better).
>
> Sounds good.
I didn't mentioned it also applies to (Section 3, last list):

>     The value of the target/canonical URI SHOULD NOT designate:

>
>> Reading section 3 and 5 of the draft, it seems that is mandates use of
>> HTTP when referring to canonical URIs. And what is the situation when
>> target URI is a 'ftp' or 'gopher' URI? Section 3 allows different scheme
>> names in context/target URIs, if I understand it correctly. Therefore,
>> unless it is deliberately, I think any mention of HTTP should be
>> replaced by more generic regulations.
>
> Nope; I think the HTTP examples are very useful. But maybe we can have 
> an additional statement that the link relation isn't specific to HTTP.
Currently we have normative reference to RFC 2616 and normative 
requirements with respect to HTTP.  HTTP examples are OK; but it's 
redundant in Section 3.  I suppose in Section 3 we may replace 
HTTP-related stuff with something in the way like:

Old:
>     o  The source URI of a "300 Multiple Choices" URI (Section 10.3.1 of
>        [RFC2616]) or a permanent redirect (Section 10.3.2 of [RFC2616]).
New:
>     o  The source URI, which defines a resource which provides choice
>        in different represntations of a given resource, ientified by
>        the context URI, or is a link which has been permanently replaced
>        by an other one.
etc.
>
>>> 8. Internationalisation Considerations
>>>
>>> In designating a canonical URI, please see [RFC3986] for information
>>> on URI encoding.
>> URIs themselves are not internationalized, in terms of RFC 3536, which
>> defined:
>>
>>> internationalization
>>>
>>> In the IETF, "internationalization" means to add or improve the
>>> handling of non-ASCII text in a protocol.<NONE>
>> IRIs serve for this purpose. I recommend either to rename the section to
>> Encoding considerations or skip it at all ( I personally like 2nd 
>> variant).
>
> I believe we'll need this section, and the contents is fine; after 
> all, this is what you have to think of with respect to I18N, no?
RFC 5988 allows target and context URIs to be IRIs.  Current draft has 
no provisions regarding this.  However, the actual and current text 
matches encoding considerations better.

Mykyta Yevstifeyev
>
>> ...
>
> Best regards, Julian
>