Skip to content

Docs: three stale comments contradict the code #185

Closed

Description

@Tim81

Three comments no longer describe what the code does. All are cheap to fix and all mislead a reader who
trusts them.

  1. src/VellumPdf.Reader/PdfReader.cs:13 and :24 — the <exception> documentation on both Open
    overloads still lists cross-reference streams as unsupported. They have been supported since Reader A1: xref streams + hybrid xref #95;
    the only feature that actually throws UnsupportedPdfFeatureException today is /Encrypt
    (XrefParser.cs:126-128).

  2. src/VellumPdf.Conformance/Rules/Structure/EmbeddedFilePdfaRule.cs:190 — says
    "ConformanceCatalog marks §6.8-5 as Partial". The catalog marks it OutOfScope
    (ConformanceCatalog.cs:309).

  3. src/VellumPdf.Conformance/Rules/RuleRegistry.cs:214 — the banner
    // Batch UA batch (this PR) — §5-3/5-4/5-5, §7.18.1-3, §7.18.4-2, §7.18.6.2-1/-2: is a breadcrumb
    from a PR that landed long ago. "this PR" no longer refers to anything.

Fold these into whichever v2.1 PR next touches each file rather than spending a PR on them alone.

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

Metadata

Metadata

Assignees

Labels

area/readerdocumentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions