Error validating against schema - Invalid content was found #957
-
Good morning. I'm validating a GML for the theme Buildings and I keep getting this error:
I don't understand why it is expecting an "AbstractFeature" element instead of a "Building" element. Does anybody know what I'm doing wrong? I've attached the GML file. Thanks for any help provided. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Dear @OscarD31, the error should be related to the temporary unavailability of the schema. |
Beta Was this translation helpful? Give feedback.
Dear @OscarD31,
sorry, I need to correct myself, the error is due to the incorrect declaration of some namespaces in the schemaLocation attribute.
You should use the URLs in http, i.e. http://inspire.ec.europa.eu/schemas/bu-base/4.0 and http://inspire.ec.europa.eu/schemas/bu-core2d/4.0.
With this fix the gml validates, see the report.