corrently implement xmp exception

This commit is contained in:
Jochen Stärk
2026-01-08 14:33:16 +01:00
parent 3f433c6868
commit 3d7b3cd252
2 changed files with 19 additions and 23 deletions

View File

@@ -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
}