- From: Foteos Macrides <MACRIDES@sci.wfbr.edu>
- Date: Fri, 26 Apr 1996 14:23:44 -0500 (EST)
- To: papresco@calum.csclub.uwaterloo.ca
- Cc: www-html@w3.org
Paul Prescod <papresco@csclub.uwaterloo.ca> 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: <title><Title></title> <img src="foo.gif" alt="<foo>"> The entities will be translated in the title, but not in the alt. Fote ========================================================================= Foteos Macrides Worcester Foundation for Biomedical Research MACRIDES@SCI.WFBR.EDU 222 Maple Avenue, Shrewsbury, MA 01545 =========================================================================
Received on Friday, 26 April 1996 14:23:43 UTC