I am trying to create a validation logic using the jsonSchemaValidator API -
http://fge.github.com/json-schema-validator/stable/index.html
All works fine, except in one situation
when the validation fails and it create a validation report, the messages in that report remains forever, which is forcing the Successful validation to fail, when I do this
bool = validationReport.isSuccess();
even though I instantiate the validation report object every time, it still has the error in it. Can anybody please let me know what is the problem, or how I can remove those messages.
Thanks.