pietro.dorio ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-10557?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) GEOS-10557 ( https://osgeo-org.atlassian.net/browse/GEOS-10557?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) Unable to pass INSPIRE validation: Language Default ( https://osgeo-org.atlassian.net/browse/GEOS-10557?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) Issue Type: Bug 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: Medium Reporter: pietro.dorio ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05 ) 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: * at69-language-default ( https://github.com/inspire-eu-validation/view-service/blob/review-ats-tg_3.11/iso-19128/at69-language-default.md ) : check wrong language * at70-language-response ( https://github.com/inspire-eu-validation/view-service/blob/review-ats-tg_3.11/iso-19128/at70-language-response.md ) : check language response 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> ( https://osgeo-org.atlassian.net/browse/GEOS-10557#add-comment?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-10557#add-comment?atlOrigin=eyJpIjoiYjRiMzU1ZWRiNjk5NDYwMWIyNzkxMWVlYTFmZTg2MDEiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- sha1:92d0e2d )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel