tr:errorPI2svrl errorPI2svrl

htmlreports/xpl/errorPI2svrl.xpl

Import URI: errorPI2svrl.xpl

Output Ports

NameDocumentationConnections

result

report

The errors that were encoded as PIs, now as SVRL documents.

They may carry a @tr:rule-family attribute on the top-level element. It could be 'w2d' in the example above. The XSLT, ../xsl/errorPI2svrl.xsl, has to take care of proper result document generation for each of these virtual checking families.

Options

NameDocumentationDefault

group-by-srcpath

'yes'

debug

'no'

debug-dir-uri

'debug'

status-dir-uri

'status'

pi-names

Space-separated names of processing instructions in the source document that carry error messages.

The PI text may convey additional error classification information. Example: <?letex w2d-101 This is some error message.?>

'letex'

severity

message | warning | error | fatal-error

'warning'

Subpipeline

StepInputsOutputsOptions

tr:simple-progress-msg start-msg

source

source on errorPI2svrl

msgs

 <c:messages>
   <c:message xml:lang="en">Creating SVRL documents from error/warning processing instructions</c:message>
   <c:message xml:lang="de">Wandle als Processing Instruction kodierte Warnungen und Fehler in SVRL-Reports um</c:message>
 </c:messages>

result

file = 'error-pi2svrl-start.txt'

status-dir-uri = $status-dir-uri

p:sink d202e51

source

result on start-msg

p:xslt create-svrls

source

source on errorPI2svrl

stylesheet

p:document../xsl/errorPI2svrl.xsl

parameters

p:empty

result

p:sink d202e74

source

result on create-svrls

p:for-each d202e75

secondary on create-svrls

tr:store-debug d202e82

source

current on d202e75

result

pipeline-step = concat('schematron/pi2svrl/', replace(base-uri(), '^(.+/)(.+).xml', '$2'))

active = $debug

base-uri = $debug-dir-uri

p:sink d202e91

source

result on d202e82

tr:simple-progress-msg success-msg

source
msgs

 <c:messages>
   <c:message xml:lang="en">Successfully created SVRL documents from error/warning processing instructions</c:message>
   <c:message xml:lang="de">Umwandlung der als Processing Instruction kodierten Warnungen und Fehler in SVRL-Reports erfolgreich abgeschlossen</c:message>
 </c:messages>

result

file = 'error-pi2svrl-success.txt'

status-dir-uri = $status-dir-uri

p:sink d202e112

source

result on success-msg