IsWellFormed

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 >

IsWellFormed

Returns the result of checking the XML document or DTD document for well-formedness. The type of document to check is specified by the type parameter, which takes an ENUMWellformedCheckType 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 isWellFormed(ENUMWellformedCheckTypee type)

 

Java

 

Signature: public boolean isWellFormed(ENUMWellformedCheckTypee type)

 


© 2019 Altova GmbH