xml.validate-dtbook.validate-dtbook.xpl Maven / Gradle / Ivy
DTBook Validator
Validates DTBook documents. Supports inclusion of MathML.
Authors:
- Name:
- Marisa DeMeglio
- E-mail:
- [email protected]
- Organization:
- DAISY Consortium
Input fileset
Should contain a single DTBook file.
May contain referenced images, but if it doesn't and images are stored on disk the
validator will find them too.
The DTBook document, or a dummy tmp:error
document if the input does
not contain a DTBook or it is not well-formed.
Select the method used for reporting validation issues:
- port
- Issues are reported only on the xml-report and html-report output ports.
- log
- In addition to the xml-report and html-report output ports, issues are also
reported through warning messages.
- error
- Issues are reported through error messages and also trigger an XProc
error. (Note that an error is always thrown when a DTBook has an unexpected
version.)
XML Reports
Raw output from all types of validation used (RelaxNG, Schematron, custom).
HTML Report
A single HTML-formatted version of the validation report.
Validation status
Validation status (http://daisy.github.io/pipeline/StatusXML).
Version of MathML in the DTBook file
Check to see that referenced images exist on disk
Validate against NIMAS 1.1
Skip Schematron validation
Should not be set when nimas
is also set as NIMAS validation happens
with Schematron.
Whether the input contains aural CSS attributes (attributes with namespace
"http://www.daisy.org/ns/pipeline/tts").
px:message
px:fileset-rebase
px:fileset-load
l:relax-ng-report
px:report-errors
px:check-files-wellformed
px:combine-validation-reports
px:validation-status
px:validation-report-to-html
px:css-speech-clean
pxi:dtbook-validator.check-images
px:dtbook-validator.select-schema
Remove aural CSS attributes before validation
RelaxNG validation doesn't always produce a report, so this serves as a
test to see if there was a document produced.
:
: