[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xml-parse-region should be more flexible in recognising empty elements
From: |
mah |
Subject: |
xml-parse-region should be more flexible in recognising empty elements |
Date: |
Wed, 04 Dec 2002 13:32:51 -0600 |
xml-parse-region fails to parse empty elements like the
following:
<el / >
To avoid this problem, the following code:
;; is this an empty element ?
(if (looking-at "/>")
should be changed to:
;; is this an empty element ?
(if (looking-at "/[ \t\n]*>")
Mark.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- xml-parse-region should be more flexible in recognising empty elements,
mah <=