Skip to content

PDF/A rules left to veraPDF #533

Open

Description

@michaelstonis

Parent

Post-v1 conformance gap recorded by #241 (conformance map closure for v1).

What to build

The PDF/A rules PdfAChecker leaves to veraPDF today, so a lenient save can claim conformance a validator then refuses:

  • PDF/A-2 and PDF/A-3: 6.1.7.1-3 and 6.1.7.2-1 on every stream, not only the ones the check walks; failing-case tests for 6.1.10 and 6.2.9; 6.2.2-2 beyond resource lookups; 6.2.5-5/-6; image bit depths and JPEG 2000 data (6.2.8-4/-5, 6.2.8.3); font program internals of fonts from read files (6.2.11.2, 6.2.11.6); signatures (6.4.3); whether embedded files are PDF/A (6.8); the remaining optional content rules (6.9).
  • PDF/A-4: the corresponding rules (6.1.6, 6.1.9, 6.2.5-5/-6, 6.2.7.1-4/-5 and 6.2.7.3, 6.2.8, 6.2.10 font internals, 6.4, 6.10).

Each rule reports by its veraPDF rule identifier, as the existing ones do.

Spec clauses

ISO 19005-2, ISO 19005-3 and ISO 19005-4, cited by veraPDF rule identifiers

Conformance rows

  • iso-19005-2.md: 6.1.7, 6.1.10, 6.2.2, 6.2.5, 6.2.8, 6.2.9, 6.2.11, 6.4, 6.8, 6.9
  • iso-19005-3.md: 6.2.11
  • iso-19005-4.md: 6.1.6, 6.1.9, 6.2.5, 6.2.7, 6.2.8, 6.2.10, 6.4, 6.10

Acceptance criteria

  • Each rule has a failing-case test and its identifier matches veraPDF's.
  • The rows listed above updated.

Activity

  1. added this to the Post-v1 milestone on Nov 13, 2026
  2. hadesloc commented on Nov 15, 2026

    @hadesloc

    Three small gotchas from wrapping veraPDF programmatically across PDF/A-2b, PDF/A-3b, and PDF/UA-1 CI suites:

    1. Always invoke with explicit --flavour (e.g. 2b, 3b, ua1) and --format json rather than auto-detect; malformed or missing XMP extension schemas otherwise fall back unexpectedly or skip profile checks.
    2. Run a lightweight xref/stream pre-flight (qpdf --check or pikepdf) before invoking veraPDF on arbitrary external files so malformed /ObjStm or truncated trailers return a clear structural error rather than an opaque parser failure.
    3. Bound JVM heap (-Xmx1536m) per concurrent runner when running batch conformance suites on multi-hundred-page PDFs.

    If helpful as a cross-check fixture/schema reference while closing out the remaining ISO 19005 rules, our MIT-licensed pdfa11y.pipeline.validate wrapper parses veraPDF JSON rule outcomes per clause/check: https://github.com/hadesloc/pdfua-ada-checker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:writingArea: writingtaskUnit of work from the task template

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions