Re: [xml2rfc] Current xml2rfc produces errors on published RFCs

Kesara Rathnayake <krathnayake@ietf.org> Mon, 02 August 2021 05:34 UTC

Return-Path: <krathnayake@ietf.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 01CBC3A0A1C for <xml2rfc@ietfa.amsl.com>; Sun, 1 Aug 2021 22:34:22 -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, NICE_REPLY_A=-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 Ie8PV_M7RXqj for <xml2rfc@ietfa.amsl.com>; Sun, 1 Aug 2021 22:34:16 -0700 (PDT)
Received: from [192.168.1.198] (unknown [124.197.12.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPSA id 7619C3A0A1A for <xml2rfc@ietf.org>; Sun, 1 Aug 2021 22:34:16 -0700 (PDT)
Message-ID: <94576ea4-d3ab-2aa3-c43b-8771b1f9e043@ietf.org>
Date: Mon, 02 Aug 2021 17:34:14 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.0
Content-Language: en-US
To: xml2rfc@ietf.org
References: <69176971-843c-5e59-b45b-18398bd41d38@taugh.com> <61145c89-4c93-13ab-6430-e87afcf17efe@it.aoyama.ac.jp> <5cd2807f-397c-b098-f91f-a8e84a6b4510@gmail.com>
From: Kesara Rathnayake <krathnayake@ietf.org>
In-Reply-To: <5cd2807f-397c-b098-f91f-a8e84a6b4510@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/TlnE0SXWXiidN1vhZZbmY5lqAcM>
Subject: Re: [xml2rfc] Current xml2rfc produces errors on published RFCs
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: XML2RFC discussion list <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: Mon, 02 Aug 2021 05:34:22 -0000

This seems to be introduced with 
https://trac.ietf.org/trac/xml2rfc/ticket/581 by restricting section IDs 
to be in `appendix-A.1` format without a backward compatibility.

  --Kesara


On 2/08/21 5:10 pm, Brian E Carpenter wrote:
>  From a brief experiment, the xml2rfc convertor at https://xml2rfc.tools.ietf.org/experimental.html simply can't deal with the xml files at https://www.rfc-editor.org/info/rfcXXXX, right back to RFC8650.
> 
> The specific element causing the problem appears to be pn="xxx" which is like anchor only different. The published XML is littered with pn's.
> 
> Regards
>     Brian
> 
> On 02-Aug-21 16:10, Martin J. Dürst wrote:
>> On 2021-08-02 10:49, John R Levine wrote:
>>> When I run rfc8799.xml or rfc9001.xml through the current version of
>>> xmlrfc, it says:
>>>
>>> Error: Found no element to match the <xref> target attribute 'section-a.1'
>>>
>>> When I look at the XML, the target is there and this presumably worked
> 
>>> when the RFCs were published.
>>
>> I think it would be a good idea to add the above two documents to a test
>> suite to avoid regressions. And use some kind of continuous integration
> 
>> testing (if that's already done, that's great).
>>
>> Regards,   Martin.
>>
>>> Regards,
>>> John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
>>> Please consider the environment before reading this e-mail. https://jl.ly
>>>
>>
>> _______________________________________________
>> xml2rfc mailing list
>> xml2rfc@ietf.org
>> https://www.ietf.org/mailman/listinfo/xml2rfc
>>
> 
> _______________________________________________
> xml2rfc mailing list
> xml2rfc@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc
> 

-- 
Kesara Rathnayake
Senior Software Development Engineer - IETF LLC
krathnayake@ietf.org