Message
string-name should hold the name of one person and may only contain text and elements prefix, given-names, surname, suffix, and degrees, and not more than one of each element, and must have a given-names, surname, or @content-type
string-name should hold the name of one person and may only contain text and elements prefix, given-names, surname, suffix, and degrees, and not more than one of each element, and must have a given-names, surname, or @content-type
This rule ASSERTS the following, raising an alert if FALSE:
exists(@content-type | given-names | surname) and (
every $e in * satisfies (
$e[self::prefix | self::given-names | self::surname | self::suffix | self::degrees]
and not(*[name() = name($e)][2]) ))