Korin API

ReferenceRule
in package
implements Rule

FinalYes

Level 4: pointers and xrefs: dangling pointers (KV4001), duplicate xrefs (KV4002), the type of the record a pointer must point to (KV4003, from the profile). Family links must be mutual (KV4004): INDI.FAMC ↔ FAM.CHIL, INDI.FAMS ↔ FAM.HUSB/WIFE.

Xrefs are compared case-sensitively; in 7.0 "@VOID@" is a null pointer, not a dangling one. A dangling pointer of an extension, or inside one, is a warning: what an extension points to is not defined, as nothing else in it is ("_FAMC @VOID@", a 7.0 null pointer kept in 5.5.1).

Table of Contents

Interfaces

Rule

Methods

begin()  : void
end()  : array<int, Diagnostic>
record()  : void
One record: its document (the whole one, or the record's own) and node, and its key in $records.

Methods

record()

One record: its document (the whole one, or the record's own) and node, and its key in $records.

public record(Document $document, int $id, int $key) : void
Parameters
$document : Document
$id : int
$key : int
On this page

Search results