Command-Line CDF Checkers

The SKTEditor GUI application contains two separate CDF standard checking functions.  The first checks a CDF for compliance with the ISTP/SPDF guidelines.  The second checks a CDF for compliance with project-specific guidelines (e.g., MMS Mission CDF File Format and Units of Measure Guides).  The project-specific validation is specified by an XML file. The example files included with SKTEditor are the following:

You may create your own project-specific validation files by looking at the provided file.

This CDF checking software can also be run from a CLI (in addition to running it from within SKTEditor).  An advantage to running the software from a CLI is to automate the checking of many files.  The following instructions detail how to use the checkers from a CLI.

Install CDF (with Java) from here.  If necessary for your platform/configuration (mainly Unix/Linux)

Do a “traditional” installation of skteditor.  That is, download and unzip the standalone-skteditor-version.zip file. 

The remaining commands are from within the directory created by the unzip operation

$ cd skteditor-version

Extract the MMS validation file from the spdfjavaClasses.jar like this

To run the MMS-specific validation

To run the ISTP validation