- Timestamp:
- Aug 4, 2011, 4:05:02 PM (13 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service.h
r284 r299 514 514 while(i!=NULL){ 515 515 if(strcasecmp(i->name,"value")!=0 && 516 strcasecmp(i->name,"xlink:href")!=0){ 516 strcasecmp(i->name,"xlink:href")!=0 && 517 strcasecmp(i->name,"useMapServer")!=0 && 518 strcasecmp(i->name,"asReference")!=0){ 517 519 map *tmp; 518 520 if(hasKey(m,i->name) && (tmp=getMap(m,i->name))!=NULL && -
trunk/zoo-kernel/service_internal.c
r297 r299 1544 1544 strcasecmp(tmp->name,"uom")==0) 1545 1545 #ifdef USE_MS 1546 if(testMap==NULL || (testMap!=NULL && strncasecmp(testMap->value,"text/xml",8)==0)) 1546 if(testMap==NULL || (testMap!=NULL && strncasecmp(testMap->value,"text/xml",8)==0)){ 1547 1547 #endif 1548 1548 xmlNewProp(nc3,BAD_CAST tmp->name,BAD_CAST tmp->value); 1549 1549 #ifdef USE_MS 1550 if(strcasecmp(tmp->name,"mimeType")==0) 1551 if(testMap!=NULL) 1552 xmlNewProp(nc3,BAD_CAST tmp->name,BAD_CAST testMap->value); 1553 else 1554 xmlNewProp(nc3,BAD_CAST tmp->name,BAD_CAST tmp->value); 1550 } 1551 else 1552 if(strcasecmp(tmp->name,"mimeType")==0) 1553 if(testMap!=NULL) 1554 xmlNewProp(nc3,BAD_CAST tmp->name,BAD_CAST testMap->value); 1555 else 1556 xmlNewProp(nc3,BAD_CAST tmp->name,BAD_CAST tmp->value); 1555 1557 #endif 1556 1558 tmp=tmp->next;
Note: See TracChangeset
for help on using the changeset viewer.