Skip to content

Header variables, R2010 to R2018 #130

Closed

Description

@DrunkOnJava

Spec: ODA Open Design Specification for .dwg files v5.4.1, §9.

Scope

The R2010, R2013 and R2018 additions.

State on main (2026-10-21)

Not read.

Acceptance

  • Ends on the boundary on every R2010+ file
  • Values equal the DXF $HEADER

Parent: #125

Activity

  1. added
    type:spec
    area:header-vars
    release:R2010
    release:R2013
    release:R2018
    priority:P1
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Status (main 2bab7b2; CI run 40503137263, artifact corpus-measurement, header-probe.log): the body's "Not read" is stale; every AcDb:Header variable is decoded from one table, R14 to R2018 (#302, #126). Both acceptance items hold for R2010 to R2018:

    Release Drawings closed Slots each Agree Differ by a stated rule Disagree Unknown slots DWG-only DXF-only
    R2010 8 of 8 309 2,109 43 0 232 of 2,472 328 48
    R2013 8 of 8 311 2,103 57 0 240 of 2,488 336 48
    R2018 4 of 4 (2 have a twin) 311 525 15 0 120 of 1,244 84 12

    Every section passes both sentinels, the size, the CRC and every stream boundary, with the padding after the last slot all ones. On R2018 empty.dwg and export_sample.dwg have no DXF twin, so the frame and boundary alone are measured. "Differ by a stated rule" is the twin being a later save, a per-save GUID, case-insensitive names and the like, listed in ARCHITECTURE.md; "unknown" slots are §9's own, named UNKNOWN_<code>_<n>.

    I have left this open because it tracks a section of docs/spec-coverage.md, whose §9 row is closes (R13 is unmeasured) and moves only in a PR with evidence. On the written acceptance it can close.

  3. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Closing on its written acceptance, as measured in CI run 40503137263 on main 9292ba3 (header-probe.log in the corpus-measurement artifact). The triage comment above has the numbers: every pinned drawing of these releases closes its header variables with 0 disagreeing values against AutoCAD's DXF export. The docs/spec-coverage.md row for §9 is refreshed in its own PR with the same evidence.

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:header-varspriority:P1release:R2010release:R2013release:R2018type:spec

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions