JATS-0027-007

Rule Overview

Message

mml:mtext should not follow itself. mml:mtext should contain the complete word, phrase, or space characters. Do not separate characters into individual mml:mtext tags.

Rule XPath:

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

not(following-sibling::*[1][self::mml:mtext]) or (following-sibling::*[1][self::mml:mtext] and (@mathvariant, 'none')[1] ne (following-sibling::*[1][self::mml:mtext]/@mathvariant, 'none')[1]) or (parent::mml:mfrac | parent::mml:mroot | parent::mml:msub | parent::mml:msup | parent::mml:munder | parent::mml:mover | parent::mml:munderover | parent::mml:msubsup | parent::mml:mmultiscripts | parent::mml:mfenced[@separators] )

Contexts