Extensions.php
Table of Contents
Classes
- Extensions
- An extension named after a structure of the target version, where the target has that
structure and the source could not write it so, is that structure: it is how the conversion
the other way writes it (7.0 → 5.5.1: _NO, _SDATE, _CREA, _CROP, _SCHMA under HEAD, _PHRASE
under DATE, _FAMC @VOID@; 5.5.1 → 7.0 → 5.5.1: _NOTE and _SOUR under TRAN; 5.5.1 → 5.5: _EMAIL, _FONE, a second REPO of a source as _REPO,
SEX U as _SEX U), and it gets its tag back. Its substructures are already in the target's
form, unless a step before of the chain made it (Context::restored()). The source could not write it so when it has no such structure there, the value does
not fit the source's (an enumeration value it does not list) but fits the target's, the
source allows no more of them there, it is empty (5.5.5 and 7.0 have no empty structure), or (to
7.0) it points to @VOID@ or names its family so (_SLGC with FAMC @VOID@); and its value fits the
target's (a 5.5 _SOUR with a text under NOTE stays: 7.0 NOTE.SOUR is a pointer). Any other extension
(_DATE under BIRT) stays: a program wrote it so on purpose. The last rule of the walk but
Structures: it sees the tags the other rules wrote.