[Rfc-markdown] SVG broken (Re: [xml2rfc-dev] New xml2rfc release: v2.45.0)

Carsten Bormann <cabo@tzi.org> Fri, 29 May 2020 19:56 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 [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 508923A102B; Fri, 29 May 2020 12:56:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hyZO1s31wMec; Fri, 29 May 2020 12:56:43 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6D5D3A1029; Fri, 29 May 2020 12:56:43 -0700 (PDT)
Received: from [172.16.42.112] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (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 49Yb1P6sqLzydq; Fri, 29 May 2020 21:56:41 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <E1jduEw-0007if-7I@durif.tools.ietf.org>
Date: Fri, 29 May 2020 21:56:41 +0200
Cc: xml2rfc-dev@ietf.org, xml2rfc@ietf.org, rfc-markdown@ietf.org
X-Mao-Original-Outgoing-Id: 612475001.437464-8547a85ec6df2a072461d9666d7e7b8f
Content-Transfer-Encoding: quoted-printable
Message-Id: <93E5295E-CE96-4121-B3F5-C04540D542FD@tzi.org>
References: <E1jduEw-0007if-7I@durif.tools.ietf.org>
To: Henrik Levkowetz <henrik@levkowetz.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/96bCrlIgRhqrSxAv2ROBn0bHlb4>
Subject: [Rfc-markdown] SVG broken (Re: [xml2rfc-dev] New xml2rfc release: v2.45.0)
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, 29 May 2020 19:56:47 -0000

Hi Henrik,

I no longer get SVG through this version that has been “repaired” by svgcheck -qra; the SVG processing now seems very picky.  (I haven’t updated since 2.39, so this might have happened earlier.)

(I do get figures through this version that have the attribute foo=“bar”, so it can’t just be more picky XML processing.)

Before I generate a more detailed test case: Is svgcheck still intended to be the tool to be used with xml2rfc to make SVG palatable to it?  Is that being updated along with xml2rfc getting more picky?

Grüße, Carsten

y2020-05-29svg.xml(606): Error: Invalid attribute shape-rendering for element svg, at /rfc/middle/section[2]/section[2]/artset[1]/artwork[1]/*
y2020-05-29svg.xml(645): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[2]/artwork[1]/*/*[2]/*[7]
y2020-05-29svg.xml(646): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[2]/artwork[1]/*/*[2]/*[8]
y2020-05-29svg.xml(647): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[2]/artwork[1]/*/*[2]/*[9]
y2020-05-29svg.xml(648): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[2]/artwork[1]/*/*[2]/*[10]
y2020-05-29svg.xml(635): Error: Invalid attribute shape-rendering for element svg, at /rfc/middle/section[2]/section[2]/artset[2]/artwork[1]/*
y2020-05-29svg.xml(666): Error: Invalid attribute stroke for element path, at /rfc/middle/section[2]/section[2]/artset[3]/artwork[1]/*/*[2]/*[4]
y2020-05-29svg.xml(670): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[3]/artwork[1]/*/*[2]/*[8]
y2020-05-29svg.xml(671): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[3]/artwork[1]/*/*[2]/*[9]
y2020-05-29svg.xml(672): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[3]/artwork[1]/*/*[2]/*[10]
y2020-05-29svg.xml(659): Error: Invalid attribute shape-rendering for element svg, at /rfc/middle/section[2]/section[2]/artset[3]/artwork[1]/*
y2020-05-29svg.xml(692): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[4]/artwork[1]/*/*[2]/*[8]
y2020-05-29svg.xml(693): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[4]/artwork[1]/*/*[2]/*[9]
y2020-05-29svg.xml(694): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[4]/artwork[1]/*/*[2]/*[10]
y2020-05-29svg.xml(695): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[4]/artwork[1]/*/*[2]/*[11]
y2020-05-29svg.xml(696): Error: Invalid attribute stroke for element text, at /rfc/middle/section[2]/section[2]/artset[4]/artwork[1]/*/*[2]/*[12]