Re: [xml2rfc-dev] RFC 7991 issue #39: Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute

Paul Hoffman <paul.hoffman@icann.org> Wed, 03 October 2018 23:10 UTC

Return-Path: <paul.hoffman@icann.org>
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 40FB3130DBE for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 16:10:51 -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, 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 9n8FMAKCYVpX for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 16:10:49 -0700 (PDT)
Received: from out.west.pexch112.icann.org (out.west.pexch112.icann.org [64.78.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6312912F295 for <xml2rfc-dev@ietf.org>; Wed, 3 Oct 2018 16:10:49 -0700 (PDT)
Received: from PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) by PMBX112-W1-CA-2.pexch112.icann.org (64.78.40.23) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 3 Oct 2018 16:10:47 -0700
Received: from PMBX112-W1-CA-1.pexch112.icann.org ([64.78.40.21]) by PMBX112-W1-CA-1.PEXCH112.ICANN.ORG ([64.78.40.21]) with mapi id 15.00.1367.000; Wed, 3 Oct 2018 16:10:47 -0700
From: Paul Hoffman <paul.hoffman@icann.org>
To: XML Developer List <xml2rfc-dev@ietf.org>
Thread-Topic: [xml2rfc-dev] RFC 7991 issue #39: Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute
Thread-Index: AQHUW25RVNodvNBASkC/qGHgbOIgoA==
Date: Wed, 03 Oct 2018 23:10:46 +0000
Message-ID: <3FC3AF27-D05C-414C-BC64-776DDCCD1100@icann.org>
References: <d97ebfcf-ee4f-02ef-39c7-ac439ba1e421@levkowetz.com> <02bc01d45ac5$7ae71a10$70b54e30$@augustcellars.com> <a5770e1c-7022-25ce-9a3e-bc5e35a65445@levkowetz.com> <030e01d45b29$1c7b33d0$55719b70$@augustcellars.com>
In-Reply-To: <030e01d45b29$1c7b33d0$55719b70$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [192.0.32.234]
Content-Type: multipart/signed; boundary="Apple-Mail=_4EF01915-A31D-4002-B3E5-4A1D0FB168A0"; protocol="application/pkcs7-signature"; micalg="sha1"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/CK2JrbNWL6_1WTfFByzXsNs8Dcs>
Subject: Re: [xml2rfc-dev] RFC 7991 issue #39: Schema Issue, RFC 7991, New Section 2.20.4, "indent" Attribute
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: Wed, 03 Oct 2018 23:10:51 -0000

On 1 Oct 2018, at 4:36, 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.4
>
> ---
> New Section 2.20.4, "indent" Attribute
>
>    The deprecation of the "hangIndent" attribute on <list> leaves no
>    opportunity to control the size of the hanging indent.  In some
>    definition lists, it is desirable to have a wide indentation, in order
>    to clearly show the terms, in other cases it is more important to allow
>    for a larger text volume than the width of the terms would allow.
>
>    Recommendation:  Add an "indent" attribute on <dl> to control the size
>                     of the hanging indent.
>
>    Implementation:  The current version of xml2rfc does not support the
>                     attribute, but has all the underlying functions needed
>                     to apply such an attribute.  Internally, an indentation
>                     is calculated based on length of the <dt> text and the
>                     settings of some of the other attributes.

This could be done where the value of the "indent" attribute is always em units (from CSS).

--Paul Hoffman