JATS-0027-006

Rule Overview

Message

mml:mn should not follow itself. mml:mn should contain the complete number. Do not separate digits into individual mml:mn tags. Numbers should be in a structure or separated by operators.

Rule XPath:

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

not(following-sibling::*[1][self::mml:mn]) or (following-sibling::*[1][self::mml:mn] and (@mathvariant, 'none')[1] ne (following-sibling::*[1][self::mml:mn]/@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