Bill wrote: > If I have x----x]]>x----x then my CDATA logic produces > <!CDATA[x----x]]>]]><!CDATA[x----x]]> > > This works great, and its easy to scan for any ]]> and take care not > to wrap them in a CDATA section. I think that results in slightly broken XML; quoting section 2.4: The right angle bracket (>) may be represented using the string ">", and must, for compatibility, be escaped using ">" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section. </F>Received on Monday, 2 October 2000 06:05:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT