GNU bug report logs - #32823
26.1; nxml-mode: "no matching start-tag" with long entity definition list

Previous Next

Package: emacs;

Reported by: Moritz <at> chai-latte.bs.linet-services.de, "Bunkus <moritz"@bunkus.org

Date: Mon, 24 Sep 2018 15:27:02 UTC

Severity: normal

Tags: fixed, patch

Found in versions 24.4, 25.0.94, 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Moritz Bunkus <moritz <at> bunkus.org>
Cc: 32823 <at> debbugs.gnu.org
Subject: bug#32823: 26.1; nxml-mode: "no matching start-tag" with long entity definition list
Date: Mon, 24 Sep 2018 20:26:39 +0300
> From: Moritz Bunkus <moritz <at> bunkus.org>
> Cc: 32823 <at> debbugs.gnu.org
> Date: Mon, 24 Sep 2018 19:12:59 +0200
> 
> Doh, stupid me. I made a copy & paste error in my example file. The
> offending line is:
> 
> <!ENTITY &product; "myprog">
> 
> which should read:
> 
> <!ENTITY product "myprog">
> 
> After that change the result will be valid again. Sorry about that.

Right, this settled it.

> > Maybe I'm not reproducing this correctly, but in my case it emits the
> > same error even after removing the ent5 line.
> 
> If removing ent5 isn't enough, try removing more entries. You can also
> remove all of the definitions including the [ … ] parenthesis, leaving you
> with just
> 
> …
> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
> 
> <refentry lang="en">
> …
> 
> At this point C-c C-f should work at the latest.

I cannot seem to make it work here whatever I do, sorry.




This bug report was last modified 5 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.