Object readObject = null;
ContentUnmarshaller contentUnmarshaller =
new ContentUnmarshaller(expectedClass);
readObject = contentUnmarshaller.unmarshallContent(content, name);
// Check that we got what we expected, it should be if jibx is
// working correctly.
// if (!expectedClass.isAssignableFrom(readObject.getClass())) {
// throw new RepositoryException(exceptionLocalizer.format(