W3C home > Mailing lists > Public > www-html@w3.org > November 1999

RE: No specification for querystrings and fragment identifiers

From: Dave J Woolley <DJW@bts.co.uk>
Date: Tue, 23 Nov 1999 19:53:21 -0000
Message-ID: <81E4A2BC03CED111845100104B62AFB53F3E80@stagecoach.bts.co.uk>
To: "'www-html@w3.org'" <www-html@w3.org>

> From:	JOrendorff@ixl.com [SMTP:JOrendorff@ixl.com]
> 
> What I mean to say is that XML CDATA attributes
> don't behave the way you seem to be saying they
> behave.  Unless I misunderstood you.
> 
	My current understanding, at the end of this
	thread, is that all entity references are expanded
	(and expanded only once++, i.e. the text in 
	section 2.4 doesn't imply that &amp;uot; gets
	turned into " - the fact that it might is one reason 
	why I think it is unsafe) in CDATA attributes in XML.

	My understanding of SGML is that RCDATA content
	(not attributes, as I was incorrect in assuming that
	you could have them) also have all entity references 
	expanded.

	That seems to me to give equivalent treatment between
	XML CDATA attributes and SGML RCDATA content.

	The one question that this leaves is whether SGML
	CDATA attributes have all entity references expanded.  The
	HTML 4.01 specification assumes they do, but relies
	on the ISO SGML standard as its authority.  I only
	have a book describing the standard, and it rather
	glosses over the semantics of CDATA attributes.

	++ but not excluding recursive expansion of complete
	nested entity references.
Received on Tuesday, 23 November 1999 14:55:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT