inspire-eu-validation / download-service

Abstract Test Suite for the Technical Guidance for the implementation of INSPIRE Download Services
Creative Commons Zero v1.0 Universal
2 stars 4 forks source link

Validation of address components in theme Addresses #90

Closed MichalMed closed 6 years ago

MichalMed commented 6 years ago

http://inspire-sandbox.jrc.ec.europa.eu/etf-webapp/v2/TestRuns/EID7b4422c4-9b05-4722-ad9a-0f73e6b7f507.html

While testing addresses, I get new errors on address components. It says that element situatedWithin and component must be AddressComponent or its subtype. I get it, but we're using direct link to theme Administrative Units for AdminUnitName component http://services.cuzk.cz/wfs/inspire-au-wfs.asp?service=WFS&VERSION=2.0.0&request=GetFeature&storedQuery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById&Id=AU.1.1 and I think this is completely legal. Administrative Unit is definitely where the address is locatedWithin. For sure we can switch to components form addresses theme, but the infomration is not so rich a nd anyway, there should be some link to AU, if possible. Whats your o.pinion? (ad-ia.b.1, ad-ia.b.6)

Similar problem is with constraint ad-as.b.1. We refere to the country from the theme AU, but validator expects component.