Patch to bug #461754: CDATA should not undergo entity subst.
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index d440045..5cd28de 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -709,7 +709,7 @@
     nodeName = "#cdata-section"
 
     def writexml(self, writer, indent="", addindent="", newl=""):
-        _write_data(writer, "<![CDATA[%s]]>" % self.data)
+	writer.write("<![CDATA[%s]]>" % self.data)
 
 
 def _nssplit(qualifiedName):