Explorar o código

WPS XML fix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44362 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert %!s(int64=14) %!d(string=hai) anos
pai
achega
11a4662e16
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      lib/gis/parser_wps.c

+ 1 - 2
lib/gis/parser_wps.c

@@ -477,7 +477,6 @@ static void wps_print_process_description_begin(int store, int status, const cha
     if(abstract)
     {
         fprintf(stdout,"\t\t<ows:Abstract>");
-        fprintf(stdout, "The manual page of this module is available here: ");
         fprintf(stdout, "http://grass.osgeo.org/grass70/manuals/html70_user/%s.html", identifier);
         fprintf(stdout, "</ows:Abstract>\n");
     }
@@ -707,7 +706,7 @@ static void wps_print_literal_input_output(int inout_type, int min, int max, con
         fprintf(stdout,"\t\t\t\t\t<ows:AllowedValues>\n");
         if(type == TYPE_RANGE)
         {
-            fprintf(stdout,"\t\t\t\t\t\t<ows:Range ows:rangeClosure=\"%s\">\n", "0");
+            fprintf(stdout,"\t\t\t\t\t\t<ows:Range ows:rangeClosure=\"closed\">\n");
             fprintf(stdout,"\t\t\t\t\t\t\t<ows:MinimumValue>%s</ows:MinimumValue>\n", range[0]);
             fprintf(stdout,"\t\t\t\t\t\t\t<ows:MaximumValue>%s</ows:MaximumValue>\n", range[1]);
             fprintf(stdout,"\t\t\t\t\t\t</ows:Range>\n");