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

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

{PATCH} XML parsing of empty elements


From: Mark A. Hershberger
Subject: {PATCH} XML parsing of empty elements
Date: Thu, 15 May 2003 11:45:58 -0500

Previous patch didn't include a ChangeLog entry.

2003-05-15  Mark A. Hershberger  <address@hidden>

        * xml.el (xml-parse-tag): Fixed so <x/> parses the same as <x></x>.

*** xml.el.~1.7.4.1.~   Sat May  3 17:17:43 2003
--- xml.el      Thu May 15 01:59:06 2003
***************
*** 227,233 ****
          (progn
            (forward-char 2)
            (skip-chars-forward " \t\n")
!           (append children '("")))
  
        ;; is this a valid start tag ?
        (if (eq (char-after) ?>)
--- 227,233 ----
          (progn
            (forward-char 2)
            (skip-chars-forward " \t\n")
!           (append children nil))
  
        ;; is this a valid start tag ?
        (if (eq (char-after) ?>)




reply via email to

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