Step dtbook-validate {http://www.daisy.org/ns/pipeline/xproc}

DTBook Validator

Validates DTBook documents. Supports inclusion of MathML.

Authors:
Name:
Marisa DeMeglio
E-mail:
marisa.demeglio@gmail.com
Organization:
DAISY Consortium
Defined in: http://www.daisy.org/pipeline/modules/dtbook-utils/library.xpl

Input Ports

Port Description
source.fileset primary
source.in-memory sequence

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.

Output Ports

Port Description
result primary

The DTBook document, or a dummy tmp:error document if the input does not contain a DTBook or it is not well-formed.

xml-report

XML Reports

Raw output from all types of validation used (RelaxNG, Schematron, custom).

html-report

HTML Report

A single HTML-formatted version of the validation report.

validation-status

Validation status

Validation status (http://daisy.github.io/pipeline/StatusXML).

Options

Local Name Namespace URI Default Description
report-method 'port'

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.)
mathml-version '3.0'

Version of MathML in the DTBook file

check-images false()

Check to see that referenced images exist on disk

nimas false()

Validate against NIMAS 1.1

skip-schematron false()

Skip Schematron validation

Should not be set when nimas is also set as NIMAS validation happens with Schematron.

allow-aural-css-attributes false()

Whether the input contains aural CSS attributes (attributes with namespace "http://www.daisy.org/ns/pipeline/tts").