unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: mah@everybody.org (Mark A. Hershberger)
Subject: xml.el produces incorrect sexp for empty element.
Date: Fri, 30 May 2003 05:12:00 -0500	[thread overview]
Message-ID: <87k7c8rbf3.fsf@batman.everybody.org> (raw)


Previous patches that I sent on this weren't accepted, I assume,
because they didn't apply cleanly.  I fixed my CVS, so this should
work.

2003-05-30  Mark A. Hershberger  <mah@everybody.org>

	* xml.el (xml-parse-tag): Fixed incorrect handling of empty elements.

*** xml.el.~1.18.~	Thu Mar 20 12:01:04 2003
--- xml.el	Fri May 16 21:24:11 2003
***************
*** 222,228 ****
        (if (looking-at "/[ \t\n\r]*>")
  	  (progn
  	    (forward-char 2)
! 	    (nreverse (cons '("") children)))
  
  	;; is this a valid start tag ?
  	(if (eq (char-after) ?>)
--- 222,228 ----
        (if (looking-at "/[ \t\n\r]*>")
  	  (progn
  	    (forward-char 2)
! 	    (list children))
  
  	;; is this a valid start tag ?
  	(if (eq (char-after) ?>)

             reply	other threads:[~2003-05-30 10:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30 10:12 Mark A. Hershberger [this message]
2003-05-30 18:49 ` xml.el produces incorrect sexp for empty element Thien-Thi Nguyen
2003-05-30 20:38   ` Mark A. Hershberger
2003-05-30 22:09     ` Thien-Thi Nguyen

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=87k7c8rbf3.fsf@batman.everybody.org \
    --to=mah@everybody.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).