use jaxb to validate xml against schema because gives better error messages