validate credential against XSD schema instead of RelaxNG