JATS-0041-010

Rule Overview

Message

The text within xref should be consistent with the label in the referenced element

Rule XPath:

This rule ASSERTS the following, raising an alert if FALSE:

(every $rid in tokenize(@rid, '\s+')[. ne ''] satisfies matches(key('element-by-id', $rid)/label[1], concat('(\s+|', local:escape-for-regex(normalize-space(.)), '\.?$)')) ) or not(@ref-type = ('aff', 'author-notes', 'fn', 'table', 'fig'))

Contexts

Inherited Contexts