* bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation
@ 2018-09-21 2:02 Jean-Christophe Helary
2019-07-13 2:06 ` Lars Ingebrigtsen
2021-11-30 14:33 ` Lars Ingebrigtsen
0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe Helary @ 2018-09-21 2:02 UTC (permalink / raw)
To: 32792
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>
(\x1f): invalid XML character (Unicode: 0x1f)
</invalid>
</xml>
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation
2018-09-21 2:02 bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation Jean-Christophe Helary
@ 2019-07-13 2:06 ` Lars Ingebrigtsen
2019-09-27 16:25 ` Lars Ingebrigtsen
2021-11-30 14:33 ` Lars Ingebrigtsen
1 sibling, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-13 2:06 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: 32792
Jean-Christophe Helary <brandelune@gmail.com> writes:
> This XML is considered valid by nxml validation:
>
> <xml>
> <invalid>
> (\x1f): 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation
2019-07-13 2:06 ` Lars Ingebrigtsen
@ 2019-09-27 16:25 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-27 16:25 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: 32792
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Jean-Christophe Helary <brandelune@gmail.com> writes:
>
>> This XML is considered valid by nxml validation:
>>
>> <xml>
>> <invalid>
>> (\x1f): 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation
2018-09-21 2:02 bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation Jean-Christophe Helary
2019-07-13 2:06 ` Lars Ingebrigtsen
@ 2021-11-30 14:33 ` Lars Ingebrigtsen
1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-30 14:33 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: 32792
Jean-Christophe Helary <brandelune@gmail.com> writes:
> This XML is considered valid by nxml validation:
>
> <xml>
> <invalid>
> (\x1f): 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-30 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21 2:02 bug#32792: 27.0.50; invalid XML character considered as valid in nxml validation Jean-Christophe Helary
2019-07-13 2:06 ` Lars Ingebrigtsen
2019-09-27 16:25 ` Lars Ingebrigtsen
2021-11-30 14:33 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.