DDMSence comes bundled with the Public Release versions of the IC Information Security Marking (ISM), Need-to-Know Metadata (NTK), and Virtual (VIRT) schemas, which allows them to be distributed without caveat on the public Internet. For many developers, this should be sufficient. However, some developers may need to make use of values from higher classification versions of the specifications (such as the FOUO version). The instructions below show you how to replace the bundled files from one of the supported versions of DDMS with your own copies.
IC-ISM.xsd and CVEGeneratedTypes.xsd (the latter schema only exists in earlier versions).
These files might be found in your ISM archive at ISM9/Schema/ISM/.ISM9/Schema/ISM/CVEGenerated/.ISM9/CVE/ISM/.schemas/<ddmsVersionNumber>/ISM/, relative to the library.
In your custom directory, set up the appropriate schemas/<ddmsVersionNumber>/ISM/ directory structure, according to the diagram
on the upper right. It should contain the top-level ISM schemas, a subdirectory (CVEGenerated) for the generated schemas,
and a subdirectory (CVE) for the raw vocabulary files.C:\tomcat\shared\classes, as the location for our schemas.C:\tomcat\shared\classes\schemas\5.0\ISM\CVE\CVEnumISMClassificationAll.xml.DDMSENCE_CLASSPATH), and places the custom directory first. Afterwards, it runs the Essentials
sample program.set DDMSENCE_CLASSPATH=C:\tomcat\shared\classes;%DDMSENCE_CLASSPATH% java -cp %DDMSENCE_CLASSPATH% buri.ddmsence.samples.Essentials
Figure 1. Putting your custom directory at the beginning of your classpath, in Windows/DOS
The same instructions can be used to swap NTK versions. There is only a single NTK schema file, IC-NTK.xsd which DDMSence expects to find at
schemas/<ddmsVersionNumber>/NTK/.
The same instructions can be used to swap VIRT versions. You will need two files (DDMSence does not make use of the CVE file for VIRT):
VIRT.xsdCVEGenerated/CVEnumVIRTNetworkName.xsdDDMSence expects to find these files at schemas/<ddmsVersionNumber>/VIRT/.