Repository navigation
Description
The documentation slice of #474, which needs no new public API, no change to emitted bytes and no new refusal.
#474 reports that Conformance stamps a pdfaid or pdfuaid claim on a document that PdfPreflight then rejects. The fix the maintainer ruled out for a patch (a new notify-and-continue channel) is tracked in #474, which moved to v3.0. What a patch can do is make the members say plainly that the stamp is unconditional.
What the source says today
Read from origin/main at cbbf7d5.
Layout/Document.cs,Document.Conformanceremarks already say: "Setting a level does not run the rules. A document can declare PDF/A and still fail a preflight; the stamp is written either way (Conformance: a PDF/A or PDF/UA claim is stamped on a document the library's own preflight rejects #474)." It does not say which input causes the common failure, and it cannot citePdfPreflightwith acrefbecauseVellumPdf.Layoutreferences onlyVellumPdf.Kernel.Kernel/Document/PdfDocument.cs:126-132,PdfDocument.Conformancesummary: "When non-None: XMP pdfaid schema is included, /ID is written, and /MarkInfo /Marked true is set." It has no sentence saying the level is a claim that is not checked.Kernel/Document/PdfConformance.csdoes say it: thepdfaidvalues "are a claim, not a proof", and "the unembedded Standard-14 faces are not valid in PDF/A". That is the enum's type-level remark; neither property points to it.
Change
PdfDocument.Conformance: add the same boundary the Layout member has. Name what is not checked atSaveand that the file is written regardless.Document.ConformanceandPdfDocument.Conformance: name the case Conformance: a PDF/A or PDF/UA claim is stamped on a document the library's own preflight rejects #474 measured, an unembedded Standard-14 font under a PDF/A level, and say thatVellumPdf.Conformance'sPdfPreflight.Validateis how a caller finds out. Plain text, not acref.- Check the
PdfUA1value's remark for the same gap.
Follow the repository's boundary-documentation rule, and run the avoid-ai-writing pass over anything touched. Do not add a claim about what the default font is or what a validator returns without measuring it.
Not in scope
The warning channel, omitting the identification, refusing Decorative together with AltText, and any change to what Save writes. All of those are in #474 or #484.
Activity