I'm writing a DocBook 5 document and would like to fully validate it against both the RELAXNG and Schematron schemas.
Here is what I've tried:
- To my knowledge, xmllint from the libxml2 package won't handle RELAXNG schemas with embedded Schematron, and the standalone schematron schema (
docbook.sch) won't successfully compile according to xmllint. - MSV seems to handle everything OK, but I'm not using the
relamesJAR (I'm using 2013.6.1), so I don't know for sure if it's doing the embedded Schematron or not. - JNVDL also seemed to work, although it gave me a validation error telling me that I was using an ID multiple times in my document when in fact I was only using it once.
How can I fully validate my DocBook 5 document against both the RELAXNG and Schematron schemas?