[Rfc-markdown] 1.3.24: handle camelCase XML attributes

Carsten Bormann <cabo@tzi.org> Fri, 01 January 2021 20:51 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id B2F023A0C9D; Fri, 1 Jan 2021 12:51:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id dj2kkMf2sIUS; Fri, 1 Jan 2021 12:51:11 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C44F3A0CBA; Fri, 1 Jan 2021 12:51:10 -0800 (PST)
Received: from [] (p5089aac1.dip0.t-ipconnect.de []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4D6xy42FPyzyXc; Fri, 1 Jan 2021 21:51:08 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.\))
From: Carsten Bormann <cabo@tzi.org>
Date: Fri, 1 Jan 2021 21:51:07 +0100
Cc: xml2rfc Mailing List <xml2rfc@ietf.org>
X-Mao-Original-Outgoing-Id: 631227067.7792079-b86a83dd4bb19b7e856a0c07fa9c1ab2
Content-Transfer-Encoding: quoted-printable
Message-Id: <2159EB3B-22DA-4E01-92A3-7512832B9189@tzi.org>
To: rfc-markdown@ietf.org
X-Mailer: Apple Mail (2.3608.
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/de2sUOH4eDhiZip1I30ebGoBoig>
Subject: [Rfc-markdown] 1.3.24: handle camelCase XML attributes
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jan 2021 20:51:14 -0000

In XML attribute names, e.g., set via IALs:

* convert snake_case to camelCase, or
* convert downcased known camelCase names(*) to camelCase

Fixes inability to use camelCase attributes in XML elements named like
HTML elements (e.g., quotedFrom in blockquote) — parent gem kramdown
treats HTML attributes as case insensitive and downcases them before
we get to see them.

If ever needed, snake_case can still be entered as snake__case.
Note that we don't touch the occasional kebab-case attribute name
defined in RFCXMLv3 (currently quote-title, suppress-title).

As usual, update by “gem update” or “gem update kramdown-rfc2629”.

Grüße, Carsten

(*) asciiAbbrev asciiFullname asciiInitials asciiName asciiSurname
    asciiValue blankLines derivedAnchor derivedContent derivedCounter
    derivedLink displayFormat docName expiresDate hangIndent hangText
    indexInclude iprExtract keepWithNext keepWithPrevious originalSrc
    prepTime quoteTitle quotedFrom removeInRFC sectionFormat seriesNo
    showOnFrontPage slugifiedName sortRefs submissionType symRefs tocDepth