[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: Mon, 05 Nov 2001 05:43:05 +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 agree.  If you look at the "Document Object Model (DOM) Level
> 3 Core Specification",

You'd better check the XML specification.

> it specifically lists comments:
>     Object Comment
>          Comment has the all the properties and methods of the CharacterData
>          object as well as the properties and methods defined below.
> Comments are part of the parsed data.

Does this mean the XML parser is considered to resolve entities within
comments?  This would be weird.

> Perhaps they are not used by the application, but stripping them from
> the model would be the wrong thing to do.

No, this is the correct default behavior.  Maybe, there should be a
switch to pass through comments unmodified.

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]