Changeset 658 for trunk/zoo-project


Ignore:
Timestamp:
Jun 15, 2015, 5:06:34 PM (7 years ago)
Author:
djay
Message:

Update version in case of AcceptVersions? use.

Location:
trunk/zoo-project/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_loader.c

    r656 r658  
    238238            addToMap(tmpMap,"soap","true");
    239239            for(int k=0;k < req->nodeNr;k++){
    240               //xmlNsPtr ns=xmlNewNs(req->nodeTab[k],BAD_CAST "http://www.w3.org/2001/XMLSchema-instance",BAD_CAST "xsi");
    241240              xmlDocSetRootElement(doc, req->nodeTab[k]);
    242241              xmlChar *xmlbuff;
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r656 r658  
    11951195  }else{
    11961196    checkValidValue(request_inputs,&err,"AcceptVersions",(const char**)vvv,-1);
    1197     map* version=getMap(request_inputs,"AcceptVersions");
    1198     if(version!=NULL){
    1199       if(strstr(version->value,schemas[1][0])!=NULL)
     1197    map* version1=getMap(request_inputs,"AcceptVersions");
     1198    if(version1!=NULL){
     1199      if(strstr(version1->value,schemas[1][0])!=NULL)
    12001200        addToMap(request_inputs,"version",schemas[1][0]);
    12011201      else
    1202         addToMap(request_inputs,"version",version->value);
     1202        addToMap(request_inputs,"version",version1->value);
     1203      version=getMap(request_inputs,"version");
     1204      setMapInMaps(m,"main","rversion",version->value);
     1205      vid=getVersionId(version->value);
    12031206    }
    12041207  }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png