- From: Russell Steven Shawn O'Connor <roconnor@uwaterloo.ca>
- Date: Wed, 24 Nov 1999 10:05:13 -0500 (EST)
- To: "'www-html@w3.org'" <www-html@w3.org>
On Tue, 23 Nov 1999, Dave J Woolley wrote: > The one question that this leaves is whether SGML > CDATA attributes have all entity references expanded. References are expanded. The confusion arises from the fact that CDATA in attributes is different from CDATA sections. See <http://www.oasis-open.org/cover/topics.html#CDATA> Example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <HTML lang="en-CA"> <TITLE>test</TITLE> <DIV CLASS='"'></DIV> calum[1418]$ nsgmls test2.html ALANG TOKEN EN-CA [...] (HTML [...] (TITLE -test )TITLE )HEAD [...] (BODY AID IMPLIED ACLASS CDATA " <-- Key line showing it worked [...] (DIV )DIV )BODY )HTML C -- Russell O'Connor roconnor@uwaterloo.ca <http://www.undergrad.math.uwaterloo.ca/~roconnor/> ``And truth irreversibly destroys the meaning of its own message'' -- Anindita Dutta, ``The Paradox of Truth, the Truth of Entropy''
Received on Wednesday, 24 November 1999 10:05:16 UTC