transpect:validate-with-rng bc-validate-with-rng

pubcoach/xpl/validate-with-rng.xpl

Import URI: http://transpect.le-tex.de/book-conversion/converter/xpl/validate-with-rng.xpl

This step validates an XML document with a RelaxNG schema and provides the validation results as schematron report. The source XML document is also the primary output. The report output port provides the schematron report. The report is optionally wrapped with an incoming schematron report if one is provided at the report-in port.

Visualisation

The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.

Input Ports

NameDocumentationConnections

source

The source port expects the xml document to be validated.

schema

A RelaxNG-XML-schema is expected to arrive at the schema port.

Output Ports

NameDocumentationConnections

report

The schematron document.

The schematron document.

result

The source XML file

The source XML file

Options

NameDocumentationDefault

debug

'yes'

debug-dir-uri

'debug'

Subpipeline

StepInputsOutputsOptions

letex:validate-with-rng-PI rng2pi

source

source on bc-validate-with-rng

schema

schema on bc-validate-with-rng

result

debug = $debug

debug-dir-uri = $debug-dir-uri

letex:store-debug d375e45

source

result on rng2pi

result

pipeline-step = 'rngvalid/global/with-PIs'

active = $debug

base-uri = $debug-dir-uri

transpect:errorPI2svrl errorPI2svrl

source

result on d375e45

result

severity = 'error'

debug = $debug

debug-dir-uri = $debug-dir-uri