patch from Alex Khesin fixing CDATA output after a text node. fixed the

* xmlwriter.c: patch from Alex Khesin fixing CDATA output after
  a text node.
* parser.c: fixed the comment for xmlParserCleanup
* globals.c: fixed indentation
Daniel

svn path=/trunk/; revision=3699
diff --git a/xmlwriter.c b/xmlwriter.c
index c6959b8..69d4b85 100644
--- a/xmlwriter.c
+++ b/xmlwriter.c
@@ -2614,6 +2614,7 @@
         if (p != 0) {
             switch (p->state) {
                 case XML_TEXTWRITER_NONE:
+		case XML_TEXTWRITER_TEXT:
                 case XML_TEXTWRITER_PI:
                 case XML_TEXTWRITER_PI_TEXT:
                     break;