IsValid

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > Server API Reference > Interfaces/Classes > XMLValidator > Methods >

IsValid

Returns the result of validating the XML document, schema document, or DTD document. The type of document to validate is specified by the type parameter, which takes an ENUMValidationType literal as its value. The result is true on success, false on failure. If an error occurs, a RaptorXMLException is raised. Use LastErrorMessage to access additional information.

 

COM and .NET

 

Signature: boolean IsValid(ENUMValidationType type)

 

Java

 

Signature: public boolean isValid(ENUMValidationType type)

 


© 2019 Altova GmbH