[xml2rfc] No <t> in a <dd> !

Roger Price <roger@rogerprice.org> Sun, 03 January 2021 13:56 UTC

Return-Path: <roger@rogerprice.org>
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 B403C3A0E9B for <xml2rfc@ietfa.amsl.com>; Sun, 3 Jan 2021 05:56:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, 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 WPPdgujAyO4b for <xml2rfc@ietfa.amsl.com>; Sun, 3 Jan 2021 05:56:36 -0800 (PST)
Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 489893A0D78 for <xml2rfc@ietf.org>; Sun, 3 Jan 2021 05:56:35 -0800 (PST)
X-Originating-IP: 78.243.124.66
Received: from maria (unknown [78.243.124.66]) (Authenticated sender: mailbox@rogerprice.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 00ACC1BF203; Sun, 3 Jan 2021 13:56:31 +0000 (UTC)
Date: Sun, 03 Jan 2021 14:56:30 +0100
From: Roger Price <roger@rogerprice.org>
X-X-Sender: rprice@maria.rogerprice.org
To: xml2rfc Mailing List <xml2rfc@ietf.org>
Message-ID: <alpine.DEB.2.20.2101031350280.26613@maria.rogerprice.org>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-Message-Flag: Supplemental report to reaper.nsa.gov. rc=0
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/PaCLuEtqEDIdcYa6eBLeVLHR4TQ>
Subject: [xml2rfc] No <t> in a <dd> !
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: Sun, 03 Jan 2021 13:56:39 -0000

I was surprised to receive the following error messages from xml2rfc :

  draft-rprice-UPS-management-protocol-00.rfc(81): Error: Element dd has extra
    content: t, at /rfc/middle/section[1]/section[1]/dl/dd[1]/t
  draft-rprice-UPS-management-protocol-00.rfc(97): Error: Element dd has extra
    content: dl, at /rfc/middle/section[1]/section[1]/dl/dd[3]/dl

My understanding from the DTD in file v3compat.dtd is that the content model (I 
guess this should also include #PCDATA but that's a separate matter) is:

  <!ELEMENT dd (artset|artwork|dl|figure|ol|sourcecode|t|ul)*>

and nothing in RFC 7749 or 
https://tools.ietf.org/src/xml2rfc/trunk/cli/doc/xml2rfc3.html#list-elements 
suggests otherwise.

Even HTML has content model

  <!ELEMENT DD - O  %section.content; -(ADDRESS) >

where section.content is very generous:

  <!ENTITY % section.content "(%block; | %text; | ADDRESS)+" >

Please can we have nested lists and <t> in <dd>?

Roger