Forum Bugs

--fail-safe not working with --pdf-xmp or --attach-data

bohwaz
If I use the following command:

prince --http-timeout=3 --pdf-profile="PDF/A-3a" --pdf-xmp=invalid.xmp --attach-data=invalid.xml --fail-safe -o b.pdf DEV-2026-1.html


Prince correctly identifies the issue and says fail-safe has been triggered, but in fact the "b.pdf" file is created without the XML or the XMP:

prince: DEV-2026-1.html: warning: unsupported properties: font-feature-settings
prince: invalid.xml: error: can't open input file: No such file or directory
prince: invalid.xmp: error: can't open input file: No such file or directory
prince: error: PDF generation triggered fail-safe option


Thank you :)