helpdesk-validator icon indicating copy to clipboard operation
helpdesk-validator copied to clipboard

Catalan as supported language in capabilities

Open danicgc opened this issue 4 years ago • 10 comments

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'.]

danicgc avatar Sep 04 '20 12:09 danicgc