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

Michael Kay (M.H.Kay@eng.icl.co.uk)
Tue, 3 Nov 1998 10:42:50 -0000


>> 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