MsoCustomXMLValidationErrorType Enumeration

Indicates how validation errors will be cleared or generated.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum MsoCustomXMLValidationErrorType

Member nameDescription
msoCustomXMLValidationErrorSchemaGeneratedSpecifies that where there is a non-empty schema collection available for the custom XML part and validation is in effect, any changes to the part will cause validation errors.
msoCustomXMLValidationErrorAutomaticallyClearedSpecifies that the error will clear itself whenever any change is made to the node it is bound to.
msoCustomXMLValidationErrorManualSpecifies that the error will not be cleared until the CustomXMLValidationError.Delete() method is called.

References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file.