corrently implement xmp exception
This commit is contained in:
@@ -178,7 +178,7 @@ public class PDFValidatorTest extends ResourceCase {
|
||||
actual = pv.getXMLResult();
|
||||
|
||||
assertEquals(true, actual
|
||||
.contains("<error type=\"10\">XMP Metadata: Could not parse XMP metadata</error>"));
|
||||
.contains("<error type=\"28\">XMP Metadata: Could not parse XMP metadata (XML invalid)</error>"));
|
||||
} catch (final IrrecoverableValidationError e) {
|
||||
// ignore, will be in XML output anyway
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user