From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation Date: Fri, 2 Dec 2022 16:58:24 -0800 Message-ID: References: <83wn7kwt0q.fsf@gnu.org> <83pmdcwrae.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12090"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59537-done@debbugs.gnu.org, Ramesh Nedunchezian To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 01:59:38 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 1p1GsT-0002xS-NN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 01:59:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1Grx-0005Uo-Mg; Fri, 02 Dec 2022 19:59:05 -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 1p1Grw-0005Uf-Ko for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 19:59:04 -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 1p1Grw-0000Uh-C5 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 19:59:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1Grv-0005te-7O for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 19:59:03 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 00:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 59537@debbugs.gnu.org, stefankangas@gmail.com, rameshnedunchezian@outlook.com Original-Received: via spool by 59537-done@debbugs.gnu.org id=D59537.167002911622613 (code D ref 59537); Sat, 03 Dec 2022 00:59:02 +0000 Original-Received: (at 59537-done) by debbugs.gnu.org; 3 Dec 2022 00:58:36 +0000 Original-Received: from localhost ([127.0.0.1]:49882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1GrU-0005sf-Bw for submit@debbugs.gnu.org; Fri, 02 Dec 2022 19:58:36 -0500 Original-Received: from mail-oa1-f51.google.com ([209.85.160.51]:35594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1GrO-0005sX-UX for 59537-done@debbugs.gnu.org; Fri, 02 Dec 2022 19:58:34 -0500 Original-Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-143ffc8c2b2so7411400fac.2 for <59537-done@debbugs.gnu.org>; Fri, 02 Dec 2022 16:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=EYDSHg8J6N7nlcQQ2DKJfv0wEVVWb9fjIJrjd3vfppc=; b=Doiz7zvLVY6qnb0FPq6Pa/4M2s/RzMLaxret4KREXSZWCCsFnpsjJZGukDN96lu5VN NkbmOuwLRe3+OXVhZEUtnQj9G27gOt84NCxj2gwr+b8f/xwj2ZU6yz0wvEPCyOWvzZog EUJLKzIQtcIxxBd9JBfpde/4g1siX1KL/rDKHGrEovX7rdoq6eyNedI0cfQw7xwudsmY 5/7e2cwis7iv8NT/le5BgMBR025MeuXji3aSkvY2J08tPHUXwg0XewxIIM12NLd6jQIn tJ89ZxqEnte/DzKnZaHTqQZlYjlniz0lBjfn6wXDtqwrBM6kysH022hLIRinovAhPUsZ vpEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EYDSHg8J6N7nlcQQ2DKJfv0wEVVWb9fjIJrjd3vfppc=; b=L2G7B2MuJexzQj4CWXlp+RvpbPqRxjaW7YXxxSvBz7lQ+ZipJSENSo9z53YN6FPS/i Ht96haEIpGFZ9Jb61q1p24hM5Y8C8yz62mhw3A+HcShwo4rw0+X7seUiWtyfJY/Cl06B 14FniR8Xdqj8S8gf8b0frhksba8cF76uTvk16MJ1Xxucs3sOximMyVXaIU8KzHrAegBm 7z57gE5tq6v3xoKewd3FK3WhQYTNjJe1CtncpKkbopIbd2rbvJojo6J0Ok2YdMpX7Sl6 Hd/wUcinoqcce+1/FvgtwZv88YEpfaO3GveCO8t2d3TMm40Z9PsyfKcEcbZah3AMoVLa XtRg== X-Gm-Message-State: ANoB5pkSPZQSn1RZ5DLWV+zHdZiYylUUFbtfPqMQ6tAHgRS0EpfTiVMF T6Hz5dxejyH1BS50DiA/KF+NzbiMbyo6dZ77/M0= X-Google-Smtp-Source: AA0mqf7bSKTps05xG+o02j8nMuQ3XG/g6A26evdYOaYolDXrHK9Rl5bba8M/y3H3h4ty0iZnApBE16zOuYceWwAErt4= X-Received: by 2002:a05:6870:4995:b0:143:522a:ebcc with SMTP id ho21-20020a056870499500b00143522aebccmr24561520oab.199.1670029105241; Fri, 02 Dec 2022 16:58:25 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Dec 2022 16:58:24 -0800 In-Reply-To: <83pmdcwrae.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Nov 2022 13:00:41 +0200") X-Hashcash: 1:20:221203:59537-done@debbugs.gnu.org::+JnH3CF5f4VOZNh2:6I5R 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:249800 Archived-At: Eli Zaretskii writes: >> 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. Since this doesn't look like a bug in Emacs, I'm closing it now. Please report it to the libxml2 developers. Thanks.