Open lb42 opened 6 years ago
thanks @lb42
At the present, I don't actually think there is any schema validation going on at all.
An error only really shows if the document is not well-formed xml.
But I'll definitely put "adding a validator" on the to do list. That would be extremely useful.
Note for future reference: this library might help with in browser xml schema validation: https://github.com/kripken/xml.js
See also: http://syssgx.github.io/xml.js/ and http://blog.askjoelit.com/2014/02/xml-validation-in-client-side-javascript.html
I made a few changes to the sample TEI file, so that it looked like this :
This is not valid against the TEI Lite schema, of course. Your validator didn't seem to mind.