[Geoserver-devel] [JIRA] (GEOS-7041) Use canonical schemaLocation for INSPIRE view schema

Marcus Sen created an issue

GeoServer / ImprovementGEOS-7041

Use canonical schemaLocation for INSPIRE view schema

Issue Type:

ImprovementImprovement

Affects Versions:

2.7.1

Assignee:

Unassigned

Created:

21/May/15 6:37 PM

Labels:

INSPIRE

Priority:

LowLow

Reporter:

Marcus Sen

Currently the INSPIRE plugin puts a schemaLocation which includes “http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 http://localhost:8080/geoserver/www/inspire/inspire_vs.xsd” for the INSPIRE view service namespace. However, this local schema is a very minimal wrapper which imports two other schemas from the Internet:

<import namespace="http://www.opengis.net/wms" schemaLocation="http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd"/><import namespace="http://inspire.ec.europa.eu/schemas/common/1.0" schemaLocation="http://inspire.ec.europa.eu/schemas/common/1.0/common.xsd"/>

So there doesn’t seem to be any benefit from hosting this small wrapper locally rather than using the canonical location at http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd .

There is a comment above the getSchemaLocations method in org.geoserver.inspire.wms.WMSExtendedCapabilitiesProvider asking whether the XSD still needs hosting.

See also email thread at http://sourceforge.net/p/geoserver/mailman/message/34125799/

I will submit a pull request.

(I couldn’t work out which component this should be filed under as INSPIRE extension wasn’t an option.)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8)

Atlassian logo