Document.IsValidEx

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > Application API > Interfaces > Document >

Document.IsValidEx

Method: IsValidEx (nXSDVersion as SPYValidateXSDVersion, nErrorLimit as int, nErrorFormat as SPYValidateErrorFormat, out strError as Variant) as Boolean

 

 

Return Value

True if the document is valid, false if not.

 

 

Description

IsValidEx validates the document against its associated schema or DTD.

 

In parameters:

nXSDVersion which is an enumeration value of SPYValidateXSDVersion that selects the XSD version to validate against.

nErrorLimit which is an integer. Values must be 1 to 999.

nErrorFormat which is an enumeration value of SPYValidateErrorFormat that selects the XSD version to validate against.

 

Out parameter:

strError is the error message, and is the same as that received when validating the file within the GUI.

 

 

Errors


1400

The object is no longer valid.


1407

Invalid parameter or invalid address for the return parameter was specified.


1408

Unable to validate file.

 


(C) 2018 Altova GmbH