TAN-core-errors global variables, keys, and functions summarized

Definition: doc('TAN-errors.xml')

Used by variable $errors-to-squelch

Used by template ŧ element-to-error

Used by function tan:error()

Does not rely upon global variables, keys, functions, or templates.

Definition: $errors/tan:errors/tan:squelch[@phase = $validation-phase]/tan:error-id

No variables, keys, functions, or named templates depend upon this xsl:variable.

Relies upon $errors .

Option 1 (TAN-core-errors)

tan:error($idref as xs:string) as element()?

one-parameter function of the master version, below

Used by variable $erroneously-looped-doc

Used by template ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ class-2-expansion-terse-pass-2 ŧ class-2-expansion-terse-pass-2 ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse dependency-expansion-terse-no-alter ŧ dependency-expansion-terse ŧ core-expansion-terse dependency-expansion-terse normalize-tei-space ŧ dependencies-tokenized-selectively ŧ core-expansion-normal ŧ dependency-expansion-normal ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ core-expansion-terse ŧ class-2-expansion-terse ŧ core-expansion-normal ŧ class-2-expansion-normal ŧ class-2-expansion-verbose ŧ dependency-expansion-terse core-expansion-terse ŧ check-referred-doc ŧ check-referred-doc ŧ core-expansion-terse-alias dependency-expansion-terse ŧ core-expansion-terse-attributes ŧ core-expansion-terse ŧ catalog-expansion-terse ŧ core-expansion-normal dependency-expansion-normal ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ expand-tan-key-dependencies core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-verbose ŧ resolve-attr-include ŧ resolve-keyword

Used by function tan:merge-analyzed-stats() tan:resolve-alias-loop() tan:analyze-sequence() tan:sequence-error() tan:definition() tan:get-1st-doc() tan:resolve-doc() tan:error() tan:error() tan:error() tan:error-report()

Relies upon tan:error .

Option 2 (TAN-core-errors)

tan:error($idref as xs:string, $diagnostic-message as item()*) as element()?

two-parameter function of the master version, below

Used by variable $erroneously-looped-doc

Used by template ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ class-2-expansion-terse-pass-2 ŧ class-2-expansion-terse-pass-2 ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse dependency-expansion-terse-no-alter ŧ dependency-expansion-terse ŧ core-expansion-terse dependency-expansion-terse normalize-tei-space ŧ dependencies-tokenized-selectively ŧ core-expansion-normal ŧ dependency-expansion-normal ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ core-expansion-terse ŧ class-2-expansion-terse ŧ core-expansion-normal ŧ class-2-expansion-normal ŧ class-2-expansion-verbose ŧ dependency-expansion-terse core-expansion-terse ŧ check-referred-doc ŧ check-referred-doc ŧ core-expansion-terse-alias dependency-expansion-terse ŧ core-expansion-terse-attributes ŧ core-expansion-terse ŧ catalog-expansion-terse ŧ core-expansion-normal dependency-expansion-normal ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ expand-tan-key-dependencies core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-verbose ŧ resolve-attr-include ŧ resolve-keyword

Used by function tan:merge-analyzed-stats() tan:resolve-alias-loop() tan:analyze-sequence() tan:sequence-error() tan:definition() tan:get-1st-doc() tan:resolve-doc() tan:error() tan:error() tan:error() tan:error-report()

Relies upon tan:error .

Option 3 (TAN-core-errors)

tan:error($idref as xs:string, $diagnostic-message as item()*, $fix as item()*, $fix-type as xs:string?) as element()?

four-parameter function of the master version, below

Used by variable $erroneously-looped-doc

Used by template ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ class-2-expansion-terse-pass-2 ŧ class-2-expansion-terse-pass-2 ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse dependency-expansion-terse-no-alter ŧ dependency-expansion-terse ŧ core-expansion-terse dependency-expansion-terse normalize-tei-space ŧ dependencies-tokenized-selectively ŧ core-expansion-normal ŧ dependency-expansion-normal ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ core-expansion-terse ŧ class-2-expansion-terse ŧ core-expansion-normal ŧ class-2-expansion-normal ŧ class-2-expansion-verbose ŧ dependency-expansion-terse core-expansion-terse ŧ check-referred-doc ŧ check-referred-doc ŧ core-expansion-terse-alias dependency-expansion-terse ŧ core-expansion-terse-attributes ŧ core-expansion-terse ŧ catalog-expansion-terse ŧ core-expansion-normal dependency-expansion-normal ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ expand-tan-key-dependencies core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-verbose ŧ resolve-attr-include ŧ resolve-keyword

Used by function tan:merge-analyzed-stats() tan:resolve-alias-loop() tan:analyze-sequence() tan:sequence-error() tan:definition() tan:get-1st-doc() tan:resolve-doc() tan:error() tan:error() tan:error() tan:error-report()

Relies upon tan:error .

Option 4 (TAN-core-errors)

tan:error($idref as xs:string, $diagnostic-message as item()*, $fix as item()*, $fix-type as xs:string?, $elements-that-caused-this-error as element()*) as element()?

Input: idref of an error, and optional diagnostic messages

Output: the appropriate <error> with each diagnostic inserted as a child <message>

Used by variable $erroneously-looped-doc

Used by template ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ class-2-expansion-terse-pass-2 ŧ class-2-expansion-terse-pass-2 ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse dependency-expansion-terse-no-alter ŧ dependency-expansion-terse ŧ core-expansion-terse dependency-expansion-terse normalize-tei-space ŧ dependencies-tokenized-selectively ŧ core-expansion-normal ŧ dependency-expansion-normal ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ class-1-expansion-verbose ŧ core-expansion-terse ŧ class-2-expansion-terse ŧ core-expansion-normal ŧ class-2-expansion-normal ŧ class-2-expansion-verbose ŧ dependency-expansion-terse core-expansion-terse ŧ check-referred-doc ŧ check-referred-doc ŧ core-expansion-terse-alias dependency-expansion-terse ŧ core-expansion-terse-attributes ŧ core-expansion-terse ŧ catalog-expansion-terse ŧ core-expansion-normal dependency-expansion-normal ŧ core-expansion-normal ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ core-expansion-terse ŧ expand-tan-key-dependencies core-expansion-terse ŧ core-expansion-normal ŧ core-expansion-verbose ŧ resolve-attr-include ŧ resolve-keyword

Used by function tan:merge-analyzed-stats() tan:resolve-alias-loop() tan:analyze-sequence() tan:sequence-error() tan:definition() tan:get-1st-doc() tan:resolve-doc() tan:error() tan:error() tan:error() tan:error-report()

Relies upon $errors tan:fix tan:shallow-copy .

tan:fix($fix as item()*, $fix-type as xs:string?) as element()?

Input: any items; a string representing a fix type

Ouput: a tan:fix element with @type

This function is used to populate a file with material to be used by Schematron Quick Fixes

Used by template ŧ class-2-expansion-terse

Used by function tan:error() tan:help-or-info()

Does not rely upon global variables, keys, functions, or templates.