[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59537: `libxml-parse-xml-region` strips out the namespace informatio
From: |
Eli Zaretskii |
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 |
> Date: Thu, 24 Nov 2022 16:21:30 +0530
> Cc: 59537@debbugs.gnu.org
> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>
> On 24/11/22 15:52, Eli Zaretskii wrote:
> >> Date: Thu, 24 Nov 2022 14:31:52 +0530
> >> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
> >>
> >> `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.