SchematronPreparser

Configuration file

Properties file or "MSG_CALL_" variables (see below).

Class name

com.ebd.hub.datawizard.parser.SchematronPreparser

Description


This preparser performs a Schematron validation of an XML file. The result is an XML report file.

Configuration


The configuration takes place either in a properties file or analogously via "MSG_CALL_" variables.

Either an XSL file or a Schematron file with associated XSL files can be specified. Important note: All specified files (including referenced files) must be located in the same folder.

XSL


schematronconfig.properties (XSL)
schematron.xsl.path=./tmp/XRechnung-CII-validation.xsl

Schematron and XSL


schematronconfig.properties (Schematron)
schematron.path=./tmp/XRechnung-CII-validation.sch
schematron.xsl.dependecies.path=./tmp/iso_dsdl_include.xsl;./tmp/iso_abstract_expand.xsl;./tmp/iso_svrl_for_xslt2.xsl

Note: Please note that the order of the specified XSL files is relevant.


Similarly, the configuration can also be carried out using MSG_CALL_ variables (e.g. by a preceding profile). Note: The variables must be named exactly like this in the predecessor profile, but must not be created in the successor profile.


MSG_CALL_-Variablen (XSL)
MSG_CALL_SCHEMATRON_XSL_PATH=./tmp/XRechnung-CII-validation.xsl


MSG_CALL_-Variablen (Schematron)
MSG_CALL_SCHEMATRON_FILE_PATH=./tmp/XRechnung-CII-validation.sch
MSG_CALL_XSL_DEPENDENCIES_PATH=./tmp/iso_dsdl_include.xsl;./tmp/iso_abstract_expand.xsl;./tmp/iso_svrl_for_xslt2.xsl