Skip to content
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

gmlas.c.1: Test fails because "uom" element does not contain a value #223

Open
florianesser opened this issue Mar 28, 2019 · 0 comments
Open

Comments

@florianesser
Copy link

The test file soillayer_should_validate.zip fails gmlas.c.1 with the following message:

The dataset has 1 feature(s) with errors for this assertion.
XML document 'soillayer_should_validate.gml', SoilLayer '': The following properties of the feature have an empty value: uom. While this is valid against the XML schema, this is not valid according to the GML model. Please correct the process that generates the GML documents.

(full test report: XML, HTML)

The uom element in question (<so:uom uom="m"></so:uom>), however, must not have a value (definition of gml:UnitOfMeasureType here).

If a value is assigned (e.g. <so:uom uom="m">m</so:uom>), gmlas.b.2 gives the following error:

cvc-complex-type.2.1: Element 'so:uom' must have no character or element information item [children], because the type's content type is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant