Re: Doesn't the ALT field of an image support ä?

Foteos Macrides (
Fri, 26 Apr 1996 14:23:44 -0500 (EST)

Date: Fri, 26 Apr 1996 14:23:44 -0500 (EST)
From: Foteos Macrides <>
Subject: Re: Doesn't the ALT field of an image support &auml;?
Message-Id: <01I400XG8RF6008MM5@SCI.WFBR.EDU>

Paul Prescod <> wrote:
>At 12:57 PM 4/26/96 -0500, Foteos Macrides wrote:
>>	ALT is declared as CDATA, and the original CERN libwww
>>SGML parser, upon which Lynx was based, requiring RCDATA for
>>translation of character entities, which is why I had assumed
>>the problem was old Lynx code.
>Just to be clear: CDATA in attributes and CDATA in element conet are very
>different. CDATA in attributes behaves like RCDATA in element content.

	Yes, but the library's parser doesn't respect that distinction.
Try the LineMode browser built with the vanilla W3C Reference Library
on this:

<img src="foo.gif" alt="&lt;foo&gt;">

The entities will be translated in the title, but not in the alt.


 Foteos Macrides            Worcester Foundation for Biomedical Research
 MACRIDES@SCI.WFBR.EDU         222 Maple Avenue, Shrewsbury, MA 01545