A file validator technique for identifying a test specification to be used
for testing validity of a file element associated with a file is
provided. The test specification is a member in one of a set of test
specifications embedded in the file validator and a set of test
specifications not embedded in the file validator. According to the
technique, a file element is selected, a pointer associated with the
selected file element is selected, and a pointer is used to select the
test specification associated with the selected file element, the
selected test specification being selectable from one of the set of test
specifications embedded in the file validator and the set of test
specifications not embedded in the file validator.