Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07

Asmus Freytag <asmusf@ix.netcom.com> Sat, 09 May 2020 23:44 UTC

Return-Path: <asmusf@ix.netcom.com>
X-Original-To: i18ndir@ietfa.amsl.com
Delivered-To: i18ndir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F13413A0C70 for <i18ndir@ietfa.amsl.com>; Sat, 9 May 2020 16:44:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ix.netcom.com; domainkeys=pass (2048-bit key) header.from=asmusf@ix.netcom.com header.d=ix.netcom.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qsEww3J9MRnb for <i18ndir@ietfa.amsl.com>; Sat, 9 May 2020 16:44:10 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEC9E3A0C12 for <i18ndir@ietf.org>; Sat, 9 May 2020 16:44:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ix.netcom.com; s=dk12062016; t=1589067850; bh=3qCfSm0NFJgIcM48kMGTfutUu4mHV27Sit3v MncH9WE=; h=Received:Subject:To:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language: X-ELNK-Trace:X-Originating-IP; b=G2Qhzy1uN058qNBfSIremKStHR2xp/MHA sV6kD7M5sFbztg2S6rk1x0xh1Y5x0IIZdvs0pz4hshJq+vGKRcVXqiS9o4Rilnzy8HS f2h23FiJpYL2PfUb3j4sD4yhXTGqePd1FhdrRt6p+jf0EtFfrGqNke5t07876ZmdI6L VLiRn30FNDU3DXfAdD/EIrM9sb++xXi7O/zo+oJ9r5xSYdPGAesPfFYfdXiVJ3bcVEx Zfg76JpGAT1foPYE8y2lJBvgrN1JA2KlcoHjIBgwLLaRbKUnaXA3qDnFBmknj/Vi0dC AWBTxOWh0JZ898ZrZpMbOJRyr3X5dDBWW8B7Mkn/Q==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=ix.netcom.com; b=W1uyvDH1S9j/A0aHKfTdS5SCz7VeGvYfv/LR8T12jvZFCI1ulxQjmvEe9WCnQp5WKBVyJoEfh04XeD3Z/wWPVtgtifWy1rpsX2dUSQqVV/2VxKIRcL67G+PI4tJdBkI3B3aoVYcLJs8VuutA1SPhIiixtWDlOK5TPoukLMYoRi84jgDxAJf3T49LxjcrRu1EwU/R9NkPhiWEVarPiCutORBVA6Q+WuAhjHXVHLI/8ZpuI5/+VyNnC0Ypxn6qbyNJKGTiojXqvHigfWv4NyFlAMYqdxmT5bQuAKHFqQ1Jru6KgwerhO1Sdlh4Mq4i1tqBOBaAdmEEgxbgxW8wh+f+nQ==; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language:X-ELNK-Trace:X-Originating-IP;
Received: from [75.172.116.31] (helo=[192.168.1.106]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <asmusf@ix.netcom.com>) id 1jXZ8a-0000UZ-4l for i18ndir@ietf.org; Sat, 09 May 2020 19:44:08 -0400
To: i18ndir@ietf.org
References: <158896904545.17044.5288882047334991439@ietfa.amsl.com> <CALaySJ+CRJumYtDCxvGsSwzanz4y=7icuqd+toc0wMivf-mJGg@mail.gmail.com> <CAD7Fb3diej1-3fAgqZsS_E9wOs1KC=OwVWbvxV5mVjOdQEQm5g@mail.gmail.com> <alpine.OSX.2.22.407.2005081926580.81728@ary.qy> <C6B94276-EB9F-4A5B-9E1B-0DE170A05EBC@frobbit.se> <alpine.OSX.2.22.407.2005091233350.84818@ary.qy> <CALaySJKbxdXRQejP3izri8NOmimVwqoNf5XEgzPStD=gKbEwOA@mail.gmail.com>
From: Asmus Freytag <asmusf@ix.netcom.com>
Message-ID: <1159e4eb-02e6-d4d1-49b5-07267b65b30f@ix.netcom.com>
Date: Sat, 09 May 2020 16:44:08 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <CALaySJKbxdXRQejP3izri8NOmimVwqoNf5XEgzPStD=gKbEwOA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------FC83B5CA68D9CDE69F05A046"
Content-Language: en-US
X-ELNK-Trace: 464f085de979d7246f36dc87813833b26976a2cdabd2db7ab0abad036aa18d0d8ba8cbc20ba0acc8350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 75.172.116.31
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/eLTP-U_pvR9AA_f0EsmuDUyAvXk>
Subject: Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Directorate <i18ndir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18ndir/>
List-Post: <mailto:i18ndir@ietf.org>
List-Help: <mailto:i18ndir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 May 2020 23:44:12 -0000

On 5/9/2020 11:36 AM, Barry Leiba wrote:
>> It occurs to me that http clients can send an Accept header, so how about
>> saying that modules SHOULD be text/jsmodule, but MAY be text/javascript
>> for backward compatibiltiy with clients that don't handle text/jsmodule?
> I'm very much not fond of the SHOULD... but MAY construction, because
> I think the MAY contradicts the SHOULD.
>
> I think the right way to say this is more along the line of "SHOULD
> use text/jsmodule.  If that is not practical because backward
> compatibility with clients that do not support text/jsmodule is
> necessary, then the alternative MUST be text/javascript."

Barry's formulation possibly implies that there's some third alternative 
that SHOULD / MAY allows without mentioning it. However, if that is the 
case, the new formulation allows this third alternative in every case 
where the implementer deviates from SHOULD for any reason other than the 
one given in the MUST phrase.

MUST be one of...

SHOULD not use text/javascript unless ...

This way the limitation to the two possible forms is explicit and the 
grounds for the exception are attached to a SHOULD phrase, which 
conceptually does imply the need for a justification.

You could also quibble that a MUST phrase that has an implementer 
defined "out" is against the spirit of the thing.

A./