A Para's classification value cannot be more sensitive
than the Document's classification value.
If there is a Para labeled "top-secret" then the Document
must be labeled top-secret
If there is a Para labeled "secret" then the Document
must be labeled either secret or top-secret
If there is a Para labeled "confidential" then the Document
must be labeled either confidential, secret or top-secret
These reserved words are not allowed anywhere in the
document: SCRIPT, FUNCTION.
The document must not contain the words SCRIPT or FUNCTION
The count value in the NumParas element must match
a count of the actual number of Para elements.
And the hash value must match the value obtained
by recomputing the hash on the current document.
The count value in this element must match
a count of the actual number of Para elements
The value of Hash must match the value that is obtained
by recomputing the hash algorithm on the current document
The root element must be Document
Document has one attribute, classification, whose value can
be one of top-secret, secret, confidential, or unclassified.
Document is comprised of one NumParas, one or more Para, and
one Hash. These child elements may occur in any order.
Para has one attribute, classification, whose value can be
one of top-secret, secret, confidential, or unclassified.
The value of a Para is a string, constrained to a maximum of
200 characters, comprised of only these characters: a-z, A-Z,
0-9, comma, period, colon, semi-colon.
The value of NumParas is a nonNegativeInteger.
The value of Hash is a long.