Skip to content

MEI Validation

Juliette Regimbal edited this page Jun 5, 2019 · 5 revisions

The current MEI file being viewed or edited in Neon is also validated against the MEI schema. This can be seen in the display panel.

The file is validated against the MEI 4.0 schema using xml.js. When the MEI file passes, the text "VALID" will appear in green. When it does not, the text "INVALID" will appear in red. Clicking on "INVALID" will download the log file from the validation detailing what in the MEI file did not pass validation and why.

Validation is run whenever the MEI file is modified or loaded into Neon. This is partially to ensure the user is using a valid file, but also to quickly catch if Neon creates an invalid file through an editor action. This is not supposed to occur. If it does, please create an issue detailing what occurred. Also include the contents of the validation log file in the issue.