From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation Date: Thu, 24 Nov 2022 13:00:41 +0200 Message-ID: <83pmdcwrae.fsf@gnu.org> References: <83wn7kwt0q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27890"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59537@debbugs.gnu.org To: Ramesh Nedunchezian Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 12:01:42 2022 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 1oy9zB-00075a-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 12:01:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy9yi-00073K-B2; Thu, 24 Nov 2022 06:01:12 -0500 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 1oy9yh-00072b-1c for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:01:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy9yY-000257-92 for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:01:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oy9yY-0007D6-4e for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 06:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2022 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59537 X-GNU-PR-Package: emacs Original-Received: via spool by 59537-submit@debbugs.gnu.org id=B59537.166928763227672 (code B ref 59537); Thu, 24 Nov 2022 11:01:02 +0000 Original-Received: (at 59537) by debbugs.gnu.org; 24 Nov 2022 11:00:32 +0000 Original-Received: from localhost ([127.0.0.1]:57488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy9y4-0007CG-2W for submit@debbugs.gnu.org; Thu, 24 Nov 2022 06:00:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy9y1-0007C3-UT for 59537@debbugs.gnu.org; Thu, 24 Nov 2022 06:00:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy9xw-0001uy-ML; Thu, 24 Nov 2022 06:00:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nkHu94jqH5MqSJGuzGt0XFe/Iw4VqOeX3xTGgVfT3VE=; b=ZUrTKzzhdQuZ+TLeS0z7 SPHVdbbeGCULosENkeGBpT+Ft66GjmUENJKjFyCbqgk7vcRqDmW9dLkYD/3hR5CAI4/qUbvxRXoek L7ZsDEmHgtXLy/JriyJB7/KrVKSnU3nAiW4UPWaKO7P5AJJ50Q8N+ofFPa2Oeq1IyBbNqox2xxgcB jELAE4/WR+cW1j+hQmZl4aZ6qyWHh53oJSXBjDadrYYOB+cnVNo9ZS3Z4IODA/14Gn+7eouuulxYQ uOWOQT4NOAoTcauEYZPq0LEFbLmqgeCq7w1Bz5cw/W/bKjnB4CGMzXBEo+CCuaWeySLbBaP+CBZrS flMlty7a/iZXxQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy9xs-0003tb-V6; Thu, 24 Nov 2022 06:00:24 -0500 In-Reply-To: (message from Ramesh Nedunchezian on Thu, 24 Nov 2022 16:21:30 +0530) 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:248853 Archived-At: > Date: Thu, 24 Nov 2022 16:21:30 +0530 > Cc: 59537@debbugs.gnu.org > From: Ramesh Nedunchezian > > On 24/11/22 15:52, Eli Zaretskii wrote: > >> Date: Thu, 24 Nov 2022 14:31:52 +0530 > >> From: Ramesh Nedunchezian > >> > >> `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation. > >> > >> Stripping out the NAMESPACE information is a bug. > > AFAICT, we just call a function from libxml2. So I guess the bug is in that > > library? > > Do I need to upgrade?  I don't know. I'm not sure the latest libxml2 has this fixed. I'm saying that you should probably discuss this with the libxml2 developers. > I believe, libxml was introduced to cater to Eww's HTML rendering. No, we introduced it for any kind of HTML and XML processing we need.