Repository navigation
v0.3.3
Stirling Office Convert 0.3.3 fixes attachment and metadata preservation when converting PDF to PDF/A.
PDF/A preservation
- Keep eligible attachments referenced only by associated-file arrays or annotations, including when their original annotation is removed.
- Normalize legacy DOS, Mac and Unix embedded-file references without losing payload bytes. Preserve distinct file variants and duplicate filenames.
- Retain valid predefined XMP properties on pages, images and fonts instead of discarding the entire metadata packet.
- Verify attached PDFs against their actual PDF/A conformance for PDF/A-2 and PDF/A-4 output, rather than trusting their declarations.
- Fail safely when a retained attachment cannot be decoded or verified within the resource limits. The file-based API leaves an existing output unchanged instead of returning an empty or missing payload.
- Reject oversized non-PDF attachment variants before applying the PDF verification limit; retain safe refusal for oversized genuine PDFs.
The selected profile's restrictions still apply: PDF/A-1 excludes attachments, PDF/A-2 and base PDF/A-4 require compatible PDF/A attachments, and PDF/A-3 supports arbitrary attachment formats. These fixes preserve data already embedded in the input PDF.
Packaged CLI
- Keep the validator's required runtime classes in the distributed CLI JAR.
- Add packaged-JAR tests to the standard check gate.
The attached CLI JAR requires Java 25 or later. SHA256SUMS.txt contains its checksum.
Verification
- Linux and Windows CI, dependency licences, build, Javadocs and local Maven publication passed.
- Added 65 PDF/A regression cases and three packaged-CLI cases.
- A generated matrix of 176 cases with 46 payload samples across all nine supported profiles returned zero lost eligible payloads and zero veraPDF output failures.
Changes: #151
Full changelog: v0.3.2...v0.3.3