Skip to content

Fixture coverage complete; lutaml-lml-based validation; atlas deep links - #54

Merged
ronaldtse merged 1 commit into
mainfrom
chore/fixtures-parser-anchors
Aug 22, 2026
Merged

Fixture coverage complete; lutaml-lml-based validation; atlas deep links#54
ronaldtse merged 1 commit into
mainfrom
chore/fixtures-parser-anchors

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Closes punch-list items 4–6 and 8:

  • 4 — Fixture coverage completed: quote authorship (quote-author), sourcecode callouts + annotations, ruby pronunciation, citation (eref + bibitemid) with a document-level references section and bibliographic item — the twin fixtures now exercise every construct family
  • 5 — -no-id profile audit: all 14 serialization-profile twin bodies carry the relaxed content models in exact parity with their main bodies (verified programmatically; no fixes needed)
  • 6 — Deep links: every type-card header on a plate page has a copyable #Type anchor (hover ¶), index chapters addressable as #chapter-<tier>
  • 8 — Parser-based validation: the YAML validator extracts the model via Lutaml::Lml::Pipeline.call (classes, attributes, enums) instead of regexes — the same parser that renders the diagrams, so validator and renderer cannot drift; rake task pinned to the bundled parser via -rbundler/setup

Test plan

  • rake check + rake fixtures green (both twins, all new constructs)
  • CI green

Fixtures now exercise quote authorship, sourcecode callouts and
annotations, ruby pronunciation, citation references with a references
section and bibliographic item, and document-level references. The
serialization-profile audit confirms all 14 -no-id body twins carry the
relaxed content models in parity with their main bodies.

The YAML validator extracts the model through lutaml-lml itself
(Pipeline.call: classes, attributes, inheritance) instead of regex
parsing - same parser as the renderer, no drift; the rake task runs it
inside the bundler environment so the pinned parser is used. The atlas
gains copyable deep links: every type card header on a plate carries
an anchor, and index chapters are addressable.
@ronaldtse
ronaldtse merged commit 5a8c132 into main Aug 22, 2026
7 checks passed
@ronaldtse
ronaldtse deleted the chore/fixtures-parser-anchors branch August 22, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant