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
Name | Documentation | Connections |
---|---|---|
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
Name | Documentation | Connections |
---|---|---|
report | The schematron document. | The schematron document. |
resultⓅ | The source XML file | The source XML file |
Options
Name | Documentation | Default |
---|---|---|
debug | 'yes' | |
debug-dir-uri | 'debug' |
Subpipeline
Step | Inputs | Outputs | Options |
---|---|---|---|
letex:validate-with-rng-PI rng2pi |
| result | debug = $debug debug-dir-uri = $debug-dir-uri |
letex:store-debug d375e45 | result | pipeline-step = 'rngvalid/global/with-PIs' active = $debug base-uri = $debug-dir-uri | |
transpect:errorPI2svrl errorPI2svrl | result | severity = 'error' debug = $debug debug-dir-uri = $debug-dir-uri |