// Read the model using JiBX
is = file.getContents();
final ContentInput content =
new BinaryContentInput(is);
final InternalPolicyFactory policyFactory =
InternalPolicyFactory.getInternalInstance();
// Don't use schema validation, as we may have a partial layout,
// with missing attributes and empty formats.
// todo: re-enable validation by avoiding this overload once we have
// sorted out validation.
final JiBXReader reader =
policyFactory.createDangerousNonValidatingPolicyReader();
return (PolicyBuilder) reader.read(content, file.getName());
} catch (CoreException e) {
throw new PolicyFileAccessException(e);
} catch (IOException e) {