Skip to content

Re-verify SummaryInfo, Preview, AppInfo, FileDepList, Classes and Handles on every release #137

Open

Description

@DrunkOnJava

Spec: ODA Open Design Specification for .dwg files v5.4.1, §10, §13, §14, §16, §17, §23.

Scope

These sections are read; check every field on every corpus file of every release in CI, including the pre-R13C3 preview and AppInfo's two layouts.

State on main (2026-10-21)

Read; checked on the local corpus.

Acceptance

  • Checked in CI on every corpus file
  • Values that also appear in DXF agree with it

Parent: #131

Activity

  1. added
    type:test
    area:metadata
    priority:P3
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 26, 2026

    @DrunkOnJava
    OwnerAuthor

    AcDb:AppInfo is misread on R2007+ (§16), measured 2026-10-26 on the public corpus #225 pins. cargo run --release --example dump_metadata -- <file>:

    File version as read product as read
    nextgis arc_2007.dwg, arc_2013.dwg (AutoCAD 2016) 0.1.49.0.0 킸◰힡䦓者鍊漨ﶡrAutodesk DWG. This file is a mation name =\"AutoCAD\" build_version=\"M.49.0.0\" registry_version=\"20.1\" …
    ACadSharp sample_AC1032.dwg (AutoCAD 2025) utodesk DWG. This file is a Trusted DWG last saved by an Autodes sion="25.0" install_id_string="ACAD-8101:409" …
    ACadSharp geoloc.dwg (AutoCAD 2023) same as above version=\"24.2\" install_id_string=\"ACAD-6101:409\" …

    The raw UTF-16 strings in each file are intact: the comment is Autodesk DWG. This file is a Trusted DWG last saved by an Autodesk application or Autodesk licensed application. and the product XML starts <ProductInformation name ="AutoCAD" build_version="…". So the reader decodes binary bytes as text (the CJK run on nextgis looks like one of §16's 16-byte checksum fields read as UTF-16) and starts each later string at the wrong offset, by a different amount per file. The values are plausible-looking garbage rather than an error, so nothing in CI catches it today. The build strings quoted in tools/corpus/pins.tsv come from the raw bytes, not from this reader.

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:metadatapriority:P3type:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions