[Geoserver-devel] [JIRA] (GEOS-10557) Unable to pass INSPIRE validation: Language Default

pietro.dorio created an issue

GeoServer / BugGEOS-10557

Unable to pass INSPIRE validation: Language Default

Issue Type:

BugBug

Affects Versions:

2.21.0

Assignee:

Unassigned

Components:

INSPIRE, WMS

Created:

23/Jun/22 10:12 AM

Environment:

CentOS 7

GS 2.21.0

INSPIRE plugin

Priority:

MediumMedium

Reporter:

pietro.dorio

I try to validate with the inspire API validation my WMS service:

https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities

The validator fail on:

I think the both controls fails because the response of the GetCapabilities with a “NON-VALID” LANGUAGE parameter are not the same as the response without the LANGUAGE parameters

Here the examples:

Request without language parameter (return a valid xml): https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities

Request with language parameter (return the same response): https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities&LANGUAGE=eng

Request with invalid language parameter return the following message instead of a valid getcapabilities response: https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities&LANGUAGE=xxx

<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows https://demo-geoservices8.civis.bz.it/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>A Language parameter was provided in the request but it cannot be resolved to an ISO lang code. Parameter value is xxx while supported languages are slo,lit,hun,fre,eng,cze,nor,lav,por,pol,ita,est,rum,mlt,gle,gsw,ice,gre,spa,dut,bul,fin,hrv,slv,ger,swe,dan</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201-sha1:92d0e2d)

Atlassian logo