# Errata of OpenEik 0.4

The errata of OpenEik 0.4, each with its number, the date it was accepted, the version it was found in, the passage as it was, the correction and the patch version that applies it ([`GOVERNANCE.md`](https://gitlab.com/openeik/spec/-/blob/main/GOVERNANCE.md#errata); [Part I, 9.5](https://openeik.org/spec/0.4/foundations#9.5)).

## 0.4-E1: A material's masonry, a declared flexural strength of 0

- **Accepted:** 2 November 2026, by the steward (in the analysis application's thread: "godkänner rättelse 0.4-E1"). Proposed on 1 November 2026 by the editors, found by the analysis application's design of masonry to EN 1996-1-1.
- **Found in:** 0.4 as tagged `v0.4.0`.
- **As it was:** [`schemas/0.4/project/material-masonry.schema.json`](https://openeik.org/schemas/0.4/project/material-masonry.schema.json) held a material's `masonry.declared.fxk1` and `fxk2`, the flexural strengths, to more than 0 (`exclusiveMinimum`), as [Part II, 4.3, rule 5](https://openeik.org/spec/0.4/language#4.3) said of them. EN 1996-1-1 takes a flexural strength of 0 where a design may not rely on it (its 3.6.3), and [Part II, 4.3](https://openeik.org/spec/0.4/language#4.3) declares the values a test or a design gives, so a model could not say so.
- **Correction:** `fxk1` and `fxk2` are 0 or more (`minimum: 0`), in the schema and in Part II, 4.3, rule 5, 0 where a design may not rely on the strength. `fk` and `fvko` stay more than 0. Nothing the schema accepted before is refused. `tools/fold-schemas-0.4.mjs` applies it (its point 5), and two cases of the suite hold it, `II-4.3.5-no-flexural-strength` and `II-4.3.5-a-compressive-strength-of-0`.
- **Applied by:** 0.4.1, tagged `v0.4.1`.

## 0.4-E2: A slab's and a foundation's openings, read as its voids

- **Accepted:** 2 November 2026, by the steward (in the openEik.org thread: "ja till E2"). Found by the editors when `@openeik/tools` 0.4.1's reader was measured on a public design model whose floor slabs IFC openings void.
- **Found in:** 0.4 as tagged `v0.4.0`.
- **As it was:** [Part VIII, 2.6.3, rule 2](https://openeik.org/spec/0.4/bridges#2.6.3) took a slab's or a foundation's voids from its body alone: its top face's inner loops, or its extrusion's holes. IFC voids an element by an IfcOpeningElement (IfcRelVoidsElement), whose body a reader takes from the element's, and authoring tools write a slab's openings so; section 2.6 asks that a recognised element derive the body the file draws. A reader that read such a slab's body before its openings were cut recognised it whole, its openings lost, and one that read it after they were cut, as a mesher gives it, found no one top face and left it given. Neither derived the body the file draws, and the rule gave no way to.
- **Correction:** where openings void it and the file leaves them to be cut, as every view but a Reference View does (section 2.3, rule 4), its body is the one its representation draws before they are cut, and each opening gives it a void too: an opening whose body is an upright prism without holes, from the body's lowest height or below to its highest or above, within 1 mm, is a void of its outline in plan where it takes 1 mm² or more of the outline that neither the body's own voids nor another opening takes, and one that takes less is no void of its own. An element that another opening voids is not recognised: it stays given, where a reader that read its body before its openings were cut recognised it whole before. In a Reference View, whose bodies have their openings cut, the rule is as it was. `@openeik/tools` reads so since 0.4.1.
- **Applied by:** 0.4.2, tagged `v0.4.2`.

## 0.4-E3: The units of a project's excavation

- **Accepted:** 4 November 2026, by the steward (in the openEik.org thread: "ja till E3"). Proposed the same day by the editors, found by the analysis application, which reads the excavation for its settlement analysis (its work 101).
- **Found in:** 0.4 as tagged `v0.4.0`, and as it was in 0.2 and 0.3.
- **As it was:** [Part II, 2](https://openeik.org/spec/0.4/language#2) names a project's `excavation` and [`schemas/0.4/project/project.schema.json`](https://openeik.org/schemas/0.4/project/project.schema.json) holds its members, `workingSpace` (0 to 10 000), `slope` (0 to 20), `topsoil` (0 to 2000) and `off`, but neither says what they measure or in what unit. A reader could take `slope` as degrees, as vertical per horizontal, or as horizontal per vertical, and each gives a different pit. The reference implementation, which writes it, means horizontal per vertical, and the schema's bounds fit only that.
- **Correction:** a new section, Part II, 2.3, says what the members mean, as the reference implementation means them: `workingSpace`, in mm, the width dug beside a pit's outline at its bottom; `slope`, a pit's sides as 1:n, n the horizontal distance per unit of depth, so that 1.5 is 1.5 m out for each 1 m down and 0 is a vertical side; `topsoil`, in mm, the depth of topsoil stripped where the ground is dug; `off`, `true` where the project digs no pits. Where the pits lie and how deep they go, the version does not say: the reference implementation digs one under each foundation body below the ground, and [open question 107](https://openeik.org/spec/0.4/open-questions) asks whether that becomes a rule. The schema is unchanged, and nothing it accepted before is refused.
- **Applied by:** 0.4.3, tagged `v0.4.3`.

## 0.4-E4: A drawing's first issue, with no revision code

- **Accepted:** 4 November 2026, by the steward (in the authoring application's thread on alternatives, its work 827: told that 0.4's revision series give a drawing's first issue a code, "First issue should be 0 or - since it is no revision!"; on how, "As a 0.4 erratum now (Recommended)", then "do the erratum here and start c and d"). Proposed the same day by the editors, found by the authoring application, whose alternatives each start a set of drawings of their own.
- **Found in:** 0.4 as tagged `v0.4.0`, and as it was in 0.2 and 0.3.
- **As it was:** [Part XIV, 8.2](https://openeik.org/spec/0.4/drawings#8.2) gave each revision series a code for each place in it, so that under `letters` a drawing's first revision is A. Swedish practice issues a drawing first without a letter, a first issue being no revision, and letters its revisions from A; the series could not say so, and a drawing issued so broke [Part XIV, 8.5, rule 8](https://openeik.org/spec/0.4/drawings#8.5), a SHOULD, at its first revision and at every one after it.
- **Correction:** under `letters` a drawing's first revision MAY show no code (`revision` empty, as 8.1 allows); its revisions are then A, B, … from its second, I and O left out as before. Rule 8 says so. A drawing whose first revision shows A is as before, nothing the schemas accepted before is refused, and the schemas are unchanged. `@openeik/tools` checks so since 0.4.3 (`revisionCodeOf(series, n, firstUncoded)`), and two cases of the suite hold it, `XIV-8.5.8-letters-first-revision-without-a-code` and `XIV-8.5.8-letters-after-a-first-without-a-code`.
- **Applied by:** 0.4.4, tagged `v0.4.4`.

## 0.4-E5: A drawing that draws a copy's element

- **Accepted:** 5 November 2026, by the steward (in the openEik.org thread, asked whether this correction applies to 0.4 as an erratum, and whether the editors may apply errata themselves and report after: "Ja + mandat"). Proposed the same day by the editors, found by the authoring application, whose issuer refused 11 of the 36 sheets of a project because they drew the elements of placed copies.
- **Found in:** 0.4 as tagged `v0.4.0`, and as it was in 0.2 and 0.3.
- **As it was:** [Part XIV, 6.8](https://openeik.org/spec/0.4/drawings#6.8) let `data-eik-id` name an element of a placed copy by its derived name, `<copy id>/<element id>`, but [6.12, rule 21](https://openeik.org/spec/0.4/drawings#6.12) asked that each id "name an element of the model", which an issuer read as an element record, and [9.7, rule 3](https://openeik.org/spec/0.4/drawings#9.7) asked a viewport's `read` to hold "the pair of every element drawn in it", which a copy's element, derived and never stored (Part II, 10), does not have. So a drawing of a copy's element could not meet rule 3, and `@openeik/tools` refused it, with `svg-element-unknown` (it never added the copies' ids) and `read-set-incomplete`.
- **Correction:** rule 21 names a stored element by its id, or an element that an instance of a group derives by its id in that instance (Part II, 10.1, rule 3). Rule 3 asks, for such an element, the pairs of the kept element it is derived from, of the instance's copy record and of the group's original; rule 4, the kept element's type; and 9.1 says so in its prose. A copy moved, its group's element changed or its original's origin changed then makes the viewport stale (9.4, step 3). The schemas are unchanged, and nothing a validator accepted before is refused. `@openeik/tools` checks so since 0.4.10 (`instanceElements`), and two cases of the suite hold it, `XIV-9.7.3-a-copys-element-drawn` and `XIV-9.7.3-a-copys-element-without-its-copy`.
- **Applied by:** 0.4.5, tagged `v0.4.5`.

## 0.4-E6: An attached raking wall top, across the wall

- **Accepted:** 5 November 2026, by the editors, under the steward's standing approval of errata (GOVERNANCE.md, errata, rule 2: "Ja + mandat"). Found the same day by the editors while building the compiler's conformance vectors.
- **Found in:** 0.4 as tagged `v0.4.0`, and as it was in 0.1, 0.2 and 0.3.
- **As it was:** [Part IV, 5.3](https://openeik.org/spec/0.4/compiler#5.3), rule 4, said how an attached raking top runs along a wall's centreline, the lowest face plane at each point, but not how it runs across the wall: whether the face cuts each layer, or the centreline's top is carried across the wall's thickness. Under a face that slopes across a wall, as a pitched roof's does over an eave wall, the two readings give each layer a different top and volume. Both implementations cut each layer by the face: the reference implementation clips each layer's body by the face's planes (`wallTopClips` in `src/core/elements/wallTop.ts`), and `@openeik/tools` cuts each layer's pieces by them (`wallTop` and the wall's bodies in `packages/openeik/src/compile.js`). The compiler's vectors, worked by hand from the rules, agree with both, so the rule meant so.
- **Correction:** rule 4 says that across the wall the face cuts each layer: at each point of a layer in plan, the layer's top is the lowest face plane at that point, so that where the face slopes across the wall each layer's top slopes with it, and is not the centreline's top carried across. An example after the rules works a wall of two layers under a roof sloping 30° across it. Along the centreline the top is as it was, and a level top (rule 5) is unchanged. The schemas are unchanged, and nothing a validator accepted before is refused. No conformance class holds a compiler's bodies (Part IV, 10 is proposed), so no case of the suite holds it; the compiler's vectors in `conformance/compiler/`, on the repository's main branch, do: `IV-5.3.4-a-raking-top-across-a-wall`, the example's wall, and the walls of `example-one-storey-house`, whose eave walls lie under a roof sloping 30° across them.
- **Applied by:** 0.4.6, tagged `v0.4.6`.
