You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Layout: report a PDF/UA-1 claim the document breaks (no title, no language) under strict mode #748
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
PDF/UA-1 without a title and without a language: one Error each, with the clause in the message; strict refuses;
without strict the bytes are unchanged.
Activity
test: cite #748 and #749 for the UA-1 title and language cases and th…
test: pin file structure and metadata output to its ISO clauses (#744)
docs: count the metadata checkpoint as the gap G5 records
Tim81 commentedon Nov 29, 2026
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)