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

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

bug#32823: 26.1; nxml-mode: "no matching start-tag" with long entity def


From: Eli Zaretskii
Subject: 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: address@hidden,
>       "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.





reply via email to

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