Changeset 666 for trunk/zoo-project


Ignore:
Timestamp:
Jun 16, 2015, 3:26:39 PM (10 years ago)
Author:
djay
Message:

Small fix for version id detection.

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

Legend:

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

    r654 r666  
    21732173  map* version=getMapFromMaps(m,"main","rversion");
    21742174  int vid=getVersionId(version->value);
     2175  if(vid<0)
     2176    vid=0;
    21752177  if(use_ns==1){
    21762178    xmlNewNs(n,BAD_CAST schemas[vid][1],BAD_CAST"ows");
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r658 r666  
    11741174  int reqId=-1;
    11751175  if (strncasecmp (REQUEST, "GetCapabilities", 15) != 0){
     1176    fprintf(stderr,"%s %d \n",__FILE__,__LINE__);
     1177    fflush(stderr);
    11761178    checkValidValue(request_inputs,&err,"version",(const char**)vvv,1);
     1179    dumpMap(err);
     1180    fprintf(stderr,"%s %d \n",__FILE__,__LINE__);
     1181    fflush(stderr);
    11771182    int j=0;
    11781183    for(j=0;j<nbSupportedRequests;j++){
     
    11931198        break;
    11941199    }
     1200    dumpMap(err);
     1201    fprintf(stderr,"%s %d \n",__FILE__,__LINE__);
     1202    fflush(stderr);
    11951203  }else{
    11961204    checkValidValue(request_inputs,&err,"AcceptVersions",(const char**)vvv,-1);
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