[Top][All Lists]

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

Re: bug xml parser emacs 21.1

From: Karl Eichwalder
Subject: Re: bug xml parser emacs 21.1
Date: Tue, 06 Nov 2001 06:53:54 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

address@hidden (Alex Schroeder) writes:

> I do not understand why the default should be to strip comments,
> however.

To prevent users from misusing comments for contents.

> You read an XML document, and write it back into another file.  Do you
> want all the comments to be lost?

It depends.  I recommend to use proper <comment>...</comment> elements
instead of hacky <!-- ... --> containers.  Or porcessing instructions.

> Maybe other people can relate their expectations so that we may
> understand why people expect comments to disappear from the XML
> document when it gets parsed.

Because the SGML/XML application must not make use of comments.

address@hidden (work) / address@hidden (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

reply via email to

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