- Timestamp:
- Aug 22, 2019, 1:58:36 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/kernel/configuration.rst
r944 r946 98 98 the value field of the inputs data will be filled by the ZOO-Kernel 99 99 or ``protected`` to have only the ``cache_file`` filled. 100 100 * ``handleText``: (Optional) set it to ``true`` to get your Complex data 101 nodes containing text not requiring a single CDATA node. Be aware 102 that in case you use any HTML or XML there, you will then need to 103 rebuild the string to get the original format of the text from your 104 service code. In case you do not add handleText or set its value to 105 true, you will simply need to use the value as it was provided in 106 a single CDATA node provided in the Execute request. 101 107 102 108 .. warning:: -
trunk/zoo-project/HISTORY.txt
r945 r946 1 1 Version 1.8.0-dev 2 * Add the optional handleText parameter to provide pure text for 3 complex data node with mimetype="text/*" 2 4 * Fix issue in case JavaScript support is activated 3 5 * Fix issue with GDAL profile service -
trunk/zoo-project/zoo-kernel/request_parser.c
r940 r946 1071 1071 } 1072 1072 else if (cur5 != NULL){ 1073 if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){ 1073 map* handleText=getMapFromMaps(*main_conf,"main","handleText"); 1074 if(handleText!=NULL && strcasecmp(handleText->value,"true")==0 && ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){ 1074 1075 xmlChar *tmp = xmlNodeListGetRawString (doc, 1075 1076 cur4->xmlChildrenNode,
Note: See TracChangeset
for help on using the changeset viewer.