"TOCI" elements contain "Link" elements
Each table of contents item should link to only one place in a document. This quality check warns when no link exists for an item, or more than one link exists for an item.
To resolve this quality check, make sure that the table of contents item is linking to exactly one location in the document.
Detailed explanation
Cases | Result |
---|---|
"TOCI" tag does not contain any links | WARN |
"TOCI" tag contains more than one link in any of its descendants, excluding descendant "TOC" elements and their descendants | WARN |
"TOCI" tag contains exactly one link as a child in any of its descendants excluding descendant "TOC" tag and their descendants | PASS |
Detailed explanation
This quality check verifies that every table of contents item element has exactly one Link element as a direct descendant. This also applies to table of contents item elements of subordinate table of contents elements.
To resolve this quality check, make sure that the table of contents item element that is failing is linking to exactly one location in the document.