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


Message #8 received at 32823 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Moritz <at> chai-latte.bs.linet-services.de, Bunkus <moritz <at> bunkus.org>
Cc: 32823 <at> debbugs.gnu.org
Subject: Re: bug#32823: 26.1;
 nxml-mode: "no matching start-tag" with long entity definition list
Date: Mon, 24 Sep 2018 19:25:26 +0300
> From: Moritz <at> chai-latte.bs.linet-services.de,
> 	"Bunkus <moritz"@bunkus.org
> Date: Mon, 24 Sep 2018 14:50:29 +0200
> 
> Note that nxml-mode always states that the document is valid

It says "invalid" here...

> 1. Save the XML code below into a file.
> 2. Start emacs -Q
> 3. Open the test file.
> 4. Place the cursor at the end of the line starting with "<refentry…".
> 5. Try using the "nxml-finish-element" function, e.g. C-c C-f. It will
>    show the aforementioned error message instead of inserting "</refentry>".
> 6. Now shorten the entity definition list, e.g. by removing the whole
>    line defining "ent5". Execute "normal-mode" to let nxml-mode parse the
>    buffer again. Re-run the test from step 5. It will now insert
>    "</refentry>" properly.

Maybe I'm not reproducing this correctly, but in my case it emits the
same error even after removing the ent5 line.




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.