Repository navigation
docs: qualify the provenance claim veraPDF-derived rules contradict - #438
Merged
Merged
Conversation
NOTICE said this product "is not derived from, any third-party PDF or barcode library". That is not true of the conformance rules citing ISO 19005-2, which has never been held, and which were authored from veraPDF's published validation profiles rather than from the standard's text. docs/architecture.md, the conformance package README and the ConformanceCatalog remarks all say so since 50fc7c5; NOTICE was the last artifact still stating it without qualification. The evidence is not a technicality. Those rules inherited two of veraPDF's specific errors: the CIDSystemInfo Supplement comparison is inverted in the same direction its profile has it, and an exemption keyed on an embedded CMap's own name exists here with a comment saying veraPDF keys it that way. Independently derived rules do not reproduce another implementation's mistakes. The file already had the pattern for this. It names zxing-cpp and scopes it to a test-suite cross-check, never a source of implementation. veraPDF is that sentence's inverse for one standard, so it is named the same way and the difference is stated rather than implied. No source code is taken from veraPDF, and the first half of the original sentence is unchanged. The qualification is temporary: #418 tracks re-deriving those rules from the ISO text, and it comes out when that lands. NOTICE is not packed into any package; PackageReadmeFile is the only file the projects pack. This is a repository-level statement, so nothing published changes.
Five divergences existed only in two sessions' transcripts. A conversation is not provenance, and these are the cases most likely to be silently reverted by someone reading the code and assuming the tool is right. Two are inherited from veraPDF's profiles: the CIDSystemInfo Supplement comparison and an Identity exemption keyed on an embedded CMap's own name rather than on the Encoding entry the standard names. Both are gated behind the per-rule comparison, because correcting either makes this library disagree with the profile and the id diff fails in both directions today. The second is the worse of the two, since an over-broad exemption suppresses a finding rather than raising a wrong one. One is the opposite case. FontEmbeddingRule ignores the rendering-mode-3 exemption that both the standard and veraPDF grant, so this library is stricter than both at once. It is not inherited from anywhere, and the correct pattern already exists twice in the tree. Two are prose rather than behaviour: an allow-list described as what the clause says when the clause is written as prohibitions, and a severity whose comment derives it from tool agreement when the real reason is that the clause states a recommendation. Each row says whether a reader with only this repository can confirm it. Three rest partly on a standard nobody here holds, and saying so is the point: a row that cannot be checked from a clone should not read like one that can. The file also records what the table cannot express. A diff between two implementations never surfaces a requirement both omit, and 19 of the 73 file-scoped clauses in ISO 19005-2 are checked by neither this library nor veraPDF, seven of them at the accessibility level this library advertises. Refs #418, #419, #428.
It named eng/data/iso19005-2-clauses.yml and eng/clause-coverage.py, which exist only on a branch that is not pushed and whose tests have not been verified since its rebase. Naming them made a file that is complete today read as though it were waiting on one that is not. The coverage figures stay, described as a snapshot rather than as something a clone can recompute, and the paths go back in when that work lands. Also records a rule the divergence table needs and did not state: a row carries the verdict, not the argument that produced it. "Matches 6.2.11.4.1" is a verdict; working through why it matches, clause by clause, would restate a single-user-licensed standard through the side door. One sentence per row for what the standard requires is quotation-scale; a document of them would not be. Refs #418.
The note scoped veraPDF-derived rules to "ISO 19005-2 (PDF/A-2) alone" on a condition written in the present tense: where a standard "is not held". The authoring happened in the past, and ISO 14289-1 was acquired on 2026-09-07, long after the PDF/UA-1 rules were written against veraPDF's profiles. Those rules still carry the evidence. UaCidSystemInfoRule documents CIDFont.Supplement as needing to be less than or equal to CMap.Supplement, which is veraPDF's inverted comparison, and it exempts an embedded CMap on its own /CMapName "consistent with veraPDF's exemption". Its remarks also record a "veraPDF probe" as the source of its behaviour. The divergence file added by this same branch names that rule in D1 and D2, so the note contradicted its own companion document. Key the condition on when the rules were written rather than on what is held today, name both standards, and point at both sweeps. Understating provenance is the worse failure of the two, because it is the direction nobody audits. Refs #418, #428.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTICE claimed this product "is not derived from, any third-party PDF or barcode library". That is false for the conformance rules that were authored from veraPDF's published validation profiles rather than from the standard's own text.
The rest of the tree has said so since 50fc7c5. NOTICE was the last artifact stating it unqualified.
The evidence is concrete rather than definitional: those rules inherited two of veraPDF's specific errors, the inverted CIDSystemInfo Supplement comparison and an exemption keyed on an embedded CMap's own name whose comment says veraPDF keys it that way. Independently derived rules do not reproduce another implementation's mistakes.
The file already had the pattern. It names zxing-cpp and scopes it to a test-suite cross-check, never a source of implementation. veraPDF is that sentence's inverse for the conformance rules, so it is named the same way.
No source code is taken from veraPDF. The qualification is temporary and comes out when #418 and #428 re-derive those rules from the clause texts.
NOTICE is not packed into any package, so nothing published changes.
Scope corrected in 12e524b
The first version of this note keyed its condition on the present tense, "where a standard this project validates against is not held", and concluded that veraPDF-derived rules were "ISO 19005-2 (PDF/A-2) alone".
That understates it. The authoring happened in the past. ISO 14289-1 was acquired on 2026-09-07, long after the PDF/UA-1 rules were written, and those rules still carry the same veraPDF-derived predicates:
UaCidSystemInfoRuledocumentsCIDFont.Supplementas needing to be less than or equal toCMap.Supplement, exempts an embedded CMap on its own/CMapName"consistent with veraPDF's exemption", and records a "veraPDF probe" as the source of its behaviour.docs/conformance-divergences.md, added by this branch, names that rule in both D1 and D2, so the note contradicted its own companion document.The condition now keys on when the rules were written, names both standards, and points at both sweeps.
This has to be reverted, and both issues now say so
The qualification is temporary by design. #418 and #428 each carry a closing condition requiring the qualifying sentences to come out of
NOTICEwhen the rules in their scope are re-derived from the clause texts.Leaving it in place after that would understate the project's own provenance, which is the worse of the two failures because it is the direction nobody audits. The overstatement this PR fixes was found by three reviewers and a peer session; an understatement would just look modest.
The durable version is to gate it on data rather than on memory: once rule provenance is a machine-checkable field, require the qualification to be present exactly while some registered rule declares profile-derived provenance, and absent otherwise. That field does not exist yet, so the closing conditions on those two issues are the mechanism for now.