GNU bug report logs - #32792
27.0.50; invalid XML character considered as valid in nxml validation

Previous Next

Package: emacs;

Reported by: Jean-Christophe Helary <brandelune <at> gmail.com>

Date: Fri, 21 Sep 2018 02:03:01 UTC

Severity: minor

Tags: confirmed, notabug

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32792 in the body.
You can then email your comments to 32792 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32792; Package emacs. (Fri, 21 Sep 2018 02:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Christophe Helary <brandelune <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 21 Sep 2018 02:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean-Christophe Helary <brandelune <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; invalid XML character considered as valid in nxml validation
Date: Fri, 21 Sep 2018 11:02:17 +0900
In GNU Emacs 27.0.50 (build 16, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65))
of 2018-08-28 built on mabinogion.local
Repository revision: d77d01d22902acdc45c2c7059de4f1b158ab5806
Windowing system distributor 'Apple', version 10.3.1561
System Description:  Mac OS X 10.13.6

This XML is considered valid by nxml validation:

<xml>
  <invalid>
  (): invalid XML character (Unicode: 0x1f)
</invalid>
</xml>



Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32792; Package emacs. (Sat, 13 Jul 2019 02:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 32792 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jean-Christophe Helary <brandelune <at> gmail.com>
Cc: 32792 <at> debbugs.gnu.org
Subject: Re: bug#32792: 27.0.50; invalid XML character considered as valid
 in nxml validation
Date: Sat, 13 Jul 2019 04:06:27 +0200
Jean-Christophe Helary <brandelune <at> gmail.com> writes:

> This XML is considered valid by nxml validation:
>
> <xml>
>   <invalid>
>   (): invalid XML character (Unicode: 0x1f)
> </invalid>
> </xml>

Do you have a test case starting from "emacs -Q"?  (I'm not familiar
with how nmxl-mode says that something is valid or not.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 13 Jul 2019 02:10:02 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 27 Sep 2019 16:25:01 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 27 Sep 2019 16:25:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32792; Package emacs. (Fri, 27 Sep 2019 16:26:02 GMT) Full text and rfc822 format available.

Message #17 received at 32792 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jean-Christophe Helary <brandelune <at> gmail.com>
Cc: 32792 <at> debbugs.gnu.org
Subject: Re: bug#32792: 27.0.50; invalid XML character considered as valid
 in nxml validation
Date: Fri, 27 Sep 2019 18:25:44 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Jean-Christophe Helary <brandelune <at> gmail.com> writes:
>
>> This XML is considered valid by nxml validation:
>>
>> <xml>
>>   <invalid>
>>   (): invalid XML character (Unicode: 0x1f)
>> </invalid>
>> </xml>
>
> Do you have a test case starting from "emacs -Q"?  (I'm not familiar
> with how nmxl-mode says that something is valid or not.)

I see now that it uses rng mode to update the validity status in the
mode line, and I can confirm that it reports that this document is
valid.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32792; Package emacs. (Tue, 30 Nov 2021 14:34:01 GMT) Full text and rfc822 format available.

Message #20 received at 32792 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jean-Christophe Helary <brandelune <at> gmail.com>
Cc: 32792 <at> debbugs.gnu.org
Subject: Re: bug#32792: 27.0.50; invalid XML character considered as valid
 in nxml validation
Date: Tue, 30 Nov 2021 15:33:29 +0100
Jean-Christophe Helary <brandelune <at> gmail.com> writes:

> This XML is considered valid by nxml validation:
>
> <xml>
>   <invalid>
>   (): invalid XML character (Unicode: 0x1f)
> </invalid>
> </xml>

According to XML 1.1, that's a valid XML character:

https://www.w3.org/TR/xml11/#charsets

So I don't think there's anything to fix.  (But parsers using following
older XML standards will disagree.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 30 Nov 2021 14:34:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 32792 <at> debbugs.gnu.org and Jean-Christophe Helary <brandelune <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 30 Nov 2021 14:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Dec 2021 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.