unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jay Berkenbilt <ejb@ql.org>
Cc: 6015@debbugs.gnu.org
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	[thread overview]
Message-ID: <87h7grrbqr.fsf@gnus.org> (raw)
In-Reply-To: <20100423104120.1616631296.qww314159@motoko.argon.local> (Jay Berkenbilt's message of "Fri, 23 Apr 2010 10:41:20 -0400")

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





      parent reply	other threads:[~2021-07-18 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 14:41 bug#6015: 23.1.96; Internal error in rng-validate-mode for very long attribute Jay Berkenbilt
2016-08-07  4:09 ` Andrew Hyatt
2021-07-18 13:29 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7grrbqr.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=6015@debbugs.gnu.org \
    --cc=ejb@ql.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).