Attribute group for the ISM markings used throughout DDMS.
{@ddms.versions 11111}
{@table.header History}None. {@table.footer}{@table.header Nested Elements}None. {@table.footer}{@table.header Attributes}{@child.info ism:atomicEnergyMarkings|0..*|00111}{@child.info ism:classification|0..1|11111}{@child.info ism:classificationReason|0..1|11111}{@child.info ism:classifiedBy|0..1|11111}{@child.info ism:compilationReason|0..1|01111}{@child.info ism:dateOfExemptedSource|0..1|11000}{@child.info ism:declassDate|0..1|11111}{@child.info ism:declassEvent|0..1|11111}{@child.info ism:declassException|0..*|10000}{@child.info ism:declassException|0..1|01111}{@child.info ism:declassManualReview|0..1|10000}{@child.info ism:derivativelyClassifiedBy|0..1|11111}{@child.info ism:derivedFrom|0..1|11111}{@child.info ism:displayOnlyTo|0..*|00111}{@child.info ism:disseminationControls|0..*|11111}{@child.info ism:FGIsourceOpen|0..*|11111}{@child.info ism:FGIsourceProtected|0..*|11111}{@child.info ism:nonICmarkings|0..*|11111}{@child.info ism:nonUSControls|0..*|00111}{@child.info ism:ownerProducer|0..*|11111}{@child.info ism:releasableTo|0..*|11111}{@child.info ism:SARIdentifier|0..*|11111}{@child.info ism:SCIcontrols|0..*|11111}{@child.info ism:typeOfExemptedSource|0..*|10000}{@child.info ism:typeOfExemptedSource|0..1|01000} {@table.footer}{@table.header Validation Rules}{@ddms.rule ism:atomicEnergyMarkings must not be used before the DDMS version in which it was introduced.|Error|11111}{@ddms.rule ism:displayOnlyTo must not be used before the DDMS version in which it was introduced.|Error|11111}{@ddms.rule ism:nonUSControls must not be used before the DDMS version in which it was introduced.|Error|11111}{@ddms.rule ism:compilationReason must not be used before the DDMS version in which it was introduced.|Error|11111}{@ddms.rule ism:dateOfExemptedSource must not be used after the DDMS version in which it was removed.|Error|11111}{@ddms.rule ism:typeOfExemptedSource must not be used after the DDMS version in which it was removed.|Error|11111}{@ddms.rule ism:declassManualReview must not be used after the DDMS version in which it was removed.|Error|11111}{@ddms.rule If set, ism:atomicEnergyMarkings must be valid tokens.|Error|11111}{@ddms.rule If set, ism:classification must be a valid token.|Error|11111}{@ddms.rule If set, ism:declassException must be a valid token.|Error|11111}{@ddms.rule If set, ism:displayOnlyTo must be valid tokens.|Error|11111}{@ddms.rule If set, ism:disseminationControls must be valid tokens.|Error|11111}{@ddms.rule If set, ism:FGIsourceOpen must be valid tokens.|Error|11111}{@ddms.rule If set, ism:FGIsourceProtected must be valid tokens.|Error|11111}{@ddms.rule If set, ism:nonICmarkings must be valid tokens.|Error|11111}{@ddms.rule If set, ism:nonUSControls must be valid tokens.|Error|11111}{@ddms.rule If set, ism:ownerProducers must be valid tokens.|Error|11111}{@ddms.rule If set, ism:releasableTo must be valid tokens.|Error|11111}{@ddms.rule If set, ism:SARIdentifiers must be valid tokens.|Error|11111}{@ddms.rule If set, ism:SCIcontrols must be valid tokens.|Error|11111}{@ddms.rule If set, ism:typeOfExemptedSource must be a valid token.|Error|11111}{@ddms.rule If set, ism:dateOfExemptedSource must adhere to a valid date format.|Error|11111}{@ddms.rule If set, ism:declassDate must adhere to a valid date format.|Error|11111}
When validating this attribute group, the required/optional nature of the classification and ownerProducer attributes are not checked. Because that limitation depends on the parent element (for example, ddms:title requires them, but ddms:creator does not), the parent element should be responsible for checking, via requireClassification()
.
At this time, logical validation is only done on the data types of the various attributes, and the controlled vocabulary enumerations behind some of the attributes. Any further validation would require integration with ISM Schematron files as discussed in the Schematron Validation Power Tip on the website.
{@table.footer}
@author Brian Uri!
@since 0.9.b