Schematron Pretty

     Pattern           

The NITF Tagset

     Rule   
docdata
     Assert   
string-length(urgency/@ed-urg) < 2Urgency should be a single digit
     Report   
count(*) < 3Warning: The docdata element should normally have at least 4 entries:
     Rule   
body
     Assert   
@langThe language attribute is missing from the body element.
     Assert   
string-length(@lang) > 0The language attribute to the body element should not be empty.
     Rule   
body.head
     Assert   
string-length(byline) > 0Byline should be completed.
     Assert   
abstractWarning: No abstract present. Needed for archive purposes
     Rule   
hr
     Assert   
parent::blockhr element used outside of a block element. Deprecated
     Rule   
a
     Assert   
@hrefElement a has no href attribute
     Assert   
@href = id(@href)/@idCross reference from a element not available
     Rule   
event|em|num|location
     Assert   
parent::blockThe element is not within a block wrapper
     Rule   
fig
     Assert   
string-length(@name) > 0Figure has no name
     Assert   
string-length(@source)>0Figure has no source
     Assert   
string-length(@alt)>0Figure has no alternative text description
     Rule   
img
     Assert   
string-length(@name) > 0Image has no name
     Assert   
string-length(@alt)>0Image has no alternative text description
     Rule   
fig.caption
     Assert   
string-length(caption) > 0No caption provided for figure




Schematron Pretty by Rick Jelliffe. The Schematron by Rick Jelliffe, Academia Sinica Computing Centre.