schema: computed dimensions via expanded ODD chaining (#45) - #44
Merged
Merged
Conversation
12 tasks
duncdrum
force-pushed
the
dp-dimensions-normalized
branch
from
August 31, 2026 11:22
132b444 to
96b2fc6
Compare
Ignore local tooling paths (.worktrees/, .codacy/, .cursor/, etc.) and keep them out of the packaged schema xar. Co-authored-by: Cursor <cursoragent@cursor.com>
Add dimensions @subtype='normalized' with parallel-block exemplum. Add layout att.typed (type='catalogue', subtype='normalized') and exemplum. Expand adds parallel siblings for machine-readable @quantity values; design rationale and fixture checklist in #45. Co-authored-by: Cursor <cursoragent@cursor.com>
duncdrum
force-pushed
the
dp-dimensions-normalized
branch
from
August 31, 2026 12:15
01d33d4 to
b4b97eb
Compare
duncdrum
marked this pull request as ready for review
August 31, 2026 13:17
duncdrum
marked this pull request as draft
August 31, 2026 13:36
TEI ODD sch:report content cannot contain doc elements (att/gi). Co-authored-by: Cursor <cursoragent@cursor.com>
duncdrum
marked this pull request as ready for review
August 31, 2026 13:57
Contributor
Author
|
ok this should be workable for a new expanded schema |
This was referenced Aug 31, 2026
Closed
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Schema changes for computed physical dimensions and layout encoding. Design rationale and full example set: #45.
Decision: expand adds parallel sibling blocks marked
@subtype='computed'(same physical@typeondimensions;layoutuses@type='catalogue'). Machine-readable values live on emptyheight/width/depth/dimchildren (@quantity,@unit, optional@atLeast/@atMost) or computedlayout/@writtenLines. Cataloguer blocks are unchanged.ODD chaining: expand-only rules live in
tei-betamesaheft-expanded.xml(chained from compiled authoring ODD). Authoringtei-betamesaheft.xmlkeeps cataloguer constraints and emits a nonfatal schematron warning if@subtypeappears ondimensionsin source files.Rejects: in-place text rewrite (BetMasWeb#104),
dimensions[@type='computed'], duplicateheightin one block,@corresplinkage.Changes
tei-betamesaheft-expanded.xml—dimensions@subtype='computed'+ exemplum;layoutatt.typed+ exemplum (refs TEI design: computed physical dimensions (parallel @subtype siblings) #45)tei-betamesaheft.xml— nonfatal warning if@subtypeondimensionsin source; open@subtypedatatype only so warning can fire without RNG hard-fail.gitignore/build.xml— align with sibling reposPrerequisites before expand deploy
viewItem.xqmmust skip[@subtype='computed']blocks before display (otherwise duplicate dimensions/layout in MS view).Not in this PR
collection.xconfretypeTest plan
normalized→computedpending issue update)