- Timestamp:
- Feb 27, 2018, 3:35:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r866 r869 968 968 } 969 969 970 if ( strcasecmp (test->value, "base64") != 0)970 if (getMap(tmpmaps->content,"dataType")==NULL && strcasecmp (test->value, "base64") != 0) 971 971 { 972 972 xmlChar *mv = xmlNodeListGetString (doc, … … 1046 1046 else 1047 1047 { 1048 xmlChar *tmp = xmlNodeListGetRawString (doc, 1049 cur4->xmlChildrenNode, 1050 0); 1051 addToMap (tmpmaps->content, "value", 1052 (char *) tmp); 1053 xmlFree (tmp); 1048 xmlNodePtr cur5 = cur4->children; 1049 while (cur5 != NULL 1050 && cur5->type != XML_CDATA_SECTION_NODE) 1051 cur5 = cur5->next; 1052 if (cur5 != NULL 1053 && cur5->type == XML_CDATA_SECTION_NODE) 1054 { 1055 addToMap (tmpmaps->content, 1056 "value", 1057 (char *) cur5->content); 1058 } 1059 else{ 1060 if(cur4->xmlChildrenNode!=NULL){ 1061 xmlChar *tmp = xmlNodeListGetRawString (doc, 1062 cur4->xmlChildrenNode, 1063 0); 1064 addToMap (tmpmaps->content, "value", 1065 (char *) tmp); 1066 xmlFree (tmp); 1067 } 1068 } 1054 1069 } 1055 1070
Note: See TracChangeset
for help on using the changeset viewer.