// We require default namespace declarations to be replaced
// with a prefix binding, the DefaultNamespaceAdapterFilter will
// do this for us.
builder.setXMLFilter(new DefaultNamespaceAdapterFilter(
MCSNamespace.LPDM.getPrefix()));
builder.setFactory(new LPDMJDOMFactory());
Document document = builder.build(file);
result = document.getRootElement();
}
return result;