Test XML error reporting
Could you please test different XML errors to make sure they are getting to the front end? It might already be working, but it would be great if you could check, and if it's not it would be great if you could figure out why and fix it!
There are 4 types of XML errors that could stop the conversion, and if they happen the manuscript should be sent to xml-triage and the error should be put in manuscript.formState—and you should be able to see this in the frontend!
- not-well-formed XML
- XML fails 1st XSD check (invalid)
- new XML fails 2nd XSD check (invalid)
- stylechecker errors
Number 3 is hard to test, but if number 2 is working and the code is pretty much the same we can assume it will work as well.
I'm attaching XMLs so you can check these