Altova XMLSpy 2023 Enterprise Edition

Method: IsValid (strError as Variant) as Boolean


Return Value

True if the document is valid, false if not. To call IsValid(), the application GUI must be visible. (If you wish to validate without the GUI being visible, please use Altova RaptorXML Server.)



IsValid validates the document against its associated schema or DTD. strError gives you the same error message as when you validate the file within the GUI.





The object is no longer valid.


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


Unable to validate file.



© 2016-2022 Altova GmbH