Validation of mei files
anneferger opened this issue · comments
- see coming soon at https://meigarage.edirom.de/
- using MEIGarage validation functionality
https://meigarage.edirom.de/ege-webservice/Validation
Method is not yet working for MEI, is working for e.g. https://meigarage.edirom.de/ege-webservice/Validation/EAD%3Atext%3Axml/
Enabled validation for MEI files, ouput looks like
<?xml version="1.0" encoding="UTF-8"?>
<validation-result>
<status>SUCCESS</status>
<messages>
</messages>
</validation-result>
or
...
<message><![CDATA[Error in line (4), column (23) : value of attribute "meiversion" is invalid; must be equal to "4.0.0"]]></message>
<message><![CDATA[Error in line (45), column (111) : attribute "barthru" not allowed here; expected attribute "bar.len", "bar.method", "bar.place", "bar.thru", "class", "copyof", "corresp", "decls", "facs", "follows", "instr", "label", "n", "next", "precedes", "prev", "resp", "sameas", "synch", "type", "visible" or "xml:base"]]></message>
...
Backend is working since Edirom/mei-validator@152ec13, frontend still needs to be adapted
Just now I've seen this older branch: https://github.com/TEIC/oxgarage/tree/hcayless_validation, seems similar but will do a comparison
Validation feature added to frontend in https://github.com/Edirom/vife-meigarage-webclient/releases/tag/v1.1.0