Thursday, 21 January 2016

XML : Junit XML validation

I am trying to run a test case using JUNIT in eclipse. As part of this it loads a XML file. The Junit is throwing error "cannot find the declaration of element". This is a XML file given to me by another group and they mentioned they use Maps to read from this file. No dtd or xsd. So my question is there a way to bypass the validation of this xml by Junit. If this is not the issue for the error message then can you please guide me to the correct solution.

No comments:

Post a Comment