Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#113 closed defect (fixed)

wcs2.0.0_req17_postxml

Reported by: Jinsongdi Yu Owned by: Ernesto Rodriguez
Priority: major Milestone: 8.4
Component: petascope Version: 8.3
Keywords: wcs2.0.0 Cc: Peter Baumann
Complexity: Medium

Description

Req:
Send PostXML DescribeCoverage requests with valid and invalid request structure. Pass test if appropriate valid results or exceptions, resp., are delivered.
Request:
<?xml version="1.0" encoding="UTF-8"?> <wcs:DescribeCoverage xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:wcs='http://www.opengis.net/wcs/2.0' xmlns:gml='http://www.opengis.net/gml/3.2' xsi:schemaLocation='http://www.opengis.net/wcs/2.0 ../../wcsAll.xsd'

services="WCS" version="2.0.0"> <wcs:CoverageId>NIR</wcs:CoverageId></wcs:DescribeCoverage>

Result:
[FAILURE] The result should be an ows:ExceptionReport when the request structure is invalid.

Change History (3)

comment:1 by Dimitar Misev, 13 years ago

Cc: Peter Baumann added
Owner: changed from Dimitar Misev to Ernesto Rodriguez
Status: newassigned

I've implemented schema validation which would catch such errors, but I think I had to disable it due to errors in the schema. I think re-enabling the validation should fix this ticket, but it may require updating to the latest schemas in petascope.

comment:2 by Ernesto Rodriguez, 13 years ago

Resolution: fixed
Status: assignedclosed

Patch was submitted to add xml validation against schema files.

comment:3 by Dimitar Misev, 12 years ago

Complexity: Medium
Milestone: 8.4
Note: See TracTickets for help on using tickets.