1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Juanma Barranquero
f0ec17115f (xml-parse-attlist): typo in attribute parsing. 2003-03-20 18:01:58 +00:00
Juanma Barranquero
a158ff811f (xml-ucs-to-string): New function to convert Unicode codepoints to strings.
Uses decode-char (mule.el) if available.
(xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd,
xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
(xml-parse-attlist): Added attribute normalization.
(xml-parse-tag): Replace "\r\n" and "\r" with "\n".
2003-03-16 10:48:34 +00:00
Juanma Barranquero
35de62b82b (xml-skip-dtd): Fix parsing of DOCTYPE. 2003-03-11 21:59:49 +00:00
Juanma Barranquero
0fa6f70c59 (xml-parse-elem-type): Fix use of character constant. 2003-02-14 09:58:04 +00:00
Juanma Barranquero
adb266eff0 (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd,
xml-parse-elem-type): Be more flexible in recognizing empty elements.
2003-01-10 08:34:04 +00:00
Richard M. Stallman
ceabd2726c Comment change. 2003-01-06 01:10:25 +00:00
Thien-Thi Nguyen
524425ae58 (xml-substitute-special): Move "&" -> "&" last. 2003-01-04 09:32:17 +00:00
Stefan Monnier
6a9cb3ba1f (xml-parse-tag): Allow spaces between / and >. 2002-12-16 17:04:58 +00:00
ShengHuo ZHU
01adac0d5d * xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
2002-03-05 21:44:01 +00:00
Stefan Monnier
971489ea00 Use setq rather than (set 'foo bar).
Use push+nreverse rather than append.
(xml-node-name, xml-node-attributes, xml-node-children):
Use defsubst rather than macros.
(xml-parse-region): Handle a nil return value from xml-parse-tag.
(xml-parse-tag): Don't skip white space.  Return nil for a comment.
Concat the two strings surrounding a comment into a single string.
2001-12-14 22:12:30 +00:00
Stefan Monnier
e54030af30 (xml-parse-tag): Use eq on char-after's return value. 2001-10-18 20:24:09 +00:00
Gerd Moellmann
f58176e6fe (xml-parse-attlist): Quotes around attributes must be the
same on each side.  Make sure we properly handle simple quotes.
From Daiki Ueno <ueno@unixuser.org>.
2001-09-24 09:26:53 +00:00
Pavel Janík
1cd7adc68a Emacs lisp coding convention fixes. 2001-07-14 11:21:08 +00:00
Gerd Moellmann
1300e2720b (xml-parse-tag): The document may contain invalid characters.
From ShengHuo ZHU  <zsh@cs.rochester.edu>
2001-05-31 08:17:31 +00:00
Gerd Moellmann
653558a1dc (top level comment): Updated to reflect the fact that
white spaces are relevant in the XML file
(xml-parse-file): Do not kill an existing Emacs buffer if the file
to parse was already edited. This allows for on-the-fly analysis
of XML files
(xml-parse-tag): Check that the casing is the same in the start
tag and end tag, since XML is case-sensitive.  Allows for spaces
in the end tag, after the name of the tag.
(xml-parse-attlist): Allow for the character '-' in the name of
attributes, as in the standard http-equiv attribute Do not save
the properties in the XML tree, since they are not relevant
2000-12-22 12:20:46 +00:00
Kenichi Handa
af9bd5396c (xml-parse-tag): Fix finding opening tag. A tag name
should not contain `\n'.
2000-11-29 00:38:36 +00:00
Gerd Moellmann
6eb6c4c196 (xml-parse-tag, xml-parse-attlist): Do not downcase
identifiers, since XML is case sensitive
2000-08-14 12:43:55 +00:00
Gerd Moellmann
47db06aae4 *** empty log message *** 2000-07-19 15:52:13 +00:00