Configuring Sun Master Indexes (Repository)

Validating XML Files

Sun Master Index includes one XML schema definition (XSD) file for each configuration file. Before saving changes to a file, be sure to validate it against the XSD file to make sure no dependencies have been broken during modification.

ProcedureTo Validate XML Syntax

  1. After you save any changes to a configuration file to the Repository, keep the file open and right-click in the text of the file.

  2. On the context menu that appears, click Check XML.

  3. A message appears indicating the status of the validation and, if there were errors, includes a list of errors.

  4. Fix any errors found in the file and revalidate.

ProcedureTo Validate Against the Schema

  1. After you save any changes to a configuration file to the Repository, right-click that file in the project Explorer.

  2. On the context menu that appears, click Validate.

  3. A message appears indicating the status of the validation and, if there were errors, includes a list of errors.

  4. Fix any errors found in the file and revalidate.