public boolean analyseRights(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationError> ve)
throws ValidationException {
DublinCoreSchema dc = metadata.getDublinCoreSchema();
if (dc != null) {
ComplexProperty copyrights = dc.getRights();
if (copyrights == null || copyrights.getContainer() == null
|| copyrights.getContainer().getAllProperties().isEmpty()) {
ve
.add(new ValidationError(
ValidationConstants.ERROR_METADATA_PROPERTY_MISSING,
"CopyRights is missing from the XMP information (dc:rights) of the Font File Stream."));
return false;