Subject: bug#4175: 23.1; nxml-mode: Internal error in rng-validate-mode triggered

From: Stephen Berman <[email-masked]>
Date: Fri, 12 Feb 2016 11:12:23 +0100

On Fri, 12 Feb 2016 09:19:39 +0200 Eli Zaretskii <[email-masked]> wrote:

>> From: Andrew Hyatt <[email-masked]>
>> Date: Thu, 11 Feb 2016 23:23:52 -0500
>> Cc: [email-masked]
>> 
>> > emacs -Q
>> > M-: (progn
>> >      (switch-to-buffer
>> >       (find-file
>> >        (url-file-local-copy
>> >         "http://karme.de/delme/test.svg")))
>> >      (nxml-mode)
>> >      (switch-to-buffer "*Messages*"))
>> >
>> > I also attached the test file. If really needed I can create a stripped
>> > down version.
>> 
>> I've verified this is still a problem in Emacs 25.
>
> It doesn't happen for me, FWIW.
>
> Can you show the offending regexp, and what code in nxml-mode creates
> it?

I can reproduce it in a91b4b51ddf2575d821adb8b84fdf32cff83886e (GNU
Emacs 25.0.90.2 (x86_64-suse-linux-gnu, GTK+ Version 3.14.15) of
2016-02-11).  Here's the backtrace:

Steve Berman