Validation of XML files
XML ValidatorBuddy offers a convenient way to validate one or multiple XML files. At first you need to select the folder containing the files to validate. It is possible to type the path directly into the Folder-browse control or to use the folder-button which displays a dialog to select the folder. The Folder-browse control is located on the left-top corner of the File Explorer tab as you can see on the screenshot below:
The application reads the folder content and displays a list of files in the File Explorer window. At the same time all XML files are scanned in the background for XML related information like namespaces, W3C schema or DTD references and digital signatures. Those details are shown in the right-hand columns of the list. This way it is not necessary to open each file to know if a schema or DTD is already assigned to the document. The picture below shows a typical folder list in XML ValidatorBuddy:
To validate one or multiple files it is necessary to select them in the File Explorer view. There are also "Select all" and "Invert selection" commands available to select all files and to invert the current selection (to select those files which are currently not selected). The selected XML documents can be validated by simply pressing F8 or by choosing the "Validate" command from the XML menu or from the File Explorer context menu.
All files with a W3C schema or DTD are validated. Please note that you need to have the free AltovaXML Community Edition parser installed to validate a file against a DTD and if you want to validate W3C schema files (see also Schematron setup on how to install AltovaXML). The results of the validation are displayed in a separate dialog:
Each files which has already been validated gets a valid or invalid icon in the File Explorer view. If a file is afterwards modified by any editor or external application the validation status is updated automatically. On hoovering over an invalid validation status icon the reported errors are shown as you can see here:
If you want to set a specific schema for validation please use the "Validate against a specific Schema..." command from the XML menu or the File Explorer context menu.
Continue with File Explorer
Go back to Index