Ignore:
Timestamp:
Jun 15, 2015, 4:11:05 PM (10 years ago)
Author:
djay
Message:

Small fixes.

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

Legend:

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

    r654 r656  
    294294        if(cur->ns){
    295295          addToMap(tmpMap,"wps_schemas",(char*)cur->ns->href);
    296           xmlFree(tval);
    297296          int j=0;
    298297          for(j=0;j<2;j++)
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r654 r656  
    12651265#endif
    12661266      xmlDocPtr doc = xmlNewDoc (BAD_CAST "1.0");
    1267       r_inputs = NULL;
    1268       //r_inputs = getMap (request_inputs, "ServiceProvider");
    1269       r_inputs = getMap (request_inputs, "version");
    1270       xmlNodePtr n=printGetCapabilitiesHeader(doc,m,(r_inputs!=NULL?r_inputs->value:"1.0.0"));
     1267      xmlNodePtr n=printGetCapabilitiesHeader(doc,m,(version!=NULL?version->value:"1.0.0"));
    12711268      /**
    12721269       * Here we need to close stdout to ensure that unsupported chars
     
    12901287          return res;
    12911288        }
     1289      fflush (stdout);
    12921290      dup2 (saved_stdout, fileno (stdout));
    12931291      printDocument (m, doc, getpid ());
     
    13631361            r_inputs = NULL;
    13641362            r_inputs = getMap (request_inputs, "version");
    1365             map* version=getMapFromMaps(m,"main","rversion");
    1366             int vid=getVersionId(version->value);
    13671363            xmlNodePtr n = printWPSHeader(doc,m,"DescribeProcess",
    1368                                           root_nodes[vid][1],(r_inputs!=NULL?r_inputs->value:"1.0.0"),1);
     1364                                          root_nodes[vid][1],(version!=NULL?version->value:"1.0.0"),1);
    13691365
    13701366            r_inputs = getMap (request_inputs, "Identifier");
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