InputStream xmlIs = openStream("xml/loginconfig/user-roles.xml");
SchemaBinding schema = XsdBinder.bind(xsdIs, null);
schema.setStrictSchema(true);
schema.setIgnoreUnresolvedFieldOrClass(false);
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
Users users = (Users) unmarshaller.unmarshal(xmlIs, schema);
assertNotNull(users);
assertEquals(6, users.size());
}