From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Da_vid via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72198: 31.0.50; `svg-print' add useless and possibly wrong space in XML representation. Date: Sat, 27 Jul 2024 16:45:12 +0200 Message-ID: <11741141-DA4A-4281-9B81-7C8C94BEAD36@orange.fr> References: <864j8b2tfb.fsf@gnu.org> Reply-To: Da_vid Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----IIFSSRUAKB1PMAW0KF25ZAKCZYHT6M Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23439"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 72198@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 27 16:46:19 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sXigd-0005vO-0d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Jul 2024 16:46:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXigF-0007yz-7Z; Sat, 27 Jul 2024 10:45:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXigB-0007yO-Vf for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 10:45:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXigB-0007YH-N0 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 10:45:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=evVjTOH38YBu0asidDLleUbrsQIkNN42bmqfOx2yAT8=; b=PRh9pTPsVdx3mpBKdVC7Rdjk/KVeOErXpZZEQh7tHeDP9lJBH3QDG55oxb9BhaeUHQy22RKf/IUgLLxA+lqA+mtQM6t6tfFtEDxF+So7D35/zIp7o7H/bP0/KHL8zWEoHbr8/FYGbqTym37lyspfpy6dItt+5MODaNXA1jxkcRBTsC73WwQLDcyClX81noME53Bkf7Dhzy/siuvaAXiyanyDQm13rgLmqHtymSWplLJBk6tSo9z86cWRp1KFShxHqtAlFuBIN8M1Gs+SoUtmx283AumJGQNLOACfLn20szW3qYk6FI3s7pBKPHKmrYQuS4wztspPGLcki43NvrgM9w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXigL-0000cV-Mw for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 10:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Da_vid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2024 14:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72198 X-GNU-PR-Package: emacs Original-Received: via spool by 72198-submit@debbugs.gnu.org id=B72198.17220915302101 (code B ref 72198); Sat, 27 Jul 2024 14:46:01 +0000 Original-Received: (at 72198) by debbugs.gnu.org; 27 Jul 2024 14:45:30 +0000 Original-Received: from localhost ([127.0.0.1]:42090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXifp-0000XZ-RK for submit@debbugs.gnu.org; Sat, 27 Jul 2024 10:45:30 -0400 Original-Received: from smtp-22.smtpout.orange.fr ([80.12.242.22]:51550 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXifn-0000X2-A0 for 72198@debbugs.gnu.org; Sat, 27 Jul 2024 10:45:28 -0400 Original-Received: from [127.0.0.1] ([2.7.225.247]) by smtp.orange.fr with ESMTPSA id XifYsXyhg6bu3XifZsjYBJ; Sat, 27 Jul 2024 16:45:15 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1722091515; bh=evVjTOH38YBu0asidDLleUbrsQIkNN42bmqfOx2yAT8=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=C+q8H63muu64PmFXYPmv0Nrng6hL31TIRqqy1o5egpi5eCr7EQocvcKBLZ40CZ0xw kErj5gOXSORosQxF3Y2t5rQh9jNyiH1r4rvO/wyRE1unLMTQw5AFd8AnZtL3WlQP29 Of7J2NNpWQSB2QwtE8sJ9ryGXpXSzCwPshw6m01yeUh843aK0neDAD+PJUVi22THSZ Ikc7JnYCZktVhIKXYGQrtJkZvNtHuRupnQZOueufAPhES8jZUUpIS/GUEF7MQY2bRh GGiEg3O3YtyKGBiDm5TVeFNETQw9n1cesVDQi4b2UDBx0AoMtR4lTfutLjiZ2hZrAM kIZaHXCWXryIw== X-ME-Helo: [127.0.0.1] X-ME-Auth: ZGFfdmlkQG9yYW5nZS5mcg== X-ME-Date: Sat, 27 Jul 2024 16:45:15 +0200 X-ME-IP: 2.7.225.247 In-Reply-To: <864j8b2tfb.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289431 Archived-At: ------IIFSSRUAKB1PMAW0KF25ZAKCZYHT6M Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 27 juillet 2024 09:19:36 GMT+02:00, Eli Zaretskii a =C3= =A9crit=C2=A0: >> Date: Fri, 19 Jul 2024 16:10:00 +0200 >> From: David Ponce via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Since the extra space in front of the XML representation of each child >> node is unnecessary according to the SVG 1=2E1 specification, the attac= hed >> V0 patch resolves this issue by removing the offending statement=2E >>=20 >> The attached V1 patch is a proposal to go a step further by improving >> the documentation and using the DOM API to access parts of dom node=2E > >Thanks=2E Can you elaborate on what should we consider in order to >decide whether to install V0 or V1? The V0 patch is the only one required to fix the reported bug=2E V1 is just a proposal to improve the doc string and avoid to access dom da= ta using knowledge of the internal representation instead of the dom api=2E V1 also include the fix in V0=2E I hope it's clearer now=2E Thanks ------IIFSSRUAKB1PMAW0KF25ZAKCZYHT6M Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Le 27= juillet 2024 09:19:36 GMT+02:00, Eli Zaretskii <eliz@gnu=2Eorg> a = =C3=A9crit=C2=A0:
Date: Fri, 19 Jul 2024 16:10:00 +0200
From: David Ponce = via "Bug reports for GNU Emacs,
the Swiss army knife of text editors" &= lt;bug-gnu-emacs@gnu=2Eorg>

Since the extra space in front of the= XML representation of each child
node is unnecessary according to the S= VG 1=2E1 specification, the attached
V0 patch resolves this issue by rem= oving the offending statement=2E

The attached V1 patch is a proposal= to go a step further by improving
the documentation and using the DOM A= PI to access parts of dom node=2E
<= br>Thanks=2E Can you elaborate on what should we consider in order to
d= ecide whether to install V0 or V1?

The V0 patch is the only one required to fix = the reported bug=2E

V1 is just a proposal to improve the doc string = and avoid to access dom data using knowledge of the internal representation= instead of the dom api=2E
V1 also include the fix in V0=2E

I hop= e it's clearer now=2E
Thanks
------IIFSSRUAKB1PMAW0KF25ZAKCZYHT6M--