Validating the File Format

The PModel file must be validated before the elements contained within PModel file are imported. Therefore, the import validates the file format before loading the elements from the PModel file. The validation of the PModel file is called XSD validation. The file format validation verifies the following:

If there are validation errors, it appears in the Result window. It also stops the import and nothing is loaded in the database.

You can also use the PModelValidator utility to validate the file format of the PModel file. See PModelValidator Utility for more information on using the PModelValidator.

If the file format verification is successful, the PModel file is checked for logical errors, such as setting Owner or Inherits attribute to a Presentation GUID that is not allowed in a PModel file. This process is called Element verification. If any errors are detected during element verification, import is stopped after it finishes.