How to validate Custom Properties.xml

When Enterprise Vault is installed, customproperties.xsd is placed in the Custom Filter Rules folder. This is the XML schema for validating Custom Properties.xml.

The schema file must be referenced in the CUSTOMPROPERTYMETADATA entry at the start of the Custom Properties.xml file, as follows:

<?xml version="1.0"?>
<CUSTOMPROPERTYMETADATA xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="customproperties.xsd">

If the file contains non-ANSI characters, ensure the correct encoding is set on the first line and save the file using the appropriate encoding.

The XML is validated when the associated task starts processing messages. If anything is invalid, the task stops and you must correct any errors before restarting the task.

To avoid disrupting tasks because of syntactic errors, it is a good idea to validate your XML file before it is accessed by the tasks. You could use a third party tool, such as the graphical XML Editor in Liquid XML Studio:

http://www.liquid-technologies.com/XmlStudio/Free-Xml-Editor.aspx

When using the tool, specify the namespace as:

x-schema:customproperties.xsd

Note:

All the XML tags and predefined values shown in upper case in this document are case-sensitive and must be entered as upper case in the file. Values entered should also be treated as case-sensitive.