JATS-0044-009

Rule Overview

Message

The colwidth attribute should specify a proportion in the form * or 1*, or a fixed width in the form of a number followed by a unit which is either pt, pi, pc, in, cm, or mm. Found "@colwidth"

Rule XPath:

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

not(@colwidth) or matches(@colwidth, '(\d+\.)?\d*\*') or (substring(@colwidth, string-length(@colwidth) - 1) = ('pt','pi','pc','cm','mm','in') and substring(@colwidth, 1, string-length(@colwidth) - 2) castable as xs:double)

Contexts