What is the best way to validate the contents of XML while deserializing using XStream library?
12345