<?xml version="1.0" encoding="UTF-8"?><chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="errors"><title>Errors</title><para>Below is a list of 123
               specifically defined TAN errors.</para><para>The contents of this chapter have been generated automatically. Although much effort has
         been spent to ensure accurate representation of the schemas and function library, you may
         find errors or inconsistencies. In such cases, the functions and schemas (particularly the
         RELAX-NG, compact syntax) are to be given priority.</para><section><title>error<code>[adv01]</code></title><para>Token-based assertions of multiple class 2 TAN documents that share the same class 1 source may be compared or collated only if those class 2 documents adopt identical token definitions.</para><para>General rule not affecting specific attibutes or elements.</para><para>No variables, keys, functions, or named templates depend upon this error.</para></section><section><title>error<code>[adv02]</code></title><para>Assertions of multiple TAN-A documents that share the same class 1 source may be compared or collated only if they suppress, or fail to suppress, the same div types.</para><para>General rule not affecting specific attibutes or elements.</para><para>No variables, keys, functions, or named templates depend upon this error.</para></section><section><title>error<code>[adv03]</code></title><para>Mismatched sets of statistics may not be merged.</para><para>General rule not affecting specific attibutes or elements.</para><para>No variables, keys, functions, or named templates depend upon this error.</para></section><section><title>error<code>[cat01]</code></title><para>Every <code><link linkend="attribute-href">@href</link></code> in a catalog.tan.xml file must point to a document that is available.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code></para><para>Used by template <code><link linkend="template-catalog-expansion-terse">ŧ catalog-expansion-terse</link></code>, <code><link linkend="template-cut-faulty-hrefs">ŧ cut-faulty-hrefs</link></code>.</para><para>Used by function <code><link linkend="function-collection">tan:collection</link>()</code>.</para></section><section><title>error<code>[cat02]</code></title><para><code><link linkend="attribute-root">@root</link></code> should match the target's root element name</para><para>Affects: <code><link linkend="attribute-root">@root</link></code></para><para>Used by template <code><link linkend="template-catalog-expansion-terse">ŧ catalog-expansion-terse</link></code>.</para></section><section><title>error<code>[cat03]</code></title><para>In a catalog.tan.xml, <code><link linkend="attribute-id">@id</link></code> should match the target's root element <code><link linkend="attribute-id">@id</link></code></para><para>Affects: <code><link linkend="attribute-id">@id</link></code></para><para>Used by template <code><link linkend="template-catalog-expansion-terse">ŧ catalog-expansion-terse</link></code>.</para></section><section><title>warning<code>[cat04]</code></title><para>Different TAN files should have unique <code>@ids.</code>.</para><para>Affects: <code><link linkend="attribute-id">@id</link></code></para><para>Used by template <code><link linkend="template-catalog-expansion-terse">ŧ catalog-expansion-terse</link></code>.</para></section><section><title>warning<code>[cat05]</code></title><para><code><link linkend="attribute-href">@href</link></code> values in catalog.tan.xml should be unique</para><para>Affects: <code><link linkend="attribute-href">@href</link></code></para><para>Used by template <code><link linkend="template-catalog-expansion-terse">ŧ catalog-expansion-terse</link></code>.</para></section><section><title>warning<code>[cat06]</code></title><para>If a local catalog.tan.xml file lacks a reference to a TAN file being validated, a warning will appear.</para><para>Affects: <code><link linkend="attribute-id">@id</link></code></para><para>Used by template <code><link linkend="template-core-expansion-verbose">ŧ core-expansion-verbose</link></code>.</para></section><section><title>warning<code>[cat07]</code></title><para>A TAN file being validated verbosely will include errors reported in any local catalog.tan.xml</para><para>General rule not affecting specific attibutes or elements.</para><para>Used by template <code><link linkend="template-core-expansion-verbose">ŧ core-expansion-verbose</link></code>.</para></section><section><title>error<code>[chr01]</code></title><para>Every character must be locatable in every token in every ref in every source.</para><para>Affects: <code><link linkend="attribute-chars">@chars</link></code><code><link linkend="element-tok">&lt;tok&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation, <code><link linkend="template-mark-dependencies-pass-2-for-validation">ŧ mark-dependencies-pass-2-for-validation</link></code>.</para></section><section><title>error<code>[cl101]</code></title><para>Class 1 files must share the same source as any redivision or companion version.</para><para>Affects: <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-companion-version">&lt;companion-version&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl102]</code></title><para>Class 1 files must share the same work as any model, redivision, or companion version.</para><para>Affects: <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-companion-version">&lt;companion-version&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl103]</code></title><para>Class 1 files must share the same work-version, if supplied, as any redivision.</para><para>Affects: <code><link linkend="element-redivision">&lt;redivision&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl104]</code></title><para>Class 1 files must have identical transcriptions, after TAN normalization, as any redivision.</para><para>Affects: <code><link linkend="element-redivision">&lt;redivision&gt;</link></code></para><para>Used by template <code><link linkend="template-class-1-expansion-verbose-pass-3">ŧ class-1-expansion-verbose-pass-3</link></code>, <code><link linkend="template-class-1-expansion-verbose-pass-1">ŧ class-1-expansion-verbose-pass-1</link></code>.</para></section><section><title>warning<code>[cl107]</code></title><para>If a class 1 file diverges from the structure of its model a warning will be generated specifying where differences exist.</para><para>Affects: <code><link linkend="element-model">&lt;model&gt;</link></code></para><para>Used by template <code><link linkend="template-class-1-expansion-verbose-pass-2">ŧ class-1-expansion-verbose-pass-2</link></code>.</para></section><section><title>warning<code>[cl109]</code></title><para>Most div references are unique.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[cl110]</code></title><para>Every leaf div must have at least some non-space text.</para><para>Affects: <code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[cl111]</code></title><para>No text may begin with a modifying character.</para><para>Affects: <code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[cl112]</code></title><para>No text may have a spacing character followed by a modifying character.</para><para>Affects: <code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[cl113]</code></title><para>No text may have Unicode characters that are disallowed, e.g., U+A0, NO BREAK SPACE.</para><para>Affects: <code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[cl114]</code></title><para>A class 1 <code><link linkend="element-source">&lt;source&gt;</link></code> may not point to a TAN file.</para><para>Affects: <code><link linkend="element-source">&lt;source&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[cl115]</code></title><para>An <code><link linkend="attribute-n">@n</link></code>'s value should not appear in the text.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-class-1-expansion-verbose-pass-2">ŧ class-1-expansion-verbose-pass-2</link></code>.</para></section><section><title>warning<code>[cl116]</code></title><para>A <code><link linkend="element-div">&lt;div&gt;</link></code>'s reference (self and ancestor <code>@ns</code>, concatenated) should not appear in the text.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-class-1-expansion-verbose-pass-2">ŧ class-1-expansion-verbose-pass-2</link></code>.</para></section><section><title>error<code>[cl117]</code></title><para>An <code><link linkend="attribute-n">@n</link></code> taking digit values should not begin with 0.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-1">ŧ dependency-adjustments-pass-1</link></code>, <code><link linkend="template-resolve-numerals">ŧ resolve-numerals</link></code>, <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl118]</code></title><para>No reference may point to a mixture of leaf and non-leaf <code><link linkend="element-div">&lt;div&gt;</link></code>s.</para><para>Affects: <code><link linkend="element-div">&lt;div&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>fatal<code>[cl201]</code></title><para>Sources are integral parts of a class 2 TAN file. Access to at least one non-faulty copy is absolutely mandatory.</para><para>Affects: <code><link linkend="element-source">&lt;source&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[cl202]</code></title><para>No source may be given more than one token definition.</para><para>Affects: <code><link linkend="element-token-definition">&lt;token-definition&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl203]</code></title><para><code><link linkend="attribute-new">@new</link></code> may not take the same value as what it replaces.</para><para>Affects: <code><link linkend="attribute-new">@new</link></code><code><link linkend="element-rename">&lt;rename&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>warning<code>[cl205]</code></title><para>The values of <code><link linkend="attribute-n">@n</link></code> in <code><link linkend="element-equate">&lt;equate&gt;</link></code> should not have duplicates.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-equate">&lt;equate&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>warning<code>[cl207]</code></title><para>At least one <code><link linkend="attribute-n">@n</link></code> value in an equate should be found in every source.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-equate">&lt;equate&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>error<code>[cl213]</code></title><para><code><link linkend="attribute-by">@by</link></code> may be applied only to those <code><link linkend="attribute-n">@n</link></code> and <code><link linkend="attribute-ref">@ref</link></code> values that are calculable as integers.</para><para>Affects: <code><link linkend="attribute-by">@by</link></code><code><link linkend="element-rename">&lt;rename&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl215]</code></title><para>In adjustment actions involving <code><link linkend="attribute-n">@n</link></code>, at least one value should be found in each source.</para><para>Affects: <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-rename">&lt;rename&gt;</link></code> <code><link linkend="element-skip">&lt;skip&gt;</link></code> <code><link linkend="element-equate">&lt;equate&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>error<code>[cl216]</code></title><para>In a <code><link linkend="element-rename">&lt;rename&gt;</link></code> the quantity of values in <code><link linkend="attribute-ref">@ref</link></code> and <code><link linkend="attribute-new">@new</link></code> must be identical.</para><para>Affects: <code><link linkend="attribute-new">@new</link></code> <code><link linkend="attribute-ref">@ref</link></code><code><link linkend="element-rename">&lt;rename&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[cl217]</code></title><para>No adjustment action should result in the mixing of leaf <code><link linkend="element-div">&lt;div&gt;</link></code>s and non-leaf <code><link linkend="element-div">&lt;div&gt;</link></code>s.</para><para>Affects: <code><link linkend="attribute-new">@new</link></code><code><link linkend="element-reassign">&lt;reassign&gt;</link></code> <code><link linkend="element-rename">&lt;rename&gt;</link></code> <code><link linkend="element-adjustments">&lt;adjustments&gt;</link></code> <code><link linkend="element-to">&lt;to&gt;</link></code></para><para>Used by template <code><link linkend="template-strip-divs-to-reset">ŧ strip-divs-to-reset</link></code>.</para></section><section><title>warning<code>[cl219]</code></title><para>Only the first of multiple adjustment actions will be applied. Action priority: skip, ref-based rename, then for every <code><link linkend="attribute-n">@n</link></code> n-based rename, equate.</para><para>Affects: <code><link linkend="element-rename">&lt;rename&gt;</link></code> <code><link linkend="element-skip">&lt;skip&gt;</link></code> <code><link linkend="element-equate">&lt;equate&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-1">ŧ dependency-adjustments-pass-1</link></code>.</para></section><section><title>error<code>[clm01]</code></title><para>Claims involving verbs whose constrained content requires specification of units must use <code><link linkend="element-object">&lt;object&gt;</link></code> or <code><link linkend="element-subject">&lt;subject&gt;</link></code> with <code><link linkend="attribute-units">@units.</link></code>.</para><para>Affects: <code><link linkend="attribute-content-datatype">@content-datatype</link></code> <code><link linkend="attribute-content-lexical-constraint">@content-lexical-constraint</link></code> <code><link linkend="attribute-units">@units</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code> <code><link linkend="element-verb">&lt;verb&gt;</link></code> <code><link linkend="element-object">&lt;object&gt;</link></code> <code><link linkend="element-subject">&lt;subject&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm02]</code></title><para>A claim with a verb that has content constraints must not allow other verbs.</para><para>Affects: <code><link linkend="attribute-content-datatype">@content-datatype</link></code> <code><link linkend="attribute-content-lexical-constraint">@content-lexical-constraint</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code> <code><link linkend="element-verb">&lt;verb&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm03]</code></title><para><code><link linkend="element-subject">&lt;subject&gt;</link></code>s' and <code><link linkend="element-object">&lt;object&gt;</link></code>s' content must be castable to any datatype constraints defined by the verb.</para><para>Affects: <code><link linkend="attribute-content-datatype">@content-datatype</link></code><code><link linkend="element-subject">&lt;subject&gt;</link></code> <code><link linkend="element-object">&lt;object&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm04]</code></title><para><code><link linkend="element-subject">&lt;subject&gt;</link></code>s' and <code><link linkend="element-object">&lt;object&gt;</link></code>s' content must match any lexical constraints defined by the verb.</para><para>Affects: <code><link linkend="attribute-content-lexical-constraint">@content-lexical-constraint</link></code><code><link linkend="element-subject">&lt;subject&gt;</link></code> <code><link linkend="element-object">&lt;object&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm05]</code></title><para><code><link linkend="element-object">&lt;object&gt;</link></code> or <code><link linkend="element-subject">&lt;subject&gt;</link></code> with <code><link linkend="attribute-units">@units</link></code> may be used only with verbs with constrained content.</para><para>Affects: <code><link linkend="attribute-content-datatype">@content-datatype</link></code> <code><link linkend="attribute-content-lexical-constraint">@content-lexical-constraint</link></code> <code><link linkend="attribute-units">@units</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code> <code><link linkend="element-verb">&lt;verb&gt;</link></code> <code><link linkend="element-object">&lt;object&gt;</link></code> <code><link linkend="element-subject">&lt;subject&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm07]</code></title><para>Every <code><link linkend="element-claim">&lt;claim&gt;</link></code> must have or inherit at least one verb.</para><para>Affects: <code><link linkend="attribute-verb">@verb</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm08]</code></title><para>Every <code><link linkend="element-claim">&lt;claim&gt;</link></code> must respect constraints defined by the verb.</para><para>Affects: <code><link linkend="attribute-verb">@verb</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[clm09]</code></title><para>No <code><link linkend="element-claim">&lt;claim&gt;</link></code> with a verb that disallows an element may have another verb that requires that same element.</para><para>Affects: <code><link linkend="attribute-verb">@verb</link></code><code><link linkend="element-claim">&lt;claim&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[dty01]</code></title><para>Every div type reference must be valid in every source</para><para>Affects: <code><link linkend="attribute-div-type">@div-type</link></code><code><link linkend="element-skip">&lt;skip&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>error<code>[inc02]</code></title><para>For any element with <code><link linkend="attribute-include">@include</link></code>, at least one element of the same name must be found in target inclusion document.</para><para>Affects: <code><link linkend="attribute-include">@include</link></code><code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code></para><para>Used by template <code><link linkend="template-apply-inclusions-and-adjust-vocabulary">ŧ apply-inclusions-and-adjust-vocabulary</link></code>.</para></section><section><title>error<code>[inc03]</code></title><para>Inclusions/vocabularies may not be invoked circularly.</para><para>Affects: <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by variable <code><link linkend="variable-erroneously-looped-doc">$erroneously-looped-doc</link></code>.</para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para><para>Used by function <code><link linkend="function-resolve-doc-loop">tan:resolve-doc-loop</link>()</code>.</para></section><section><title>fatal<code>[inc04]</code></title><para>Inclusions are integral parts of any TAN file. Access to at least one copy is absolutely mandatory.</para><para>Affects: <code><link linkend="attribute-include">@include</link></code><code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code></para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>fatal<code>[inc05]</code></title><para>The vocabulary of a file may not include it.</para><para>Affects: <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-TAN-voc">&lt;TAN-voc&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[inc06]</code></title><para>The <code><link linkend="attribute-TAN-version">@TAN-version</link></code> for inclusions and vocabularies should match the current version.</para><para>Affects: <code><link linkend="attribute-TAN-version">@TAN-version</link></code><code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>.</para></section><section><title>error<code>[lnk01]</code></title><para>An inclusion must point to a TAN file</para><para>Affects: <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk02]</code></title><para><code><link linkend="element-successor">&lt;successor&gt;</link></code>, <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code>, and <code><link linkend="element-companion-version">&lt;companion-version&gt;</link></code> must point to TAN files of the same type.</para><para>Affects: <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-companion-version">&lt;companion-version&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk03]</code></title><para><code><link linkend="element-model">&lt;model&gt;</link></code> and <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> must point to class 1 TAN files</para><para>Affects: <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk04]</code></title><para><code><link linkend="element-annotation">&lt;annotation&gt;</link></code> must point to class 2 TAN files</para><para>Affects: <code><link linkend="element-annotation">&lt;annotation&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk05]</code></title><para><code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> must point to TAN-voc files.</para><para>Affects: <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk06]</code></title><para><code><link linkend="element-morphology">&lt;morphology&gt;</link></code> must point to TAN-mor files.</para><para>Affects: <code><link linkend="element-morphology">&lt;morphology&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[lnk07]</code></title><para>If a linking element points to a file that must be resolved, that file must be a TAN file.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code></para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>.</para><para>Used by function <code><link linkend="function-resolve-doc-loop">tan:resolve-doc-loop</link>()</code>.</para></section><section><title>error<code>[loc01]</code></title><para>An element that has a <code><link linkend="element-location">&lt;location&gt;</link></code> and is key for validation should have at least one document available.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>error<code>[loc02]</code></title><para>Every TAN file referred to by way of an element containing <code><link linkend="element-location">&lt;location&gt;</link></code> should have an <code><link linkend="attribute-id">@id</link></code> that matches the <code><link linkend="element-IRI">&lt;IRI&gt;</link></code> of the parent of the <code><link linkend="element-location">&lt;location&gt;</link></code></para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[loc03]</code></title><para>No element may point to a TAN file that has an identical <code><link linkend="attribute-id">@id</link></code> value; the only exception is <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> and <code><link linkend="element-successor">&lt;successor&gt;</link></code>.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[loc04]</code></title><para>If an element not essential to validation has no <code><link linkend="element-location">&lt;location&gt;</link></code> that points to a document a warning should be returned.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code></para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>error<code>[rea01]</code></title><para>In a <code><link linkend="element-reassign">&lt;reassign&gt;</link></code>, the token referred to at <code><link linkend="element-from-tok">&lt;from-tok&gt;</link></code> must precede the one referred to by <code><link linkend="element-through-tok">&lt;through-tok&gt;</link></code>.</para><para>Affects: <code><link linkend="element-reassign">&lt;reassign&gt;</link></code> <code><link linkend="element-from-tok">&lt;from-tok&gt;</link></code> <code><link linkend="element-through-tok">&lt;through-tok&gt;</link></code></para><para>Used by template <code><link linkend="template-expand-reassigns">ŧ expand-reassigns</link></code>.</para></section><section><title>error<code>[rea02]</code></title><para>No token may be adjusted by more than one <code><link linkend="element-reassign">&lt;reassign&gt;</link></code>.</para><para>Affects: <code><link linkend="element-reassign">&lt;reassign&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-2">ŧ dependency-adjustments-pass-2</link></code>.</para></section><section><title>warning<code>[rea03]</code></title><para>If a <code><link linkend="element-div">&lt;div&gt;</link></code> is renamed, and the target reference is subject to <code><link linkend="element-reassign">&lt;reassign&gt;</link></code> instructions, the following message will appear.</para><para><code><link linkend="element-reassign">&lt;reassign&gt;</link></code> targets a reference that has been altered by <code><link linkend="element-rename">&lt;rename&gt;</link></code>. Any reassignments will treat the newly created <code><link linkend="element-div">&lt;div&gt;</link></code>, not the original.</para><para>Affects: <code><link linkend="element-reassign">&lt;reassign&gt;</link></code> <code><link linkend="element-rename">&lt;rename&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-2">ŧ dependency-adjustments-pass-2</link></code>.</para></section><section><title>error<code>[rea04]</code></title><para>A <code><link linkend="element-reassign">&lt;reassign&gt;</link></code> may be applied only to leaf <code><link linkend="element-div">&lt;div&gt;</link></code>s.</para><para>Affects: <code><link linkend="element-reassign">&lt;reassign&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-2">ŧ dependency-adjustments-pass-2</link></code>.</para></section><section><title>error<code>[ref01]</code></title><para>Every part of a <code><link linkend="attribute-ref">@ref</link></code> must correspond to a <code><link linkend="element-div">&lt;div&gt;</link></code> in every source.</para><para>Affects: <code><link linkend="attribute-ref">@ref</link></code> <code><link linkend="attribute-src">@src</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>warning<code>[ref02]</code></title><para>If a reference to a work is not found in some sources for that work, a warning will be returned.</para><para>Affects: <code><link linkend="attribute-ref">@ref</link></code> <code><link linkend="attribute-work">@work</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>error<code>[ref03]</code></title><para>In a <code><link linkend="attribute-ref">@ref</link></code> range the first reference should precede the second.</para><para>Affects: <code><link linkend="attribute-ref">@ref</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation.</para></section><section><title>error<code>[seq01]</code></title><para>Sequences may not include values less than 1.</para><para>Affects: <code><link linkend="attribute-pos">@pos</link></code> <code><link linkend="attribute-chars">@chars</link></code> <code>@feature-qty-test</code></para><para>Used by template <code><link linkend="template-mark-tok-pos">ŧ mark-tok-pos</link></code>.</para><para>Used by function <code><link linkend="function-sequence-error">tan:sequence-error</link>()</code>.</para></section><section><title>error<code>[seq02]</code></title><para>Sequences may not include values greater than the maximum allowed.</para><para>Affects: <code><link linkend="attribute-pos">@pos</link></code> <code><link linkend="attribute-chars">@chars</link></code> <code>@feature-qty-test</code></para><para>Used by template <code><link linkend="template-mark-tok-pos">ŧ mark-tok-pos</link></code>.</para><para>Used by function <code><link linkend="function-sequence-error">tan:sequence-error</link>()</code>.</para></section><section><title>error<code>[seq03]</code></title><para>Ranges in sequences must go from a lesser value to a greater.</para><para>Affects: <code><link linkend="attribute-pos">@pos</link></code> <code><link linkend="attribute-chars">@chars</link></code> <code>@feature-qty-test</code></para><para>Used by template <code><link linkend="template-check-and-expand-ranges">ŧ check-and-expand-ranges</link></code>.</para><para>Used by function <code><link linkend="function-sequence-error">tan:sequence-error</link>()</code>.</para></section><section><title>error<code>[seq05]</code></title><para>Any range in either an <code><link linkend="attribute-n">@n</link></code> or in a <code><link linkend="attribute-ref">@ref</link></code> in an adjustment action must be predictably calculated.</para><para>Affects: <code><link linkend="attribute-ref">@ref</link></code> <code><link linkend="attribute-n">@n</link></code><code><link linkend="element-skip">&lt;skip&gt;</link></code> <code><link linkend="element-rename">&lt;rename&gt;</link></code> <code><link linkend="element-reassign">&lt;reassign&gt;</link></code> <code><link linkend="element-adjustments">&lt;adjustments&gt;</link></code></para><para>Used by template <code><link linkend="template-check-and-expand-ranges">ŧ check-and-expand-ranges</link></code>.</para></section><section><title>error<code>[tan01]</code></title><para>Every TAN file must have at least one organization or person with an <code><link linkend="element-IRI">&lt;IRI&gt;</link></code> that is a tag URI whose namespace matches the namespaces of <code><link linkend="attribute-id">@id</link></code> in the root element.</para><para>Affects: <code><link linkend="attribute-id">@id</link></code><code>&lt;agent&gt;</code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[tan02]</code></title><para>Any TAN file without a to-do list will be treated as being no longer in progress and should have at least one master-location.</para><para>Affects: <code><link linkend="element-master-location">&lt;master-location&gt;</link></code> <code><link linkend="element-to-do">&lt;to-do&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[tan03]</code></title><para><code><link linkend="attribute-xmlid">@xml:id</link></code> values may not be repeated in the same document.</para><para>Affects: <code><link linkend="attribute-xmlid">@xml:id</link></code> <code><link linkend="attribute-id">@id</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[tan04]</code></title><para>All text must be normalized (Unicode NFC).</para><para>Affects: <code><link linkend="element-desc">&lt;desc&gt;</link></code> <code><link linkend="element-div">&lt;div&gt;</link></code> <code><link linkend="element-name">&lt;name&gt;</link></code> <code><link linkend="element-IRI">&lt;IRI&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[tan05]</code></title><para>Every idref in an attribute must point to a vocabulary item (by <code><link linkend="attribute-xmlid">@xml:id</link></code> or name) that is of the appropriate corresponding element.</para><para>Affects: <code><link linkend="attribute-who">@who</link></code> <code><link linkend="attribute-ed-who">@ed-who</link></code> <code><link linkend="attribute-roles">@roles</link></code> <code><link linkend="attribute-src">@src</link></code> <code><link linkend="attribute-lexicon">@lexicon</link></code> <code><link linkend="attribute-morphology">@morphology</link></code> <code><link linkend="attribute-reuse-type">@reuse-type</link></code> <code><link linkend="attribute-bitext-relation">@bitext-relation</link></code> <code>@feature</code> <code><link linkend="attribute-include">@include</link></code> <code><link linkend="attribute-licensor">@licensor</link></code> <code><link linkend="attribute-period">@period</link></code> <code>@rights</code> <code><link linkend="attribute-work">@work</link></code> <code><link linkend="attribute-type">@type</link></code> <code><link linkend="attribute-adverb">@adverb</link></code> <code><link linkend="attribute-group">@group</link></code> <code><link linkend="attribute-verb">@verb</link></code> <code><link linkend="attribute-where">@where</link></code> <code><link linkend="attribute-relationship">@relationship</link></code> <code>@topic</code> <code><link linkend="attribute-subject">@subject</link></code> <code><link linkend="attribute-object">@object</link></code> <code><link linkend="attribute-units">@units</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes">ŧ core-expansion-terse-attributes</link></code>.</para></section><section><title>error<code>[tan06]</code></title><para>All idrefs in an attribute must be unique.</para><para>Affects: <code><link linkend="attribute-who">@who</link></code> <code><link linkend="attribute-ed-who">@ed-who</link></code> <code><link linkend="attribute-roles">@roles</link></code> <code><link linkend="attribute-src">@src</link></code> <code><link linkend="attribute-lexicon">@lexicon</link></code> <code><link linkend="attribute-morphology">@morphology</link></code> <code><link linkend="attribute-reuse-type">@reuse-type</link></code> <code><link linkend="attribute-bitext-relation">@bitext-relation</link></code> <code>@feature</code> <code><link linkend="attribute-include">@include</link></code> <code><link linkend="attribute-licensor">@licensor</link></code> <code><link linkend="attribute-period">@period</link></code> <code>@rights</code> <code><link linkend="attribute-work">@work</link></code> <code><link linkend="attribute-type">@type</link></code> <code><link linkend="attribute-adverb">@adverb</link></code> <code><link linkend="attribute-group">@group</link></code> <code><link linkend="attribute-verb">@verb</link></code> <code><link linkend="attribute-where">@where</link></code> <code><link linkend="attribute-relationship">@relationship</link></code> <code>@topic</code> <code><link linkend="attribute-subject">@subject</link></code> <code><link linkend="attribute-object">@object</link></code> <code><link linkend="attribute-units">@units</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes">ŧ core-expansion-terse-attributes</link></code>.</para></section><section><title>error<code>[tan07]</code></title><para>Attributes that take regular expressions must use escape sequences recognized by XML schema or TAN escape extensions (\u{}). See <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.w3.org/TR/xmlschema-2/#regexs">http://www.w3.org/TR/xmlschema-2/#regexs</link></para><para>Affects: <code>@regex</code> <code>@matches-m</code> <code>@matches-tok</code> <code><link linkend="attribute-rgx">@rgx</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[tan08]</code></title><para><code><link linkend="attribute-href">@href</link></code> must have <code><link linkend="element-location">&lt;location&gt;</link></code> or <code><link linkend="element-master-location">&lt;master-location&gt;</link></code> as a parent; any other parent will trigger a quick fix to populate the element with the IRI + name pattern of the target file.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[tan09]</code></title><para>An IRI may appear no more than once in a TAN document.</para><para>Affects: <code><link linkend="element-IRI">&lt;IRI&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[tan10]</code></title><para>An IRI that names a TAN file must match that file's <code><link linkend="attribute-id">@id</link></code> exactly.</para><para>Affects: <code><link linkend="element-IRI">&lt;IRI&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>error<code>[tan11]</code></title><para>No file may import vocabularies with items that have duplicate IRIs.</para><para>Affects: <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-IRI">&lt;IRI&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[tan12]</code></title><para>An <code><link linkend="attribute-xmlid">@xml:id</link></code> on a vocabulary item need not duplicate a <code><link linkend="element-name">&lt;name&gt;</link></code> (except in a TAN-mor file).</para><para>Affects: <code><link linkend="attribute-xmlid">@xml:id</link></code> <code><link linkend="attribute-id">@id</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[tan14]</code></title><para><code><link linkend="element-alias">&lt;alias&gt;</link></code> references must not be circular.</para><para>Affects: <code><link linkend="attribute-idrefs">@idrefs</link></code><code><link linkend="element-alias">&lt;alias&gt;</link></code></para><para>Used by function <code><link linkend="function-resolve-alias-loop">tan:resolve-alias-loop</link>()</code>.</para></section><section><title>error<code>[tan15]</code></title><para>No <code><link linkend="element-master-location">&lt;master-location&gt;</link></code> may have an <code><link linkend="attribute-href">@href</link></code> that points to a compressed archive.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[tan16]</code></title><para>The only <code><link linkend="attribute-href">@href</link></code> in a TAN document that may point to another document with the same document id is that of <code><link linkend="element-master-location">&lt;master-location&gt;</link></code> or <code><link linkend="element-see-also">&lt;see-also&gt;</link></code></para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>error<code>[tan17]</code></title><para>No <code><link linkend="attribute-href">@href</link></code> should point to the URI of the document itself.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-first-stamp-shallow-copy">ŧ first-stamp-shallow-copy</link></code>, <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>warning<code>[tan18]</code></title><para>Files should match the version kept at <code><link linkend="element-master-location">&lt;master-location&gt;</link></code>.</para><para>Affects: <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-class-2-expansion-verbose">ŧ class-2-expansion-verbose</link></code>, <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[tan19]</code></title><para>Any IRI beginning urn: must continue with a name that is part of the official IANA Registry of URN Namespaces. See RFC 2414, <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://tools.ietf.org/html/rfc8141,">https://tools.ietf.org/html/rfc8141,</link> and <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml">https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml</link></para><para>Affects: <code><link linkend="element-IRI">&lt;IRI&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[tan20]</code></title><para>Files must be correlated with the proper TAN version.</para><para>Affects: <code><link linkend="attribute-TAN-version">@TAN-version</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1, <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[tan21]</code></title><para>Multiple idrefs in a single attribute should not point to the same entity.</para><para>Affects: <code><link linkend="attribute-who">@who</link></code> <code><link linkend="attribute-ed-who">@ed-who</link></code> <code><link linkend="attribute-roles">@roles</link></code> <code><link linkend="attribute-src">@src</link></code> <code><link linkend="attribute-lexicon">@lexicon</link></code> <code><link linkend="attribute-morphology">@morphology</link></code> <code><link linkend="attribute-reuse-type">@reuse-type</link></code> <code><link linkend="attribute-bitext-relation">@bitext-relation</link></code> <code>@feature</code> <code><link linkend="attribute-include">@include</link></code> <code><link linkend="attribute-licensor">@licensor</link></code> <code><link linkend="attribute-period">@period</link></code> <code>@rights</code> <code><link linkend="attribute-work">@work</link></code> <code><link linkend="attribute-type">@type</link></code> <code><link linkend="attribute-adverb">@adverb</link></code> <code><link linkend="attribute-group">@group</link></code> <code><link linkend="attribute-verb">@verb</link></code> <code><link linkend="attribute-where">@where</link></code> <code><link linkend="attribute-relationship">@relationship</link></code> <code>@topic</code> <code><link linkend="attribute-subject">@subject</link></code> <code><link linkend="attribute-object">@object</link></code> <code><link linkend="attribute-units">@units</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes">ŧ core-expansion-terse-attributes</link></code>, <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>warning<code>[tei04]</code></title><para>Text that represents a line, column, or page break should be moved into a <code>@rend</code> within a <code>&lt;lb&gt;</code>, <code>&lt;pb&gt;</code>, or <code>&lt;cb&gt;</code>.</para><para>Affects: <code>@rend</code><code>&lt;tei:lb&gt;</code> <code>&lt;tei:pb&gt;</code> <code>&lt;tei:cb&gt;</code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1 normalize-tei-space.</para></section><section><title>error<code>[tei05]</code></title><para>A milestone element without <code>@break</code> set to false should have at least one space on either side.</para><para>Affects: <code>&lt;tei:lb&gt;</code> <code>&lt;tei:pb&gt;</code> <code>&lt;tei:cb&gt;</code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1 normalize-tei-space.</para></section><section><title>error<code>[tei06]</code></title><para>A milestone element with <code>@break</code> set to false should have no nearby spaces</para><para>Affects: <code>&lt;tei:lb&gt;</code> <code>&lt;tei:pb&gt;</code> <code>&lt;tei:cb&gt;</code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1 normalize-tei-space.</para></section><section><title>error<code>[tlm02]</code></title><para>When using a category-based morphology, the number of feature codes in an <code><link linkend="element-m">&lt;m&gt;</link></code> may not exceed the number of categories.</para><para>Affects: <code><link linkend="element-m">&lt;m&gt;</link></code></para><para>Used by template <code><link linkend="template-tan-a-lm-expansion-terse">ŧ tan-a-lm-expansion-terse</link></code>.</para></section><section><title>error<code>[tlm03]</code></title><para>Every feature code in an <code><link linkend="element-m">&lt;m&gt;</link></code> must be found in the target morphology file.</para><para>Affects: <code><link linkend="element-m">&lt;m&gt;</link></code></para><para>Used by template <code><link linkend="template-tan-a-lm-expansion-terse">ŧ tan-a-lm-expansion-terse</link></code>.</para></section><section><title>error<code>[tlm04]</code></title><para>Every condition of a relevant dependency morphology <code><link linkend="element-assert">&lt;assert&gt;</link></code> (<code><link linkend="element-report">&lt;report&gt;</link></code>) must be true (false) otherwise an error will be returned.</para><para>Affects: <code><link linkend="element-m">&lt;m&gt;</link></code></para><para>No variables, keys, functions, or named templates depend upon this error.</para></section><section><title>error<code>[tmo01]</code></title><para>Features may not be repeated within a given category.</para><para>Affects: <code><link linkend="attribute-type">@type</link></code><code><link linkend="element-category">&lt;category&gt;</link></code> <code><link linkend="element-feature">&lt;feature&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-1">ŧ dependency-adjustments-pass-1</link></code> core-expansion-terse.</para></section><section><title>error<code>[tmo02]</code></title><para>Codes for features must be case-indifferently unique within a given category.</para><para>Affects: <code><link linkend="attribute-code">@code</link></code><code><link linkend="element-feature">&lt;feature&gt;</link></code></para><para>Used by template <code><link linkend="template-dependency-adjustments-pass-1">ŧ dependency-adjustments-pass-1</link></code> core-expansion-terse.</para></section><section><title>error<code>[tok01]</code></title><para>Every token must be locatable in every cited ref in every source.</para><para>Affects: <code><link linkend="attribute-pos">@pos</link></code> <code><link linkend="attribute-val">@val</link></code> <code><link linkend="attribute-rgx">@rgx</link></code><code><link linkend="element-tok">&lt;tok&gt;</link></code> <code><link linkend="element-from-tok">&lt;from-tok&gt;</link></code> <code><link linkend="element-through-tok">&lt;through-tok&gt;</link></code></para><para>Used by template <code><link linkend="template-expand-reassigns">ŧ expand-reassigns</link></code>, <code><link linkend="template-class-2-expansion-terse">ŧ class-2-expansion-terse</link></code> class-2-expansion-terse-for-validation, <code><link linkend="template-mark-tok-pos">ŧ mark-tok-pos</link></code>, <code><link linkend="template-mark-dependencies-pass-2-for-validation">ŧ mark-dependencies-pass-2-for-validation</link></code>.</para></section><section><title>error<code>[voc01]</code></title><para>Names may not duplicate names reserved by standard TAN vocabulary for the affected element.</para><para>Affects: <code><link linkend="element-name">&lt;name&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[voc02]</code></title><para>Names may not be duplicates of, case-variants of, or hyphen variants of other names for the same element.</para><para>Affects: <code><link linkend="element-name">&lt;name&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-normal">ŧ core-expansion-normal</link></code>.</para></section><section><title>error<code>[voc03]</code></title><para><code><link linkend="attribute-affects-element">@affects-element</link></code> may take names only of those TAN elements that accept <code><link linkend="attribute-which">@which</link></code></para><para>Affects: <code><link linkend="attribute-affects-element">@affects-element</link></code><code><link linkend="element-item">&lt;item&gt;</link></code> <code><link linkend="element-group">&lt;group&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[voc04]</code></title><para>Every item in a reserved TAN-voc must have at least one IRI with a tag URN in the TAN namespace</para><para>Affects: <code><link linkend="element-IRI">&lt;IRI&gt;</link></code> <code><link linkend="element-item">&lt;item&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[voc06]</code></title><para><code><link linkend="attribute-affects-element">@affects-element</link></code> may take the value "vocabulary" only in official TAN-voc files.</para><para>Affects: <code><link linkend="attribute-affects-element">@affects-element</link></code><code><link linkend="element-item">&lt;item&gt;</link></code> <code><link linkend="element-group">&lt;group&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[voc07]</code></title><para>Each <code><link linkend="element-name">&lt;name&gt;</link></code> in standard TAN vocabulary must already be normalized.</para><para>Affects: <code><link linkend="element-name">&lt;name&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>error<code>[whe02]</code></title><para>Future dates are not permitted.</para><para>Affects: <code><link linkend="attribute-when">@when</link></code> <code><link linkend="attribute-ed-when">@ed-when</link></code> <code><link linkend="attribute-accessed-when">@accessed-when</link></code> <code><link linkend="attribute-from">@from</link></code> <code><link linkend="attribute-to">@to</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[whe03]</code></title><para><code><link linkend="attribute-from">@from</link></code> must predate <code><link linkend="attribute-to">@to</link></code></para><para>Affects: <code><link linkend="attribute-from">@from</link></code> <code><link linkend="attribute-to">@to</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>.</para></section><section><title>error<code>[whi01]</code></title><para>An element's <code><link linkend="attribute-which">@which</link></code> must have a value that corresponds to a <code><link linkend="element-name">&lt;name&gt;</link></code>, either in a standard TAN vocabulary or an associated TAN-voc file, that is marked as applying to that element.</para><para>Affects: <code><link linkend="attribute-which">@which</link></code><code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes">ŧ core-expansion-terse-attributes</link></code>.</para></section><section><title>error<code>[whi02]</code></title><para>Names must be unique for vocabulary items assigned to a given element name.</para><para>Affects: <code><link linkend="element-name">&lt;name&gt;</link></code> <code><link linkend="element-item">&lt;item&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>fatal<code>[whi04]</code></title><para>Vocabularies are integral parts of a document. Access to at least one version is absolutely mandatory.</para><para>Affects: <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-resolve-critical-dependencies-loop">ŧ resolve-critical-dependencies-loop</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>, <code><link linkend="template-first-stamp-shallow-copy">ŧ first-stamp-shallow-copy</link></code>.</para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>error<code>[whi05]</code></title><para>A <code><link linkend="attribute-which">@which</link></code> in a <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> may point only to items in the standard TAN file vocabularies.TAN-voc.xml</para><para>Affects: <code><link linkend="attribute-which">@which</link></code><code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-first-stamp-shallow-copy">ŧ first-stamp-shallow-copy</link></code>.</para></section><section><title>warning<code>[wrn01]</code></title><para>If an <code><link linkend="attribute-href">@href</link></code> points to a local file that is not available, a warning will be returned.</para><para><code><link linkend="attribute-href">@href</link></code> points to file that is either (1) not available or (2) not valid XML</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse-attributes-to-elements">ŧ core-expansion-terse-attributes-to-elements</link></code>, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>warning<code>[wrn02]</code></title><para>If <code><link linkend="attribute-accessed-when">@accessed-when</link></code> predates one or more dates in a target file, a warning will be returned.</para><para>Affects: <code><link linkend="attribute-accessed-when">@accessed-when</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[wrn03]</code></title><para>If a target file has children items in the <code><link linkend="element-to-do">&lt;to-do&gt;</link></code>the corresponding comments will be returned as warnings.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[wrn04]</code></title><para>Users should be warned about versions of TAN that are under development.</para><para>This version of TAN is under development, and is subject to change. Participants in developing the TAN schemas, functions, and guidelines are welcome. See <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://textalign.net">http://textalign.net</link> for details.</para><para>Affects: <code><link linkend="element-TAN-T">&lt;TAN-T&gt;</link></code> <code>&lt;TEI&gt;</code> <code><link linkend="element-TAN-A">&lt;TAN-A&gt;</link></code> <code><link linkend="element-TAN-A-tok">&lt;TAN-A-tok&gt;</link></code> <code><link linkend="element-TAN-A-lm">&lt;TAN-A-lm&gt;</link></code> <code><link linkend="element-TAN-voc">&lt;TAN-voc&gt;</link></code> <code><link linkend="element-TAN-mor">&lt;TAN-mor&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1, <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>warning<code>[wrn05]</code></title><para>If a target file has a <code><link linkend="element-successor">&lt;successor&gt;</link></code> a warning will be returned, noting the update.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[wrn07]</code></title><para>Users should be warned about TAN files whose last change was made by an algorithm.</para><para>Affects: <code><link linkend="element-TAN-T">&lt;TAN-T&gt;</link></code> <code>&lt;TEI&gt;</code> <code><link linkend="element-TAN-A">&lt;TAN-A&gt;</link></code> <code><link linkend="element-TAN-A-tok">&lt;TAN-A-tok&gt;</link></code> <code><link linkend="element-TAN-A-lm">&lt;TAN-A-lm&gt;</link></code> <code><link linkend="element-TAN-voc">&lt;TAN-voc&gt;</link></code> <code><link linkend="element-TAN-mor">&lt;TAN-mor&gt;</link></code></para><para>Used by template <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code> dependency-adjustments-pass-1, <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>, <code><link linkend="template-core-expansion-terse">ŧ core-expansion-terse</link></code>.</para></section><section><title>warning<code>[wrn08]</code></title><para>If an element's <code><link linkend="element-location">&lt;location&gt;</link></code> is faulty and if a catalog file entry is found pointing to a document with the same IRI, location information on those alternative locations will be returned</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[wrn09]</code></title><para>If a target file points only to non-local locations and no internet is available, the following message will be returned.</para><para>No internet available.</para><para>Affects: <code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-inclusion">&lt;inclusion&gt;</link></code> <code><link linkend="element-see-also">&lt;see-also&gt;</link></code> <code><link linkend="element-source">&lt;source&gt;</link></code> <code><link linkend="element-vocabulary">&lt;vocabulary&gt;</link></code> <code><link linkend="element-redivision">&lt;redivision&gt;</link></code> <code><link linkend="element-annotation">&lt;annotation&gt;</link></code> <code><link linkend="element-model">&lt;model&gt;</link></code> <code><link linkend="element-predecessor">&lt;predecessor&gt;</link></code> <code><link linkend="element-successor">&lt;successor&gt;</link></code> <code><link linkend="element-algorithm">&lt;algorithm&gt;</link></code></para><para>Used by function <code><link linkend="function-get-1st-doc">tan:get-1st-doc</link>()</code>.</para></section><section><title>warning<code>[wrn10]</code></title><para>If an <code><link linkend="attribute-href">@href</link></code> points to a file that is not local, and no internet is available, a warning will be returned.</para><para>No internet access.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section><section><title>warning<code>[wrn11]</code></title><para>If the internet is available, and an <code><link linkend="attribute-href">@href</link></code> points to a non-local file that is not available, a warning will be returned.</para><para><code><link linkend="attribute-href">@href</link></code> points to non-local file that is either (1) not available, (2) not valid XML, or (3) at a server not trusted by the validation engine.</para><para>Affects: <code><link linkend="attribute-href">@href</link></code><code><link linkend="element-location">&lt;location&gt;</link></code> <code><link linkend="element-master-location">&lt;master-location&gt;</link></code></para><para>Used by template <code><link linkend="template-check-referred-doc">ŧ check-referred-doc</link></code>.</para></section></chapter>