I want to validate an XML document against its Schema and was wondering
what was the best way to go about this. Would it be to model the document
using EMF, to convert the document into Java Objects using JAXB, simply to
use DOM or is there any other methods.