The URL of the service being tested The OGC identifier for the type of service being tested (i.e. SPS) The version of the service being tested The name of the root element of a Capabilities document returned by this service (i.e. Capabilities, WFS_Capabilities, etc.) The location of the Capabilities schema for the service being tested The type of resource specified in the capabilitiesResponseSchemaLocation above (i.e. url, file, resource). Corresponds with the CTL XMLValidatingParser schema type attribute. The expected HTTP header content type of the GetCapabilities response (i.e. text/xml) The location of the ExceptionReport schema for the version of OWS Common being tested The type of resource specified in the exceptionReportSchemaLocation above (i.e. url, file, resource). Corresponds with the CTL XMLValidatingParser schema type attribute. Run test group for GetCapabilities requests using the GET method. Target endpoint is {$serviceURL//ows:OperationsMetadata/ows:Operation[@name='GetCapabilities']/ows:DCP/ows:HTTP/ows:Get/@xlink:href}. ********************************************************************** The GET method request must be supported (using HTTP GET). GetCapabilities by GET. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root element matches the provided root element. OWS.GetCapabilities OGC 05-008: cl. 7.1, p. 10, cl. 7.2.2; cl. 7.2.3 GetCapabilities by GET. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root element matches the provided root element. get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. The root element from the response to a GetCapabilities request "" does not match the expected root element of "" ********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** updateSequence is supported for GetCapabilities requests. Running updateSequence tests... ********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** Sections parameter is supported for GetCapabilities requests. Running Sections tests... ********************************************************************** ********************************************************************** AcceptFormats parameter is supported for GetCapabilities requests. Running AcceptFormats tests... Parameter names in KVP strings shall be handled in a case-insensitive manner. GetCapabilities with the KVP parameter names in all uppercase. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root element matches the provided root element. ows-1.0.0-common-atc1 OGC 05-008c1, 11.5.2, p.56 GetCapabilities with the KVP parameter names in all uppercase. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root element matches the provided root element. Executing a GetCapabilities request with upper-case parameter names... get GetCapabilities xsd/w3c/xml.xsd Executing a GetCapabilities request with mixed-case parameter names... get GetCapabilities xsd/w3c/xml.xsd Executing a GetCapabilities request with lower-case parameter names... get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity in one or more of the preceding GetCapabilities requests. FAILURE: The root element(s) from the responses to GetCapabilities requests with mixed-case parameters do not match the expected root element of "" A response message containing an entity body must contain a Content-Type entity header field that correctly indicates the media type of the message body. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document matches the root element name; (3) the response Content-Type header must be $expectedContentType for XML entities. ows-1.0.0-common-atc2 OGC 05-008c1, 11.7, p.61 get GetCapabilities FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request "" does not match the expected root element of "" FAILURE: Incorrect response encoding. "" was expected, but "" was returned instead. All OGC web services must implement the GetCapabilities request to provide an XML representation of service metadata. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an $rootElementName document. ows-1.0.0-metadata-atc1 OGC 05-008c1, 7.1, p.10 get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" A KVP-encoded GetCapabilities request shall include the following query parameters: service=WxS request=GetCapabilities, where WxS is a mnemonic label for a service type. See Table 2 for definitions of optional query parameters. GetCapabilities with version of $serviceVersion and service of $serviceType. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an $rootElementName document; (3) the response version must be what was requested. ows-1.0.0-metadata-atc2 OGC 05-008c1, 7.2.2, p.12 (Table 2) get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" A KVP-encoded GetCapabilities request shall include the following query parameters: service=WxS request=GetCapabilities, where WxS is a mnemonic label for a service type. See Table 2 for definitions of optional query parameters. GetCapabilities with version of $serviceVersion and no service. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document. ows-1.0.0-metadata-atc2 OGC 05-008c1, 7.2.2, p.12 (Table 2) get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of ExceptionReport A KVP-encoded GetCapabilities request shall include the following query parameters: service=WxS request=GetCapabilities, where WxS is a mnemonic label for a service type. See Table 2 for definitions of optional query parameters. GetCapabilities with no version and service of $serviceType. Version negotiation, sends latest copy. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an $rootElementName document; (3) the response version must be what was requested. ows-1.0.0-metadata-atc2 OGC 05-008c1, 7.2.2, p.12 (Table 2) get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" FAILURE: The returned value in the version attribute "" does not match the expected version of "" If AcceptVersion is not specified, the service must respond with highest supported version. GetCapabilities with no version and service of $serviceType. Without AcceptVersion, using version negotiation, sends latest copy. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an wfs:WFS_Capabilities document; (3) the response version must be what was requested. ows-1.0.0-metadata-atc3 OGC 05-008c1, 7.3.2, p.16 get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" FAILURE: The returned value in the version attribute "" does not match the expected version of "" Version negotiation using AcceptVersions parameter (preference ordering): Return service metadata corresponding to the most preferred version that is supported. If none of the requested versions are supported, the server must generate an exception with code 'VersionNegotiationFailed'. GetCapabilities with no version and service of $serviceType. With AcceptVersion, expecting one of the versions listed $acceptVersions. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an wfs:WFS_Capabilities document; (3) the response version must be what was requested. The AcceptVersion element is used with a number of versions, one is expected to return ('1.1.0'). ows-1.0.0-metadata-atc4 OGC 05-008c1, 7.3.2, p.16 get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" FAILURE: The returned value in the version attribute "" does not match the expected version of "" Version negotiation using AcceptVersions parameter (preference ordering): Return service metadata corresponding to the most preferred version that is supported. If none of the requested versions are supported, the server must generate an exception with code 'VersionNegotiationFailed'. GetCapabilities with no version and service of $serviceType. With AcceptVersion, using a bogus version number ('2000-01-01'). Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'VersionNegotiationFailed' exception code. ows-1.0.0-metadata-atc4 OGC 05-008c1, 7.3.2, p.16 get GetCapabilities 2000-01-01 xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "VersionNegotiationFailed". In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall include an exception report. The exception code must be one of those listed in Table 5. GetCapabilities with no service parameter. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'MissingParameterValue' exception code; (4) theExceptionReport @locator value shall be that of the missing parameter. ows-1.0.0-metadata-atc5 OGC 05-008c1, 7.4.1, p.19 get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "MissingParameterValue" and a locator value of "service". In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall include an exception report. The exception code must be one of those listed in Table 5. GetCapabilities with a bogus service parameter value ('ADSF'). Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'InvalidParameterValue' exception code; (4) theExceptionReport @locator value shall be that of the invalid parameter. ows-1.0.0-metadata-atc5 OGC 05-008c1, 7.4.1, p.19 GetCapabilities with a bogus service parameter value (ADSF). Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'InvalidParameterValue' exception code; (4) theExceptionReport @locator value shall be that of the invalid parameter. get ASDF GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "InvalidParameterValue" and a locator value of "service". In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall include an exception report. The exception code must be one of those listed in Table 5. GetCapabilities with an incorrect acceptversions parameter ('2000-01-01'). Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'VersionNegotiationFailed' exception code. ows-1.0.0-metadata-atc5 OGC 05-008c1, 7.4.1, p.19 get GetCapabilities 2000-01-01 xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "VersionNegotiationFailed". In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall include an exception report. The exception code must be one of those listed in Table 5. GetCapabilities with an incorrect updatesequence ('9999999999'), if higher than the update sequence on the current capabilities document give an exception. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'InvalidUpdateSequence' exception code. ows-1.0.0-metadata-atc5 OGC 05-008c1, 7.4.1, p.19 GetCapabilities with an incorrect updatesequence (9999999999), if higher than the update sequence on the current capabilities document give an exception. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the "InvalidUpdateSequence" exception code. get GetCapabilities 9999999999 xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "InvalidUpdateSequence". In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall include an exception report. The exception code must be one of those listed in Table 5. GetCapabilities with an incorrect KVP query string, triggering the missing parameter value exception. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the 'MissingParameterValue' exception code, for both the request and service. ows-1.0.0-metadata-atc5 OGC 05-008c1, 7.4.1, p.19 GetCapabilities with an incorrect KVP query string, triggering the missing parameter value exception. Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is an ows:ExceptionReport document; (3) the ExceptionReport shall have the "MissingParameterValue" exception code, for both the request and service. get xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The returned exception report was expected to contain an exceptionCode of "MissingParameterValue" and a locator value of "service" or "request". A valid service metadata document must conform to a content model based on the ows:CapabilitiesBaseType definition. Additional service-specific elements may be defined as needed. Pass if all of the following conditions are true: (1) the response is schema valid (containing all required elements); (2) the root document is an ows:ExceptionReport document. ows-1.0.0-metadata-atc6 OGC 05-008c1, 7.4.8, p.29 Pass if all of the following conditions are true: (1) the response is schema valid (containing all required elements); (2) the root document is an ows:ExceptionReport document. get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: The root element from the response to a GetCapabilities request does not match the expected root element of "" A complete service metadata document must include mandatory parameters and constraints in the OperationsMetadata section. Pass if the response is schema valid and includes a complete wfs:WFS_Capabilities document. ows-1.0.0-metadata-atc7 OGC 05-008c1, 7.4.6, p.26 Pass if the response is schema valid and includes a complete wfs:WFS_Capabilities document. GET GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. The response to a GetCapabilities request that includes a sections parameter with NO VALUE provided shall include an abbreviated capabilities document that omits all optional sections. Pass if the response is schema valid and omits all optional top-level elements. ows-1.0.0-metadata-atc9 OGC 05-008c1, 7.3.3, p.17 Pass if the response is schema valid and omits all optional top-level elements. get GetCapabilities xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. Testing the "" section... FAILURE: The "" section should not be listed in the returned Capabilities document. The response to a GetCapabilities request that includes a sections parameter listing optional elements shall include only the requested elements in the response entity. Pass if the response is schema valid and includes only the requested optional elements. ows-1.0.0-metadata-atc9 OGC 05-008c1, 7.3.3, p.17 Pass if the response is schema valid and includes only the requested optional elements. get GetCapabilities ServiceIdentification,OperationsMetadata xsd/w3c/xml.xsd FAILURE: Missing or invalid response entity. FAILURE: ows:OperationsMetadata element is missing FAILURE: ows:ServiceIdentification element is included FAILURE: ows:ServiceProvider element is included The response to a GetCapabilities request containing an AcceptVersions parameter specifying a supported format must include a response entity that corresponds to the requested media type. OGC 05-008, 7.3.5 get GetCapabilities FAILURE: Unexpected content type for response entity (Request: , Response: ). OK Validate against Schematron schema {$schema} (phase: {$phase}). Invokes the Schematon validator. The exception report to check The exceptionCode to check The locator to check (a * can be provided to indicate that any locator value is allowed) True/false depending on whether or not the exception report is valid The exception report to check True/false depending on whether or not the exception report is valid The exception repsonse The exception repsonse The exception repsonse The respsonseFormat to validate True/False depending on whether the input is a valid MIME type based on ows:owsCommon.xsd Determines if a definition URN is valid