Opened 16 years ago

Closed 16 years ago

#2481 closed defect (fixed)

The schema location of a wcs 1.0.0 exception is not pointing out to the correct schema

Reported by: nsavard Owned by: tomkralidis
Priority: normal Milestone: 5.2 release
Component: WCS Server Version: 5.0
Severity: normal Keywords: OGC, Cite, TEAM, WCS 1.0.0
Cc: sdlime

Description

When an exception is raised from a WCS server 1.0.0, the location of the schema is pointed out to:

http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd

instead of the one in the specification document. Notice that I didn't find the schema at the usual place:

http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd

An example of a request that raises an exception is: http://dev1.lan.mapgears.com/manwe/cgi-bin/mswcs100_ogc_cite?ReQuEsT=GetCapabilities&VeRsIoN=&SeRvIcE=WCS

Change History (14)

comment:1 by tomkralidis, 16 years ago

Owner: changed from sdlime to tomkralidis
Status: newassigned

I remember helping resolve this, where some of the WCS folks told us to use the WMS exception .xsd because one did not exist for WCS 1.0.0, hence our choice.

Norm: can you check with the CITE folks on what we should do for WCS 1.0 exceptions? If we point to non-existent http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd, then the XML response will be invalid.

in reply to:  1 comment:2 by nsavard, 16 years ago

Norm: can you check with the CITE folks on what we should do for WCS 1.0 exceptions? If we point to non-existent http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd, then the XML response will be invalid.

Tom: I'll do that.

comment:3 by nsavard, 16 years ago

More information. The OGC CITE test concerned by this bug is: wcs1-0-0/basic_service_elements/version_numbering_and_negotiation/1

in reply to:  1 ; comment:4 by nsavard, 16 years ago

Replying to tomkralidis:

I remember helping resolve this, where some of the WCS folks told us to use the WMS exception .xsd because one did not exist for WCS 1.0.0, hence our choice.

Norm: can you check with the CITE folks on what we should do for WCS 1.0 exceptions? If we point to non-existent http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd, then the XML response will be invalid.

I sent the following email to the CITE list.

email content start:

The wcs1-0-0/basic_service_elements/version_numbering_and_negotiation/1 test against our WCS 1.0.0 server outputs an error saying that our service exception report point out to a schema that does not match the one in the specification (Annex A6). There is no WCS exception schema at the usual URL. If we points out our exception report to a non existing schema (says http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd) then the response will be invalid.

Can someone tell me we where we should point out our exception report to?

email content end

comment:5 by nsavard, 16 years ago

Keywords: WCS added; WFS removed

comment:6 by tomkralidis, 16 years ago

Done in r7331. Norm: can you check and verify?

in reply to:  6 ; comment:7 by nsavard, 16 years ago

Replying to tomkralidis:

Done in r7331. Norm: can you check and verify?

Tom: I'll do.

in reply to:  4 comment:8 by nsavard, 16 years ago

Replying to nsavard:

Norm: can you check with the CITE folks on what we should do for WCS 1.0 exceptions? If we point to non-existent http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd, then the XML response will be invalid.

I sent the following email to the CITE list.

email content start:

The wcs1-0-0/basic_service_elements/version_numbering_and_negotiation/1 test against our WCS 1.0.0 server outputs an error saying that our service exception report point out to a schema that does not match the one in the specification (Annex A6). There is no WCS exception schema at the usual URL. If we points out our exception report to a non existing schema (says http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd) then the response will be invalid.

Can someone tell me we where we should point out our exception report to?

email content end

Answer to this email is:

email content start: All,

The WCS 1.0.0 OGC-exception.xsd has now been posted to the schemas repository. It is available at

http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd

Thank you catching the error.

kevin

email content end

comment:9 by tomkralidis, 16 years ago

FYI added exception in msautotest in r7334.

in reply to:  7 comment:10 by nsavard, 16 years ago

Replying to nsavard:

Replying to tomkralidis:

Done in r7331. Norm: can you check and verify?

Tom: I'll do.

Tom: I checked. It seems there is another problem than the one you fixed because I still see the wrong dtd in the exception report. I used the URL in the ticket description to test (An example of a request that raises an exception).

comment:11 by tomkralidis, 16 years ago

Norm: per #2475, I think this related to the fix in mapwms.c. Can you test again against latest trunk? Should work now.

comment:12 by tomkralidis, 16 years ago

Cc: sdlime added; tomkradilis removed

in reply to:  11 comment:13 by nsavard, 16 years ago

Replying to tomkralidis:

Norm: per #2475, I think this related to the fix in mapwms.c. Can you test again against latest trunk? Should work now.

You're right. This is fixed.

comment:14 by tomkralidis, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.