Use the installadm validate command to validate AI manifests for syntactic correctness.
Use the –M option to validate manifests that have not been added to the install service. The value of the –M argument is the pathname to the manifest.
Use the –m option to validate manifests that have already been added to the specified install service. Use the installadm list command, as shown in Example 8–38, to display possible values for the manifest name. The create-manifest subcommand validates AI manifests before adding them to the install service. The validate -m subcommand verifies that the manifest has not become corrupted since it was added.
You must specify a service name for manifests that have been added to an install service and manifests that have not been added yet. The service name is required for manifests that have not yet been added to an install service because the DTD might be different in different versions of the OS. An install service might be defined to install a different version of the OS than the version your AI server is running. The manifest must be validated against the DTD that will be in use on the client being installed. For more information see the ai_manifest(4) man page.
Validated manifests are output to stdout. Errors are listed to stderr.