Re: Fix character column number of XML parse error on line with closing tag of element with namespace preceding it

Nick Wellnhofer via xml <[email protected]> Sun, 9 Aug 2020 15:08:56 +0200
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
On Jun 15, 2020, at 17:29 , Frederic Vancraeyveldt <[email protected]> wrote:
> I traced the code and I have a suggested fix in libxml_parser.patch.

Thanks, this should be fixed now with this commit:

https://gitlab.gnome.org/GNOME/libxml2/-/commit/b82fa3dd26a72c89ced293d06269eb97bb252d76
 
> I also modified xmllint a little bit to be able to show the error using that tool.
> 
> That modification is in patch (libxml_error.patch)

This changes the format of error messages for all users of libxml2 and could break things if someone tries to parse the error message, for example.

> I just joined this mailing list. Please advise me if there is a better way of reporting these issues.

The best way is to use GitLab: https://gitlab.gnome.org/GNOME/libxml2

Nick