unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 46764@debbugs.gnu.org
Subject: bug#46764: Extra ">" sails right past XML validator
Date: Fri, 26 Feb 2021 10:21:44 +0100	[thread overview]
Message-ID: <1BC1969E-7FA9-4EBC-AAD4-886659259173@acm.org> (raw)
In-Reply-To: <87eeh5m3pj.5.fsf@jidanni.org>

">" is not a special character at top level in XML; <M>></M> is well-formed.

I agree that it is an easy mistake to make and overlook. Perhaps an optional warning would be helpful?
Note that nxml-mode is carefully written for correctness and performance, which matter because XML is a lot more complex than people think and files can be large. Any tinkering with it has to be done with prudence.






  parent reply	other threads:[~2021-02-26  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24 23:43 bug#46764: Extra ">" sails right past XML validator 積丹尼 Dan Jacobson
2021-02-25 15:48 ` Lars Ingebrigtsen
2021-02-26  9:21 ` Mattias Engdegård [this message]
2021-02-26  9:30   ` Lars Ingebrigtsen
2021-02-26 10:28     ` Mattias Engdegård
2021-02-27 10:44     ` 積丹尼 Dan Jacobson
2021-02-26 16:00   ` bug#46764: [External] : " Drew Adams

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=1BC1969E-7FA9-4EBC-AAD4-886659259173@acm.org \
    --to=mattiase@acm.org \
    --cc=46764@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.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).