Woodstox : Exploring Validation Errors Using ValidationProblem
Overview In this article, we shall demonstrate how details of validation error can be obtained by using ValidationProblem class. Create the employee.dtd as shown below. It defines the employee element that contains id, name and salary sub-elements. Create invalidEmployee.xml as shown below. Note that it is not in accordance with employee.dtd described above as it … Read more