Open mbunkus opened 4 years ago
Hi, my Verapdf 1.10.6 GUI seems to have an issue with the file as well :-/ Besides, please note that the Mustang command line expects a A1 (and converts to A3), with Mustang as a library you can also read A3 and write A3. ZUV of course only checks A3.
kind regards Jochen
kind regards Jochen
I'm having the same problem. Verapdf 1.12.1 says everything ok, but mustang library says not compliant. I'm using Apache FOP 2.4. How can I find out what is wrong?
`java.io.IOException: File is not a valid PDF/A input file at org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA3Factory.ensurePDFIsValidPDFA(ZUGFeRDExporterFromA3Factory.java:106) at
org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA3Factory.load(ZUGFeRDExporterFromA3Factory.java:79)
`
I used PDFBox to run the verification and output the errors. Apache FOP adds a trailer with XREFs in it. That seems to be forbidden in PDF/A-3a. I changed the generation in FOP to PDF/A1-a and then it works in Mustang.
Same problem for me. I generated a PDF/A-3b document with GhostScript which is reported as valid by ZUV / VeraPDF and pdf-online.com but rejected by the library. As for andrm it works like a charm if I generate a PDF/A-1b.
Hi, i have an question about the follow commandline: mustang-1.7.5.jar -e --source " + Datei + " --out " + XML
that Execute appears, after i open an ZUGFerd XML,
Would that also work with AdoptOpenJDK, i don't found Andy Details Information
Thank you, and sry for my english :D
Hi
Would that also work with AdoptOpenJDK, i don't found Andy Details Information
if it doesn't please file a separate bug report.
kind regards, Jochen
We have the same issue, with the attached PDF. Using version 1.7.8. of mustang.
Verapdf says its valid:
<?xml version="1.0" encoding="utf-8"?>
<report>
<buildInformation>
<releaseDetails id="core" version="1.16.1" buildDate="2020-05-12T00:43:00+02:00"></releaseDetails>
<releaseDetails id="validation-model" version="1.16.1" buildDate="2020-05-12T00:46:00+02:00"></releaseDetails>
<releaseDetails id="gui" version="1.16.1" buildDate="2020-05-12T00:59:00+02:00"></releaseDetails>
</buildInformation>
<jobs>
<job>
<item size="163575">
<name>/dev/projects/kcenter/src/main/java/MustangGnuaccountingBeispielRE-20170509_505.pdf</name>
</item>
<validationReport profileName="PDF/A-3U validation profile" statement="PDF file is compliant with Validation Profile requirements." isCompliant="true">
<details passedRules="126" failedRules="0" passedChecks="11201" failedChecks="0"></details>
</validationReport>
<duration start="1600778551182" finish="1600778551694">00:00:00.512</duration>
</job>
</jobs>
<batchSummary totalJobs="1" failedToParse="0" encrypted="0">
<validationReports compliant="1" nonCompliant="0" failedJobs="0">1</validationReports>
<featureReports failedJobs="0">0</featureReports>
<repairReports failedJobs="0">0</repairReports>
<duration start="1600778551119" finish="1600778551711">00:00:00.592</duration>
</batchSummary>
</report>
VeraPDF should be used for validation instead of PDFbox, which implements a parser compliant with the ISO-19005 specification (aka PDF/A-1) or to check compliance with PDF/A-1b: https://pdfbox.apache.org/1.8/cookbook/pdfavalidation.html
VeraPDF should be used for validation instead of PDFbox, which implements a parser compliant with the ISO-19005 specification (aka PDF/A-1) or to check compliance with PDF/A-1b: https://pdfbox.apache.org/1.8/cookbook/pdfavalidation.html
As already mentioned bilaterally I use PDFBox as validator a) for historic reasons, b) because VeraPDF is big and therefore not included in the mustang-library but only in the all-in-one-bundle mustang-validator . Please feel free to send me a PR which replaces pdfbox by verapdf in the validator version, leaving it in intact for the library and/or upstream your errors to PDFbox.
I'm looking into creating PDF/A files via LaTeX for use with Mustang's "combine PDF & XML" feature. Unfortunately the PDF/A file created by pdfLaTeX (via the
pdfx
package) cannot be used with Mustang as its validator rejects it:However, both VeraPDF & FoxIt PDF state that the file is indeed a valid PDF/A-3b file:
I'm using Mustang revision c0b199a1bd76fbaa33539d8b189114b73e5ba991, but release 1.7.4. shows the same problem.
I've uploaded the PDF here.