This element is not expected. Expected is one of (.*)

Classification

Validator

Validator version

Error message type

lxml

4.6.5.0

File format

Version

Specification

Description

Location

text/xml

1.0

corpus

Analyses

No investigations yet.

Note

To help, share and save knowledge about fixing validation errors, please see: https://github.com/Digital-Preservation-Finland/knowledge-base/tree/master/.github/CONTRIBUTING.rst

Possible solutions

No remediation determined. All solutions are listed here.

Output example

/corpus/file-scraper/tests/data/text_xml/invalid_1.0_addml.xml:6: element descriptionss: Schemas validity error : Element '{http://www.arkivverket.no/standarder/addml}descriptionss': This element is not expected. Expected is one of ( {http://www.arkivverket.no/standarder/addml}description, {http://www.arkivverket.no/standarder/addml}reference, {http://www.arkivverket.no/standarder/addml}flatFiles, {http://www.arkivverket.no/standarder/addml}dataObjects ).
/corpus/file-scraper/tests/data/text_xml/invalid_1.0_addml.xml fails to validate

Notes on the error