msOWSGetSchemasLocation() ** ** schemas location is the root of the web tree where all WFS-related ** schemas can be found on this server. These URLs must exist in order ** to validate xml. ** ** Use value of "ows_schemas_location" metadata, if not set then ** return ".." as a default */
| 736 | ** return ".." as a default |
| 737 | */ |
| 738 | const char *msOWSGetSchemasLocation(mapObj *map) |
| 739 | { |
| 740 | const char *schemas_location; |
| 741 | |
| 742 | schemas_location = msLookupHashTable(&(map->web.metadata), |
| 743 | "ows_schemas_location"); |
| 744 | if (schemas_location == NULL) |
| 745 | schemas_location = OWS_DEFAULT_SCHEMAS_LOCATION; |
| 746 | |
| 747 | return schemas_location; |
| 748 | } |
| 749 | |
| 750 | /* msOWSGetLanguage() |
| 751 | ** |
no test coverage detected