bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6015: 23.1.96; Internal error in rng-validate-mode for very long att


From: Lars Ingebrigtsen
Subject: bug#6015: 23.1.96; Internal error in rng-validate-mode for very long attribute
Date: Sun, 18 Jul 2021 15:29:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jay Berkenbilt <ejb@ql.org> writes:

> Create a file called "a.xml" and place the buffer in fundamental mode by
> typing
>
> M-x fundamental-mode RET
>
> Create a simple XML file consisting of a single element with a single
> attribute whose value is 40,000 characters long:
>
> <x value="CTRL-U 40000 w"/> RET
>
> and save the file.  Reload the file so that emacs enters nxml mode upon
> initial load:
>
> C-x C-v RET
>
> Observe the following errors in *Messages*:
>
> File mode specification error: (error "Stack overflow in regexp matcher")

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm able to reproduce this problem in Emacs 28, too, but I have to up
the number of ws to 400000.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]