A validation error occurred when validating the instance document

Everything works fine, but about detailed errors in the case of the failed validation? Destination property to save the task execution outcome into a file. Logging produces the following message: Task failed to validate "A validation error occurred when validating the instance document.".

2) Also, I turned on all possible events for logging. As end result, it is impossible to pinpoint the problem with the xml file and, consequently, fix the issue.

a validation error occurred when validating the instance document-59

The text reader is used to walk through the nodes of the document whereas the validating reader examines and validates each single piece of XML according to the requested validation type.Although the Xml Validating Reader class inherits from the base class Xml Reader, it really implements internally only a very small set of all the required functionalities.A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against.Unlike errors, warnings do not throw an exception if there is no validation event handler. Indicates a validation error occurred when validating the instance document.You can use the Xml Validating Reader class to validate entire XML documents as well as XML fragments.

The class works on top of an XML reader—typically an instance of the Xml Text Reader class.As you can modify the content of the instance editor, different instances can be tested and validation error messages analysed.The example's main() function creates the standard instance of QApplication.If no validation event handler has been created, errors throw an exception.Indicates that a validation event occurred that is not an error.Because the class works on top of an existing XML reader, many methods and properties are just mirrored.