CDATA by any other name... (was The raw and the cooked)

Michael Kay M.H.Kay at
Tue Nov 3 10:47:23 GMT 1998

>> marked sections actually mark up
>> notations: at ISO there has been discussion of whether to allow something
>> like (for example)
>>         <![JAVA[ java code here ]]>
>While I applaud the ongoing proliferation of real Java(tm), I admit I
>don't like that either ... <Java><![CDATA[ java code ]]></Java> has
>worked just as well, and does no damage to XML.  (Not as pretty though!)

Neither really works well, because "]]>" can legitimately occur in a Java
program. For example, it is quite likely to occur in a Java program that
generates XML.

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list