-
Notifications
You must be signed in to change notification settings - Fork 23
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
Catalan as supported language in capabilities #380
Comments
Dear @danicgc Thank you for raising this issue. We are going to check the WMS ETS for this Test Step. In the meantime, can you send us the service endpoint that you are validating? |
The WMS URL is http://geoserveis.ide.cat/idec_inspire_ps/wms/service |
Dear @danicgc we have been checking this issue with the Techincal Guidances. Checking the Table 3 for the VS TG in page 21, it establishes a mapping for elements in the GetCapabilities document to the corresponding Metadata Element for the service. If we take a look into the Metadata Language described in section 2.2.2 of the MD TG 2.0, you can find the requirement C.5 The official languages contained on the common schema listed under the <xs:simpleType name="euLanguageISO6392B"> element are the official languages, and so the ETS uses them to apply the schema validation. Catalan is not part of the list of official languages, and so the validation on this service should fail. |
Dear @danicgc Did you have the opportunity to review the last comment that we posted? It would be very useful for us in order to close this issue for the release. |
Dear @danicgc Do you have any feedback on this issue? It would be useful to us to know if we can close this issue or do a new analysis Best, Carlos. |
Dear @danicgc, as indicated by Carlos, according to TG Requirement C.5, the “Metadata language” shall be one of the official languages of the European Union. In MD TG this element (Metadata language) has multiplicity 1. But this element (inspire_common:SupportedLanguages) can contain 1 or more sub-elements, as indicated in the Implementation Requirement 71 in the VS TG, allowing the provision of a GetCapabilities-Response in different languages. In this case, the supported languages seem to be all the ones defined by ISO 639-2/B, as indicated in Table 9. The GetCapabilities-Response elements used to document the different languages, according to Requirement 71, make use of the same child element inspire_common:Language. So, according to the mapping (Table 3 for the VS TG on page 21) between the “Metadata Language” element and the “inspire_common:SupportedLanguages” element, the data type associated with the Considerations:
Possible solution: The “Metadata Language” element could be associated to the “inspire_common:DefaultLanguage” element (which is the mandatory sub-element of the “inspire_common:SupportedLanguages” element and it has multiplicity 1), leaving the possibility to use other languages (using the <inspire_common:SupportedLanguage> elements) different from the official ones. This solution requires:
|
Dear @fabiovin, |
Dear Fabio & Marco, |
Dear @fabiovin, |
Dear @danicgc, thank you for your reminder. We discussed this internally and decided to start the process of implementing the solution that we proposed some time ago. We started to analyze the feasibility of changing the common.xsd schema and/or the other schemas involved, when we have completed the analysis we will open the related issues in the dedicated repository (i.e. Technical guidance and Application schemas). We will link the related issues here so that you can monitor them from this issue. Regards, |
When including Catalan ("cat") as one of the supported languages in the capabilities document of a WMS, the at04-getcapabilities-xml-schema-validation throws the following error message, despite being a regional language included on the INSPIRE common.xsd schema (and so having an ISO 639-2/B alpha 3 code):
Schema not valid: [org.xml.sax.SAXException: Fatal error: org.xml.sax.SAXParseException; lineNumber: 99; columnNumber: 70; cvc-enumeration-valid: Value 'cat' is not facet-valid with respect to enumeration '[bul, cze, dan, dut, eng, est, fin, fre, ger, gre, hun, gle, ita, lav, lit, mlt, pol, por, rum, slo, slv, spa, swe]'. It must be a value from the enumeration. Response did not validate against schema 'http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd'.]
The text was updated successfully, but these errors were encountered: