diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-21 12:05:32 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-22 15:11:00 -0400 |
| commit | c7ce6760e78c33db52ba6fb8c61a2929b3c65117 (patch) | |
| tree | 65347813e28767f04b726b9744162a82f75de318 /src/sisudoc/outputs/io_out/sqlite_ocda_db.d | |
| parent | test db: multilingual database test (diff) | |
check: languages of a document, against each other
Each language leaves a profile as it is abstracted: how many numbered
objects it has, and what kind of object each ocn is. The comparison is
against the language the manifest names first.
A count difference is reported alone. Past the first dropped or added
object every ocn names something else, and a kind comparison after it
would print hundreds of lines that are all the one fault.
The languages of a document share their object numbering, this being
the basis of ocn citation in a multi-language document: an ocn
names the same object in every language. Nothing enforces it.
It holds where translations follow the source object for object, and
stops holding otherwise (e.g. the moment a translator drops a paragraph,
merges two, or turns a heading into a sentence, at which point the
numbering no longer matches).
An ocn is not unique: a poem and its first verse share one, by design.
So the walk is in document order, the section order the .ssp is
written in rather than the abstraction's key order, which an
associative array does not promise, and the first object at an ocn is
the one recorded.
(assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/outputs/io_out/sqlite_ocda_db.d')
0 files changed, 0 insertions, 0 deletions
