Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] entity in attribute value

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Tatu Saloranta <cowtowncoder AT yahoo.com>
  • To: 'xom-interest' <xom-interest AT lists.ibiblio.org>, Luca Passani <passani AT eunet.no>
  • Subject: Re: [XOM-interest] entity in attribute value
  • Date: Thu, 15 Jan 2009 13:06:49 -0800 (PST)


--- On Thu, 1/15/09, Luca Passani <passani AT eunet.no> wrote:

> well, Xemacs sees an entity (&euro;) and it will think it's OK. Are you
> saying that Xemacs will parse the DTD and check
> validity/well-formdness in real time?

I don't know Emacs' xml mode well enough to know how it handles it. Probably
it can't do this in real time, but only as an option. If so, it should be
able to flag a warning due to unrecognized entity.

Alternatively, it could handle escaping, but that could go beyond basic text
editing functionality. But hey, it's emacs, not a plain text editor? :-)

Maybe it is just best to think of Emacs as minimally xml aware, and perhaps
accept the fact that if using it, one must do much more manual work than with
xml editor.

Good luck!

-+ Tatu +-








Archive powered by MHonArc 2.6.24.

Top of Page