updatex xmpparser settings
This commit is contained in:
@@ -696,6 +696,7 @@ public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporte
|
||||
if ((meta != null) && (meta.getLength() > 0)) {
|
||||
try {
|
||||
DomXmpParser xmpParser = new DomXmpParser();
|
||||
xmpParser.setStrictParsing(false);
|
||||
return xmpParser.parse(meta.toByteArray());
|
||||
} catch (XmpParsingException e) {
|
||||
throw new IOException(e);
|
||||
|
||||
@@ -111,6 +111,7 @@ public class ZUGFeRDExporterFromPDFA implements IZUGFeRDExporter {
|
||||
if (metadata != null) {
|
||||
try {
|
||||
DomXmpParser xmpParser = new DomXmpParser();
|
||||
xmpParser.setStrictParsing(false);
|
||||
XMPMetadata xmp = xmpParser.parse(metadata.createInputStream());
|
||||
|
||||
PDFAIdentificationSchema pdfaSchema = xmp.getPDFAIdentificationSchema();
|
||||
|
||||
Reference in New Issue
Block a user