// Add the layout duplicate name supplementary validator.
validator.addSupplementaryValidator(
MCSNamespace.LPDM.getURI(),
LayoutSchemaType.LAYOUT.getName(),
new DuplicateNameValidator());
// Validate the policy using the root element.
validator.validate(node);
}
} catch (JDOMException e) {