Index: /trunk/docs/kernel/configuration.rst
===================================================================
--- /trunk/docs/kernel/configuration.rst	(revision 945)
+++ /trunk/docs/kernel/configuration.rst	(revision 946)
@@ -98,5 +98,11 @@
    the value field of the inputs data will be filled by the ZOO-Kernel
    or ``protected`` to have only the ``cache_file`` filled.
-
+ * ``handleText``: (Optional) set it to ``true`` to get your Complex data
+   nodes containing text not requiring a single CDATA node. Be aware
+   that in case you use any HTML or XML there, you will then need to
+   rebuild the string to get the original format of the text from your
+   service code. In case you do not add handleText or set its value to
+   true, you will simply need to use the value as it was provided in
+   a single CDATA node provided in the Execute request.
 
 .. warning:: 
Index: /trunk/zoo-project/HISTORY.txt
===================================================================
--- /trunk/zoo-project/HISTORY.txt	(revision 945)
+++ /trunk/zoo-project/HISTORY.txt	(revision 946)
@@ -1,3 +1,5 @@
 Version 1.8.0-dev
+  * Add the optional handleText parameter to provide pure text for
+  complex data node with mimetype="text/*"
   * Fix issue in case JavaScript support is activated
   * Fix issue with GDAL profile service
Index: /trunk/zoo-project/zoo-kernel/request_parser.c
===================================================================
--- /trunk/zoo-project/zoo-kernel/request_parser.c	(revision 945)
+++ /trunk/zoo-project/zoo-kernel/request_parser.c	(revision 946)
@@ -1071,5 +1071,6 @@
 				}
 			      else if (cur5 != NULL){
-				if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
+				map* handleText=getMapFromMaps(*main_conf,"main","handleText");
+				if(handleText!=NULL && strcasecmp(handleText->value,"true")==0 && ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
 				  xmlChar *tmp = xmlNodeListGetRawString (doc,
 									  cur4->xmlChildrenNode,
