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

EPUB Validator

Validates a EPUB.

Wrapper for epubcheck written by Jostein Austvik Jacobsen (organisation: NLB, e-mail: josteinaj@gmail.com).
Defined in: http://www.daisy.org/pipeline/modules/epub-utils/library.xpl

Output Ports

Port Description
xml-report

XML Report

Raw validation output.

html-report

Validation report

validation-status

Validation status

An XML document describing, briefly, whether the validation was successful. More details on the file format.

ace-report

Accessibility report

If the accessibility check option is enabled, an HTML report detailing the compliance to the EPUB Accessibility specification is output on this port.

Options

Local Name Namespace URI Default Description
epub required

EPUB

Either a *.epub file or a *.opf file.

version '3'

EPUB version: "2" or "3"

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.
temp-dir ''

Temporary directory

In "expanded" mode, this directory will be used to store the zipped EPUB. The directory must not exist yet. If this option is not provided, a default temporary directory will be used.

accessibility-check 'false'

Enable accessibility check

Check the compliance to the EPUB accessibility specification using the DAISY Ace tool. To use this option, check how to install Ace on your system. Note that this option is only available for zipped EPUBs.