Re: [Ietf-languages] Fwd: I-D Action: draft-msporny-d-langtag-ext-00.txt

Martin J. Dürst <duerst@it.aoyama.ac.jp> Wed, 29 May 2019 07:20 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: ietf-languages@ietfa.amsl.com
Delivered-To: ietf-languages@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D4BD12018C for <ietf-languages@ietfa.amsl.com>; Wed, 29 May 2019 00:20:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.555
X-Spam-Level:
X-Spam-Status: No, score=-2.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.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 PE5TRuOKO9ei for <ietf-languages@ietfa.amsl.com>; Wed, 29 May 2019 00:20:23 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6134112015E for <ietf-languages@ietf.org>; Wed, 29 May 2019 00:20:23 -0700 (PDT)
Received: by mork.alvestrand.no (Postfix) id A25D07C07D0; Wed, 29 May 2019 09:20:21 +0200 (CEST)
Delivered-To: ietf-languages@alvestrand.no
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 897B27C079D for <ietf-languages@alvestrand.no>; Wed, 29 May 2019 09:20:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Authentication-Results: mork.alvestrand.no (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.com
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aACK1GBt15hj for <ietf-languages@alvestrand.no>; Wed, 29 May 2019 09:20:20 +0200 (CEST)
X-Greylist: from auto-whitelisted by SQLgrey-1.8.0
X-Greylist: from auto-whitelisted by SQLgrey-1.8.0
X-Comment: SPF skipped for whitelisted relay - client-ip=192.0.46.74; helo=pechora8.dc.icann.org; envelope-from=duerst@it.aoyama.ac.jp; receiver=ietf-languages@alvestrand.no
Received: from pechora8.dc.icann.org (pechora8.icann.org [192.0.46.74]) by mork.alvestrand.no (Postfix) with ESMTPS id E5CBC7C078D for <ietf-languages@alvestrand.no>; Wed, 29 May 2019 09:20:19 +0200 (CEST)
Received: from JPN01-TY1-obe.outbound.protection.outlook.com (mail-eopbgr1400130.outbound.protection.outlook.com [40.107.140.130]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pechora8.dc.icann.org (Postfix) with ESMTPS id 7A9E9C026E for <ietf-languages@iana.org>; Wed, 29 May 2019 07:20:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector1-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UKPMfkyzE/8Lh9zwBr/OT/+C/moxe9XzUzJjcgRcYZA=; b=er0KrMuIpTVoa5wyjMAnDGfl1VNcp/QagJbI8ZqoQowjXmMYi2YxeSCG9rUfja3w4uhaFLM3DTXLAjiEHNJ/TaqR7uvTgzoF9wpx6WTP5xAWZcHGuvd+b7Qcs/DplqQFmSIZgixMZHyrvGxBeTA6h/VLZUpTjHqtDwYiFMazcok=
Received: from OSAPR01MB1683.jpnprd01.prod.outlook.com (52.134.232.142) by OSAPR01MB2980.jpnprd01.prod.outlook.com (52.134.249.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.22; Wed, 29 May 2019 07:19:56 +0000
Received: from OSAPR01MB1683.jpnprd01.prod.outlook.com ([fe80::dc8b:100a:3e3f:b226]) by OSAPR01MB1683.jpnprd01.prod.outlook.com ([fe80::dc8b:100a:3e3f:b226%4]) with mapi id 15.20.1922.021; Wed, 29 May 2019 07:19:56 +0000
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
To: Manu Sporny <msporny@digitalbazaar.com>, IETF Languages Discussion <ietf-languages@iana.org>
Thread-Topic: Fwd: I-D Action: draft-msporny-d-langtag-ext-00.txt
Thread-Index: AQHVEz6iwfqaq4Xs40KUuCBo/SSZZA==
Date: Wed, 29 May 2019 07:19:56 +0000
Message-ID: <1d027352-e940-797e-0ada-2aa768f7929b@it.aoyama.ac.jp>
References: <155881874982.30992.4869767614014356043@ietfa.amsl.com> <49b6a1de-e016-514f-90e4-24703b5818d2@it.aoyama.ac.jp> <63b4f786-8b44-ecdf-ed33-ff0567ecc839@digitalbazaar.com>
In-Reply-To: <63b4f786-8b44-ecdf-ed33-ff0567ecc839@digitalbazaar.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: TY2PR01CA0026.jpnprd01.prod.outlook.com (2603:1096:404:ce::14) To OSAPR01MB1683.jpnprd01.prod.outlook.com (2603:1096:603:2b::14)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=duerst@it.aoyama.ac.jp;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [133.2.210.64]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 631a1fc7-c9d2-41f1-9cb6-08d6e4060d22
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7025125)(7027125)(7023125)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:OSAPR01MB2980;
x-ms-traffictypediagnostic: OSAPR01MB2980:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <OSAPR01MB29808D56BE61C0222030D6A2CA1F0@OSAPR01MB2980.jpnprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0052308DC6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(39840400004)(366004)(346002)(396003)(376002)(189003)(199004)(186003)(26005)(2616005)(7736002)(476003)(446003)(11346002)(486006)(68736007)(53546011)(6506007)(110136005)(305945005)(66066001)(8936002)(786003)(3846002)(316002)(81166006)(8676002)(81156014)(76176011)(6116002)(386003)(31696002)(2906002)(86362001)(102836004)(14454004)(74482002)(52116002)(85202003)(5660300002)(31686004)(6512007)(85182001)(6436002)(53936002)(71200400001)(71190400001)(99286004)(6486002)(6246003)(64756008)(966005)(73956011)(66946007)(66574012)(229853002)(561944003)(66476007)(66556008)(25786009)(508600001)(256004)(6306002)(66446008); DIR:OUT; SFP:1102; SCL:1; SRVR:OSAPR01MB2980; H:OSAPR01MB1683.jpnprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: it.aoyama.ac.jp does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: cd2bJDXUW/dLkcgO8F0Xb1lickU57tbYALHLO2UCgjedi7lhIVx9tHe6JUW9MCZ66Z05fBBbMfCRwsWs5+BDO54onEuNYov4B9bkSmOKw+rClRXfx00RDrJ59xVmE6LDQ0UOULnG3B6Rv4JQ/sIQVnUAi3S/tcZrHfjagj5gfwqOQlfoihKsoiD+LapPJqj2BXulGH3jeHR4dTFU4ab87H1fAWoeRE1qbYPl37eMMOJcMXjYLBIJ3EGzO/znWhec+oneVsZXtSmcDoT/b8Yr3YhZRCrSr5Ni+ZbcpCQQ8XlZXxQUiYvc5pX1vKid4/+jC7B7SSxPH3MJvFP+Z+a5pGvNff6zAAwRGMfG9QhiqA6mT29iN5TbZImNxQkTgFnLI6MrkCUhJQ/LxCP1xjCnyQfr1977k0+lpch25iNmfNM=
Content-Type: text/plain; charset="utf-8"
Content-ID: <6F6CD6A9FD50E548B325F0F2F16AD82B@jpnprd01.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: 631a1fc7-c9d2-41f1-9cb6-08d6e4060d22
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2019 07:19:56.2451 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: duerst@it.aoyama.ac.jp
X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (pechora8.dc.icann.org [192.0.46.74]); Wed, 29 May 2019 07:20:18 +0000 (UTC)
X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB2980
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-languages/FopwHoHMZCirKngnetq3rmHyMz4>
Subject: Re: [Ietf-languages] Fwd: I-D Action: draft-msporny-d-langtag-ext-00.txt
X-BeenThere: ietf-languages@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ietf-languages.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-languages>, <mailto:ietf-languages-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-languages/>
List-Post: <mailto:ietf-languages@ietf.org>
List-Help: <mailto:ietf-languages-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-languages>, <mailto:ietf-languages-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 May 2019 07:20:32 -0000

Hello Manu, others,

On 2019/05/27 00:22, Manu Sporny wrote:
> On 5/25/19 10:22 PM, Martin J. Dürst wrote:
>> (Manu, I suggest you subscribe to this list for the duration of this
>> discussion, to make sure you are not missing any comments.)
> 
> Subscribed, thanks Martin. :)
> 
> On 5/26/19 2:10 AM, Phillips, Addison wrote:
>> There is a discussion in the W3C space (and particularly the Linked
>> Data, I.e. the RDF/JSON-LD space) about this. I happen to think Manu
>> has jumped the gun, but it is an internet draft and thus is meant to
>> spark discussion of this sort. When I'm at a real computer in the
>> morning I'll send some links for those interested in this debate.
> 
> Yes, I jumped the gun to push the conversation along... background for
> those that need it:
> 
> The W3C Verifiable Credentials defines a data model for the expression
> of things like Professional Licenses, Driver's Licenses, Education
> Certificates, Passports, Business descriptions (summary, hours of
> operation, etc.). The data model works across a variety of syntaxes
> (JSON, JSON-LD, N-Quads, HTML, CBOR, etc.). We want first-class i18n
> support, and a common approach to base direction has proved to be
> challenging across all of the expected syntaxes.

Yes. This is nothing more than expected. Working across syntaxes (and 
data models!) IS hard. You shouldn't work under the assumption that this 
is easy, and you shouldn't try to make it seem easy when it's not.


> One approach is to
> extend the language tag to also support base direction in a way that is
> backwards compatible. The proposal can be found here:
> 
> https://github.com/w3c/rdf-dir-literal/issues/3#issuecomment-496006350
> 
> There is a massive thread w/ background here:
> 
> https://github.com/w3c/rdf-dir-literal/issues/3

As very experienced people such as Ivan Herman (@iherman) and Charles 
McCathieNevile (@chaals) have expressed in that thread, it's 
inappropriate to force something like this direction information on HTML 
(which has solved the problem since more than 20 years, see 
https://trac.tools.ietf.org/html/rfc2070). It would be very much the 
tail ("Verifiable Credentials") wagging the dog.

So at a minimum, you have to make sure that when data gets converted 
from RDF to HTML, the -D extension gets removed and the corresponding 
HTML dir attribute gets added (and vice versa for the conversion in the 
other direction). You should also check out formats such as CBOR, which 
work somewhat differently from JSON, RDF, or HTML. This is actual work, 
make sure it gets done.

Once you realize that actual work is involved, you may realize that 
using a separate attribute (or whatever the equivalent in other formats) 
may not be that bad a solution.


> ... which led to this I-D, written by someone that is definitely not an
> expert in this area (me):
> 
> https://tools.ietf.org/html/draft-msporny-d-langtag-ext-00
> 
> There is a time pressure here. Our i198n concerns have been hanging out
> there for more than 9 months and our WG charter is up in a couple of
> months. We need to wrap this up in 3 weeks. Or to put it another way, if
> we don't wrap this up in 3 weeks, we won't be addressing this issue,
> which would be a shame.

This wouldn't be the first standards effort where a group's duration is 
extended, and it wouldn't be the last. And in this case, an extension 
might actually be justified. After all, this is something that shouldn't 
just work for Verifiable Credentials, but for a lot of other RDF, 
JSON-LD, JSON,...

3 weeks or 2 months are nothing given that the first teleconference I 
have been on discussion language tags in RDF was more than 20 years ago.
(see https://www.w3.org/TR/1999/REC-rdf-syntax-19990222/ and search for 
xml:lang).


> In any case, if you're going to engage in this discussion, the issue #3
> above is probably the place to do it.

I'll try. But I know I'm better with email than with github issues, sorry.

> Martin, I'm tracking your comments here:
> 
> https://github.com/digitalbazaar/d-langtag-ext/issues/1

Thanks.

> Martin, almost all, if not all, of your input is reasonable and I'll
> make those changes if it looks like there is consensus to proceed with
> draft-msporny-d-langtag-ext-00.. that is, if Addison doesn't strangle me
> first. :P

Okay.

Regards,   Martin.