aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/meta/ocn_align.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/ocda/meta/ocn_align.d')
-rw-r--r--src/sisudoc/ocda/meta/ocn_align.d9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sisudoc/ocda/meta/ocn_align.d b/src/sisudoc/ocda/meta/ocn_align.d
index 9f9fdaf..e93f12a 100644
--- a/src/sisudoc/ocda/meta/ocn_align.d
+++ b/src/sisudoc/ocda/meta/ocn_align.d
@@ -163,10 +163,11 @@ template spineOcnAlign() {
foreach (obj; doc.abstraction[section]) {
int _ocn = obj.metainfo.ocn.to!int;
if (_ocn <= 0) { continue; }
- /+ ↓ first in document order wins. An ocn is not unique: a poem and
- its first verse share one, by design, so the same number names
- two objects and the first of them is the one both languages
- will have reached first.
+ /+ ↓ first in document order wins. Until format spec:2.1 a (verse) ocn
+ was not unique: a poem carried the ocn of its last verse, so the
+ same number named two objects. A poem now carries 0 and is passed
+ over above; the rule stays, and costs nothing, for an artefact
+ written before spec:2.1.
+/
if (_ocn !in _p.kinds) { _p.kinds[_ocn] = _kindOf(obj); }
_p.ocn_count += 1;