-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended Capabilities in GeoServer 2.20.0 include an extra SupportedLanguade tag #9
Comments
Linked to #7 |
Virtual WMS still affected: |
Also fixed for virtual WMS, same configuration on the amaqd-wms workspace |
What happens when the default language is not english? |
The problem is solved when the i18n configuration is used to provide capabilities information in some default and some other supported language. In our case the default language is greek and the supported language is english. |
Correct INSPIRE extended caps schema (TechnicalGuidance_ViewServices_v3.0) <inspire_vs:ExtendedCapabilities>
When the default and other supported language is the same, the capabilities document omits the element /../inspire_vs:ExtendedCapabilities/inspire_common:SupportedLanguages/inspire_common:SupportedLanguage. Relevant validation report: 1. wmsCaps_SameDefaultSupportedLang.html.zip
The child element /../inspire_vs:ExtendedCapabilities/inspire_common:SupportedLanguages/inspire_common:SupportedLanguage/inspire_common:Language is missing so the schema validation fails. The validator returns the following message: Schema not valid: [org.xml.sax.SAXException: Fatal error: org.xml.sax.SAXParseException; lineNumber: 110; columnNumber: 48; cvc-complex-type.2.4.b: The content of element 'inspire_common:SupportedLanguage' is not complete. One of '{"http://inspire.ec.europa.eu/schemas/common/1.0":Language}' is expected. Response did not validate against schema 'http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd'.] Relevant validation report: 2. wmsCaps_noOtherSupportedLang.html.zip
The relevant test fails for the schema validation. The error is Relevant validation report: 3. wmsCaps_difDefaultSupportedLang.html.zip Note #1: The i18n configuration does not affect geoserver’s behavior regarding the inspire extended caps. 1. wmsCaps_SameDefaultSupportedLang.html.zip |
This might be the source of this issue: |
My suggestion is to raise this issue upstream |
Reported upstream: |
Update 08-11-2021: We agreed to not add extra languages in version 2.20 since this triggers the validator bug. Waiting for bug to be resolved upstream. |
Related: https://osgeo-org.atlassian.net/browse/GEOS-10411 |
The text was updated successfully, but these errors were encountered: