Skip to content

Structure tree and marked content #75

Closed

Description

@michaelstonis

Parent

#33 Spec: Broadside v1

What to build

A consumer walks a tagged document's structure tree and maps structure elements to the marked content they own.

Spec clauses

ISO 32000-2 §14.6–§14.8; ISO/TS 32005

Acceptance criteria

  • StructTreeRoot, structure elements, K arrays with MCIDs, MCRs and OBJRs, ParentTree, IDTree and ClassMap resolve.
  • Role maps and structure namespaces (PDF 1.7, PDF 2.0, MathML, custom) resolve standard types per ISO/TS 32005.
  • Attributes by owner are typed for Layout, List, Table and PrintField owners.
  • A new tagged minimal-corpus file (heading, paragraph, list, table) yields the expected tree.
  • Conformance rows for 14.6, 14.7, 14.8 and ISO/TS 32005 updated.

Blocked by

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. self-assigned this
    on Oct 9, 2026
  2. added a commit that references this issue on Oct 9, 2026
  3. added
    integratedMerged into the spec integration branch; closes when the integration PR merges
    and removed
    in-progressClaimed and being worked on
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:structureArea: structureintegratedMerged into the spec integration branch; closes when the integration PR mergesphase:2Phase 2ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:2C-document-modelTrack 2C-document-model

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions