public override void WriteCData (string text)
{
if (text == null)
text = String.Empty;
ShiftStateContent ("CData", false);
if (StringUtil.IndexOf (text, "]]>") >= 0)
throw ArgumentError ("CDATA section must not contain ']]>'.");
writer.Write ("<![CDATA[");
WriteCheckedString (text);
writer.Write ("]]>");
}