Re: [xml2rfc-dev] [Ext] RFC 7991 issue #31: Schema Issue, RFC 7991, In Section 2.54, <table>

Henrik Levkowetz <henrik@levkowetz.com> Sat, 20 October 2018 03:54 UTC

Return-Path: <henrik@levkowetz.com>
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 C9D2A130E23 for <xml2rfc-dev@ietfa.amsl.com>; Fri, 19 Oct 2018 20:54:13 -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 PHZIfDhpa9Ha for <xml2rfc-dev@ietfa.amsl.com>; Fri, 19 Oct 2018 20:54:12 -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 19F26127133 for <xml2rfc-dev@ietf.org>; Fri, 19 Oct 2018 20:54:12 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:50310 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 1gDiL5-0007eH-4u; Fri, 19 Oct 2018 20:54:11 -0700
To: Jim Schaad <ietf@augustcellars.com>, 'Paul Hoffman' <paul.hoffman@icann.org>
References: <70ee4cff-7533-13e0-d71a-ffecf2dc56f0@gmx.de> <3ac63652-2df2-03c7-eee6-bad2cbd326d8@levkowetz.com> <B63F3A7C-AAB6-4281-BC5F-BC28E9693E43@icann.org> <2ab7b797-4a01-5327-10fb-5ae13587944f@nostrum.com> <a9cbe9b1-1ee4-b60b-bb88-d07d11afa6a3@gmx.de> <20181004192423.xexbgomdqs56pkok@miek.nl> <5694D337-A88C-4F3E-AE2D-8EA34C3A5A93@icann.org> <20181004193939.szec4ng47kp7lapv@miek.nl> <38897ac0-44a7-6b03-4e7e-e19a115fc53d@gmx.de> <f36e6a80-99ad-fd1a-f872-9b8fc83fb763@levkowetz.com> <050c01d45d97$714e51b0$53eaf510$@augustcellars.com> <efc18e10-416f-91ae-bff5-f7ecf2721df4@levkowetz.com> <052b01d45daa$87e71980$97b54c80$@augustcellars.com> <656afb2e-3aa7-53c5-5e39-55050387aa20@levkowetz.com> <0bac2940-1abc-87e3-35e7-f6d621e83f1c@rfc-editor.org> <073e01d45ffc$fc161550$f4423ff0$@augustcellars.com> <d90ce312-8580-5509-d876-3fe889d9b125@levkowetz.com> <2061F6E4-3DF8-4C60-BB35-AB52FCD98EB1@icann.org> <013601d46827$fc2b0cc0$f4812640$@augustcellars.com>
Cc: 'Heather Flanagan' <rse@rfc-editor.org>, xml2rfc-dev@ietf.org
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <967ba0b0-3f72-028b-c050-015184394861@levkowetz.com>
Date: Sat, 20 Oct 2018 05:54:03 +0200
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: <013601d46827$fc2b0cc0$f4812640$@augustcellars.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="XPaGnWeD0wDvAui6VJDWkeVb9HXkgneqe"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, rse@rfc-editor.org, paul.hoffman@icann.org, ietf@augustcellars.com
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-dev/MSpc8tmKOz4f92H8Uw_6sQNCOmM>
Subject: Re: [xml2rfc-dev] [Ext] RFC 7991 issue #31: Schema Issue, RFC 7991, In Section 2.54, <table>
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: Sat, 20 Oct 2018 03:54:14 -0000

Hi Jim,

On 2018-10-20 05:50, Jim Schaad wrote:
> 
> 
>> -----Original Message-----
>> From: Paul Hoffman <paul.hoffman@icann.org>
>> Sent: Friday, October 19, 2018 6:33 PM
>> To: Henrik Levkowetz <henrik@levkowetz.com>
>> Cc: Jim Schaad <ietf@augustcellars.com>; Heather Flanagan <rse@rfc-
>> editor.org>; xml2rfc-dev@ietf.org
>> Subject: Re: [Ext] [xml2rfc-dev] RFC 7991 issue #31: Schema Issue, RFC
> 7991, In
>> Section 2.54, <table>
>> 
>> Sorry to reopen, but I'm not clear on the result. We have consensus on
>> something, but I'm not clear how to implement it.
>> 
>> 
>> On Oct 9, 2018, at 11:26 AM, Henrik Levkowetz <henrik@levkowetz.com>
>> wrote:
>> >
>> >
>> >
>> > On 2018-10-09 20:22, Jim Schaad wrote:
>> >>
>> >>> -----Original Message-----
>> >>> From: xml2rfc-dev <xml2rfc-dev-bounces@ietf.org> On Behalf Of Heather
>> >>> Flanagan
>> >>> Sent: Tuesday, October 9, 2018 11:01 AM
>> >>> To: xml2rfc-dev@ietf.org
>> >>> Subject: Re: [xml2rfc-dev] RFC 7991 issue #31: Schema Issue, RFC 7991,
> In
>> >>> Section 2.54, <table>
>> >>>
>> >>>
>> >>> On 10/6/18 2:53 PM, Henrik Levkowetz wrote:
>> >>>> On 2018-10-06 21:26, Jim Schaad wrote:
>> >>>>>>> What is the rule you have for doing the alignment of figure
>> >>>>>>> captions? I think that the same rules should apply to both figures
>> >>>>>>> and tables.
>> >>>>>> Till now, both have been centered.  That can be changed.
>> >>>>>>
>> >>>>> No, I would not change this.  I would keep the centering for the
>> >>>>> caption.  The next interesting question the caption is wider than
> the
>> >>>>> table should it be wrapped to the table width or run on past the
> edge
>> >>>>> of the table.  I don't think that I have a preference
>> >>>> I don't (at least currently) have a strong preference.  The current
>> >>>> code wraps the title to fit within the table width.
>> >>>>
>> >>>
>> >>> I'm not entirely sure how this issue differs from the table alignment
>> >> discussed
>> >>> in issues 40 and 9?
>> >>
>> >> The first was where do you place the table on the page.  This one is
> how do
>> >> you place the caption in the table.
>> >
>> > Much more succinct than my reply :-)
>> 
>> Is the result to simply add text that says "the caption will appear
> centered", or
>> is the result to add a new attribute such as "alignCaption" with the
> default
>> being "center".
> 
> I think that this is just text and no new attributes.  "The caption will
> appear centered and the same width as the table."

That's the way I've implemented it, but I have a reservation for the case
when the table is very narrow.  I'd prefer to leave the tool writer some
wriggle room for that case, and not prescribe that the caption must be the
same width as the table.

Best regards,

	Henrik