Changeset 622 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Apr 9, 2015, 6:15:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r621 r622 426 426 */ 427 427 int xmlParseInputs(maps** main_conf,service* s,maps** request_output,xmlDocPtr doc,xmlNodeSet* nodes,HINTERNET* hInternet){ 428 for (int k = 0; k < nodes->nodeNr; k++) 428 int k = 0; 429 int l = 0; 430 for (k=0; k < nodes->nodeNr; k++) 429 431 { 430 432 maps *tmpmaps = NULL; … … 509 511 "href" 510 512 }; 511 for ( intl = 0; l < 5; l++)513 for (l = 0; l < 5; l++) 512 514 { 513 515 xmlChar *val = xmlGetProp (cur2, BAD_CAST refs[l]); … … 746 748 list[0] = zStrdup ("dataType"); 747 749 list[1] = zStrdup ("uom"); 748 for ( intl = 0; l < 2; l++)750 for (l = 0; l < 2; l++) 749 751 { 750 752 xmlChar *val = … … 772 774 const char *coms[3] = 773 775 { "mimeType", "encoding", "schema" }; 774 for ( intl = 0; l < 3; l++)776 for (l = 0; l < 3; l++) 775 777 { 776 778 xmlChar *val = … … 884 886 char *res = NULL; 885 887 char *curs = tmpv->value; 886 for (int i = 0; i <= strlen (tmpv->value) / 64; 888 int i = 0; 889 for (i = 0; i <= strlen (tmpv->value) / 64; 887 890 i++) 888 891 { … … 958 961 */ 959 962 int xmlParseOutputs(maps** main_conf,map** request_inputs,maps** request_output,xmlDocPtr doc,xmlNodePtr cur,bool raw){ 963 int l=0; 960 964 if( raw == true) 961 965 { … … 978 982 const char *outs[4] = 979 983 { "mimeType", "encoding", "schema", "uom" }; 980 for ( intl = 0; l < 4; l++)984 for (l = 0; l < 4; l++) 981 985 { 982 986 xmlChar *val = xmlGetProp (cur, BAD_CAST outs[l]); … … 1035 1039 { "storeExecuteResponse", "lineage", "status" }; 1036 1040 xmlChar *val; 1037 for ( intl = 0; l < 3; l++)1041 for (l = 0; l < 3; l++) 1038 1042 { 1039 1043 val = xmlGetProp (cur, BAD_CAST ress[l]); … … 1127 1131 { "mimeType", "encoding", "schema", "uom", "asReference" }; 1128 1132 1129 for ( intl = 0; l < 5; l++) {1133 for (l = 0; l < 5; l++) { 1130 1134 xmlChar *val = xmlGetProp (cur1, BAD_CAST outs[l]); 1131 1135 if (val != NULL && xmlStrlen(val) > 0) {
Note: See TracChangeset
for help on using the changeset viewer.