Skip to content

Layout: report a PDF/UA-1 claim the document breaks (no title, no language) under strict mode #748

Backlog

Description

@Tim81

Why

The v2.4 slice of #474 (which stays in v3.0 for the general case). A document can carry a PDF/UA-1 claim that its own
content breaks, and the file is then invalid under the claim it states. Measured in the v2.4 conformance audit (#744):
under a PDF/UA-1 claim the save stamps the claim and writes no dc:title when the caller set no title (ISO 14289-1
7.1; and DisplayDocTitle), and no Catalog /Lang when the caller set no language (7.2). The v2.4 audit policy puts
output that is invalid under a claimed conformance in v2.4.

Proposal

Under a conformance claim, Layout reports each requirement of that claim the document is known to miss at save as an
Error through the diagnostics channel (#607), so StrictDiagnostics refuses the save; without strict mode the save
behaves as today (the 2.x rule; default refusal stays with #474 in 3.0). Start with the cases measured: PDF/UA-1
without a title, and without a language. Each diagnostic names the clause. The Kernel API documents the same cases in
the claim's "Do not" paragraph, naming 3.0.

Acceptance

Related: #474, #607, #744, #614.

Activity

  1. added
    bug
    area/layout
    on Nov 27, 2026
  2. Tim81 commented on Nov 29, 2026

    @Tim81
    OwnerAuthor

    The ISO audit (docs/conformance-v2.4.md) has skipped tests that wait on this issue; the fix removes their skip and makes them pass.

    • Iso14289_1_7_1_PdfUA1RefusesOrCarriesATitleAndALanguage (group G5)
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/layoutbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions