JATS-0049-004

Rule Overview

Message

day should be consistent between day element and iso-8601-date attribute

Rule XPath:

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

not(matches(@iso-8601-date, '^\d{4}-\d{2}-\d{2}') and day) or (number(substring(@iso-8601-date, 9, 2)) = number(day))