Re: [xml2rfc] [Rfc-markdown] New xml2rfc release: v2.12.1

Henrik Levkowetz <henrik@levkowetz.com> Tue, 30 October 2018 23:29 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB19E130DD9; Tue, 30 Oct 2018 16:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 woSgSSB2_Bb1; Tue, 30 Oct 2018 16:29:13 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5712A130DC7; Tue, 30 Oct 2018 16:29:13 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:64831 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1gHdRf-00017T-53; Tue, 30 Oct 2018 16:29:11 -0700
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>, Julian Reschke <julian.reschke@gmx.de>, Miek Gieben <miek@miek.nl>
References: <E1gH6Wn-0002ca-CU@durif.tools.ietf.org> <20181029204446.xwjkdfdpj7sbhvsr@miek.nl> <0455bd48-3392-bb4c-f510-c57489792606@levkowetz.com> <20181029214325.5i3rrv55dpamvbsa@miek.nl> <a614b58e-0d4c-67d0-77f9-f5b6b66d7ff1@levkowetz.com> <d0a3693b-87b5-c8e9-8137-9d61805f58f0@gmx.de> <f01715aa-ee1b-ec80-0657-7d19b23da98a@levkowetz.com> <7728fe68-d887-d557-4bfd-52357dd79af1@it.aoyama.ac.jp>
Cc: "xml2rfc@ietf.org" <xml2rfc@ietf.org>, "xml2rfc-dev@ietf.org" <xml2rfc-dev@ietf.org>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <dd6b9cb7-48f1-2560-54ba-a68e4cff5bac@levkowetz.com>
Date: Wed, 31 Oct 2018 00:29:03 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <7728fe68-d887-d557-4bfd-52357dd79af1@it.aoyama.ac.jp>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="BXEGHOC8DMbqWC5v4D5JeSt0Jg1mbp3hf"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, xml2rfc@ietf.org, miek@miek.nl, julian.reschke@gmx.de, duerst@it.aoyama.ac.jp
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/HAvr0QkyCkN5KMs9NySV-marwH4>
Subject: Re: [xml2rfc] [Rfc-markdown] New xml2rfc release: v2.12.1
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2018 23:29:15 -0000

Hi Martin,

On 2018-10-30 08:24, Martin J. Dürst wrote:
> On 2018/10/30 15:29, Henrik Levkowetz wrote:
> 
>> The current html specification would instead have produced, depending on
>> how you work around its problems, one of
>> 
>>    Midtskogveien 18
>>    Skedsmokorset
>>    2020
>>    Norway
>> 
>> or
>> 
>>    Midtskogveien 18
>>    Skedsmokorset, 2020
>>    Norway
>> 
>> which is a slighter degree of mangling than for places like various areas
>> of Japan, that needs city-region.  Here is a Japanese example.  This is
>> correct (except that it's also a translation, not just a romanization):
> 
> It is (mostly) correct for the original, which would be something like:
> 
> 日本
> 〒 112-0001
> 東京都文京区白山 4-3-2
> 3F B室
> 
> Note that the hierarchical number (4-3-2) always comes after 白山 
> (Hakusan) in the Japanese version. It can come after or before in the 
> romanized version. Also note that in Japanese, there isn't really a 
> fixed convention for line breaks; in addition, this example has a floor 
> and room designation but lacks a building name, which isn't very typical.

Aha, ok.

> 
>>    Japan
>>    112-0001
>>    Tokyo-to
>>    Bunkyo-ku
>>    4-3-2 Hakusan
>>    3rd Floor Room B
> 
> This order of address fields would be very strange for an actually 
> romanized address, the example below, with some fixes, would be much better.

Yes, I also saw this when I put an <author> entry in place and processed
it through the i18n library.

>> and the RFC7992 specification would have rendered it as either this,
>> preserving the semantic labelling of the parts, but loosing the city-region
>> part:
>> 
>>    3rd Floor Room B
>>    4-3-2 Hakusan
>>    Tokyo-to, 112-0001
>>    Japan
> 
> Romanized, it should be something like:
> 
> 3rd Floor Room B
> 4-3-2 Hakusan, Bunkyo-ku
> Tokyo, 112-0001 Japan
> 
> More or less linebreaks are okay, there isn't too much of a fixed 
> convention. The -to after Tokyo isn't used that much for romanized 
> addresses.

Ok, noted.  I'll correct my example.

Thanks for the additional input :-)


Best regards,

	Henrik


> 
> Regards,   Martin.
> 
>> or would loose all semantic labelling through forced use of postalLine for
>> all entries.
>> 
>> This problem has however been solved to a large degree by modern libraries.
>> If you can do this *right*, why continue to do it wrong?
>