PCDATA

John Cowan cowan at locke.ccil.org
Mon Jul 19 22:05:13 BST 1999


Simon St.Laurent wrote:

> 4.229 PCDATA: Parsed character data
> 
> CDATA (at 254:14 and 140:13) is just character data.
> 
> Basically, it looks like the difference is that markup (elements,
> attributes, entities) is recognized in areas declared as parsed character
> data but not in areas declared just plain character data.

This definition is useful for PCDATA, but dangerously misleading
for CDATA.  CDATA content doesn't exist in XML; CDATA sections are
as described, but values of CDATA attributes *do* recognize
markup.  Go figure.

-- 
	John Cowan	http://www.ccil.org/~cowan	cowan at ccil.org
Schlingt dreifach einen Kreis um dies! / Schliesst euer Aug vor heiliger Schau,
Denn er genoss vom Honig-Tau / Und trank die Milch vom Paradies.
			-- Coleridge / Politzer

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list