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

From: karme <[email-masked]>
Date: Mon, 17 Aug 2009 13:59:45 +0200

If I try to validate a SVG with a huge path element in nxml-mode I get
the error: Internal error in rng-validate-mode triggered at buffer
position 616. Stack overflow in regexp matcher.

See also debian bug #541260
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541260>

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu)
 of 2009-08-03 on nautilus, modified by Debian
configured using `configure  '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=no' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: nXML

Minor modes in effect:
  server-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC 
O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C 
ESC O C ESC O C ESC O C ESC O C ESC O C ESC O C ESC 
O C i n SPC n x m l - m DEL DEL DEL DEL DEL DEL DEL 
DEL DEL ESC [ 1 ; 5 C ESC O C i n SPC n x m l - m o 
d e SPC C-a ESC q ESC O B ESC O B ESC O B ESC O A ESC 
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC O B ESC O B ESC O B ESC O B ESC 
O A C-k C-k C-k C-_ C-_ ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O A C-k C-k C-k ESC O A ESC O D . ESC 
O C ESC O B ESC O B C-x 1 ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O A 
ESC O A C-x 2 b b C-_ C-_ ESC O A C-_ C-x b n x TAB 
DEL DEL t TAB RET ESC x ESC O A RET

Recent messages:
Error during redisplay: (error Stack overflow in regexp matcher)
Making completion list...
byte-code: Command attempted to use minibuffer while in minibuffer
Internal nXML mode error in nxml-extend-after-change-region (Invalid search bound (wrong side of point)), degrading
run-hook-with-args: Wrong type argument: listp, t
Undo! [2 times]
Mark set [2 times]
Auto-saving...done
Undo! [4 times]
Redo!