Re: [xml2rfc-dev] RFC 7991 issue #37: Schema Issue, RFC 7991, In Section 2.12, <br>

Julian Reschke <julian.reschke@gmx.de> Mon, 01 October 2018 13:05 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CD3E130E68 for <xml2rfc-dev@ietfa.amsl.com>; Mon, 1 Oct 2018 06:05:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 dUC9qKSQf_iJ for <xml2rfc-dev@ietfa.amsl.com>; Mon, 1 Oct 2018 06:04:56 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7A08130E69 for <xml2rfc-dev@ietf.org>; Mon, 1 Oct 2018 06:04:55 -0700 (PDT)
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MWkZL-1gDMZf0OPD-00Xtat; Mon, 01 Oct 2018 15:04:40 +0200
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MWkZL-1gDMZf0OPD-00Xtat; Mon, 01 Oct 2018 15:04:40 +0200
To: Henrik Levkowetz <henrik@levkowetz.com>, xml2rfc-dev@ietf.org
References: <E1g6wQ8-00057n-85@durif.tools.ietf.org> <70ee4cff-7533-13e0-d71a-ffecf2dc56f0@gmx.de> <24828f94-dbbd-4c18-8d85-333487bda367@levkowetz.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <6af53098-ed88-52b0-a1c4-27dad547ee8c@gmx.de>
Date: Mon, 01 Oct 2018 15:04:38 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0
MIME-Version: 1.0
In-Reply-To: <24828f94-dbbd-4c18-8d85-333487bda367@levkowetz.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:bCz3LKhVN/QVg2HwdC9i6zGtsBDWmo0HFhccSG9NgtZmPQH4BBV vqgLXnIRFZXLZd4Kof7WBwKFD/xSluCxbRrY9YoHnrHwoq536E5D36dSaBJpVtbCQeLvQI5 tffsUvfMtq81GLZ7TfBtU3X4nPDfwlTQZz0BqZAXiOmMYVOPDbYmhiC2lVzCxri4Rn+RcNq oskwtFL3v+KC8WsSCQtoQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:HCcsTQA6ZaY=:bAPXZZL6Uf1exu0Hhj+odO r4gYF5vs7gODXDtQlf6+bVgBH8f7OjcvpbytCe76EDUZVzjK8BLozCeIDymfO6qP2k2BwdB7Y 0V+bMxFYh41vpdgV7YrRhUSLPUFclIlIszcP7sxnXHA1EJ7KhEek8FJXXsUJ3FkJ7hMwumUpo d+D0rFGc2Zrd2vfhWzfzG1rg3Re5RGyx00gN2iv8fGk0BzTykn67dJ5Psy81bXxJRkI08T5Xg /S8EkAgBa0jByAiTNekME+WV1xW4n7gZU+rzAKn98/LMHOuqkaO1L7Uqhny9YU8ccgQ5Ihee0 mCCf2aGjr1q6telvu0XSTzCJTwNfJdy/zn7CbXXWeDJnZ75M/iqBQ3s3u6bdRCPrP9AMoDeFq PE+GLlMRwQPGgw8uXOjYFuEB/uB7RxH/wbI5it44/TiB+5c+r1YJv98f0tu0FXksU4dAug9Y/ XTIjslDAkRy1xZjFygvGQkjYQ6zNfiSdBZlR/2lTLwhlXtwbFdXNeDdoF+OuPm5ddJZrZe120 LbV1ASOGdNA8MOQHOvvV81QwLE7aQocJo6+79ubOzu9WAzHxxjVuzI4sOIEt6SuDodwtqOa+x XffGD/i1Oqy2u/YJpiVjXp80IkYRTb1TIPoWW1isQusVr6vuvQSyVdCULLikhTlpeQBUXIdBa rVXLLpbxTHueegjGJFBHlc39uFSLiSS1uWYeEAreQE1Y0mfJompHHaSfqRHxR8Yxz6pq4syEU F2WFn6FqKTrogSCiWeTA+yY7PRliOkNkmdPHvtXj0biI+jy2ZYGRMi+iQxQWhIE6DkNgEsWFC MwdqaNS9XoVgJicxj2QjOABlWOqjewBfERuZ0v/1iDd456OQng=
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/F4MUAPKG1yPP0ih--FKC6uhQnpE>
Subject: Re: [xml2rfc-dev] RFC 7991 issue #37: Schema Issue, RFC 7991, In Section 2.12, <br>
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2018 13:05:12 -0000

On 10/1/2018 2:37 PM, Henrik Levkowetz wrote:
> Hi Julian,
> 
> On 2018-10-01 14:07, Julian Reschke wrote:
>> On 10/1/2018 1:31 PM, henrik@levkowetz.com wrote:
>>> This captures an issue noted during implementation, also described in
>>> https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation#section-3.1.2
>>>
>>> Specification: https://tools.ietf.org/html/rfc7991#section-2.12
>>>
>>> ---
>>> In Section 2.12, <br>
>>>
>>>      A number of elements permits a mixed content model (see Section "Mixed
>>>      Content Model"): <li>, <blockquote>, <dd>, <td>, and <th>.  However,
>>>      when using the simpler of the two content schemas, two of them (<td> and
>>>      <th>) permit inline line breaks through the use of <br> elements; the
>>>      others do not.  This seems terribly arbitrary.
>>>
>>>      Recommendation:  Remove the <br> element completely.  Alternatively,
>>>                       permit it to be used all places that 'text' and non-
>>>                       block elements may be used (that is, in inline
>>>                       context).
>>>
>>>      Implementation:  The current version of xml2rfc renders <br> as a
>>>                       newline in all inline contexts.
>>> ---
>>
>> As far as I recall, we ended up with the limited use of <br> because
>> forcing a line break inside a table cell sometimes really is needed,
>> while otherwise it's not. I agree consistency is nice, but this may be a
>> case where the current approach is the right one.
> 
> Experience with the use of the v3 specification is of course very limited
> at present, but my awareness of the issue was triggered by attempts to use
> <br> by Miek, when he started adapting his pandoc2rfc tool to use the v3
> vocabulary.
> 
> I would say that even if <br> in running text would rarely be needed, the
> confusion Miek ran into is unnecessary, and limiting <br> to use within
> table cells, as opposed to removing it altogether or permitting it inline
> everywhere is more complex for both authors and formatters to keep track
> of and handle.
> 
> Hence my proposal.
> ...

Yes, that's the consistency argument. The other side of the argument is 
that we don't want people to control line breaks in floating text (at 
least that's my recollection), but we did agree that it's a necessary 
feature inside table cells.

Best regards, Julian