ValidationConstants.ERROR_METADATA_XPACKET_DEPRECATED,
"encoding attribute is forbidden"));
}
// Call metadata synchronization checking
lve.addAll(new SynchronizedMetaDataValidation()
.validateMetadataSynchronization(document, metadata));
// Call PDF/A Identifier checking
lve.addAll(new PDFAIdentificationValidation()
.validatePDFAIdentifer(metadata));