European Commission logo
INSPIRE Community Forum

INSPIRE Validator error: "One of '{"http://www.opengis.net/gml/3.2":AbstractFeature}' is expected"

Hello,

I'm harmonizing the EF Bathing Waters and appears the error below:

Conformance class: INSPIRE GML application schemas, General requir Conformance class: INSPIRE GML application schemas, General requir… Failed: 1 / 6 Failed: 1 / 6
Schema validation
gmlas.b.2: validate XML documents
Messages "XML document 'teste85_27022020.gml': 9:57: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://inspire.ec.europa.eu/schemas/ef/3.0":EnvironmentalMonitoringFacility}'. One of '{"http://www.opengis.net/gml/3.2":AbstractFeature}' is expected."

Can you help me please?

Best regards,
Leonor Queiroz.

  • Katharina SCHLEIDT

    By Katharina SCHLEIDT

    Hi Leonor,

    first off, any reason why you're working with the 3.0 version of the EF schema instead of the 4.0? I forget which errors were fixed between these versions, but I know some were, so 4.0 will serve you better (structure is the same, just errors that were made in the conversion from UML to XSD sorted)

    I tried to validate some EF data, seems to work. Maybe you want to take a look at the example set I've put out on my GitHub, I did a simple consistent set of air quality stations (but not using the AQD extension so as not to confuse folks), together with a description, available at:

    https://github.com/DataCoveEU/INSPIRE_EF

    :)

    Kathi

Environmental Monitoring & Observations

Environmental Monitoring & Observations

Environmental Monitoring Facilities, Observations and Measurements