Glossary

This glossary lists the terms of this reference, each with a short definition and a link to the entry that explains it.

Terms

absolute reference

A reference that starts with / and is read from the root of the notice, whatever the context. See Absolute reference.

attribute

An XML attribute of a field in the notice, such as the codelist name of a code. See Attribute.

built-in function

A function that comes with the language, such as count or substring. See Built-in functions.

callable template

A template declared once, with a name and parameters, and displayed wherever it is invoked. See Template section.

caption

In a template, the part before the colon, which names what the rest of the template displays, such as the name of a field before its value. See Caption.

codelist

A list of the codes that a code field can take, such as the codelists country and main-activity. See Codelist.

context

The occurrence of a field or a node from which the references of an expression are read. Also called the evaluation context. See Evaluation context.

context override

A reference written $<variable>::<field>, read from the occurrence that a context variable holds instead of from the context. See Context override.

context variable

A variable that holds a place in the notice, a node or field, rather than a value. See Context variable.

data type

The kind of a value: text, number, indicator, date, time or duration. See Data types.

dictionary

In a template file, an index of the values of a field by a key, declared once and looked up from anywhere in the file. See Dictionary declaration.

dynamic function

In a rules file, a function whose result comes from an external service during validation, for example information about other notices. See Dynamic function declaration.

EFX-1, EFX-2

The versions of EFX used by SDK 1 and SDK 2. See Changes from EFX-1.

field

An item of information in a notice, identified in the SDK by an identifier such as BT-21-Procedure. See Field.

field property

Information about a field other than its value, written after the reference, such as :rawValue or :privacyCode. See Field property.

finding

An entry of the validation report, recorded when the condition of an ASSERT clause is false or the condition of a REPORT clause is true. It gives the identifier and the severity of the rule. See Rule.

flavour

One of the three forms of EFX: EFX Expressions, EFX Templates and EFX Rules. See The three flavours of EFX.

format option

In a template, a word or a digit after a vertical bar in an expression block, such as ${BT-00-Number|2}, which chooses how the value is formatted. See Expression block.

heading

A template line that starts with an outline marker, such as a number, and starts a part of the displayed notice. See Heading.

index

A position in square brackets with the keyword at, such as [at 1], which selects one value of a sequence or one occurrence of a field or node. See Index.

iteration

An expression that computes a value for each item of a sequence, written for … return …. See Iteration.

label

A text defined in the translations of the SDK, such as the name of a field, displayed in a template through a label block. See Label block.

literal

A value written directly in an expression, such as 'text', 42, TRUE or 2026-01-31Z. See Literals.

node

A group of related fields in a notice, identified by an identifier such as ND-Lot. See Node.

notice

The document on which EFX operates: an XML document that conforms to the eForms schemas. See Notice.

notice subtype

One of the forms of notice defined in the SDK, identified by a number such as 16 or a code such as E3 or X01. Rules state the notice subtypes to which they apply. See IN clause.

predicate

A condition in square brackets after a reference, which keeps only the occurrences that meet it. See Predicate.

raw value

The value of a field exactly as written in the notice, without the changes that a field reference makes, such as the conversion to a data type and the removal of extra white space. See Raw value.

repeatability

Whether a field or node can occur more than once in a notice. It decides whether a reference gives a single value or a sequence. See Repeatability.

rule

In a rules file, a test that a notice must pass, with a severity, an identifier, a target and the notice subtypes to which it applies. See Rule.

rule identifier

The identifier of a rule, of the form R-XXX-XXX, which also names the message of the rule. See AS clause.

rule-set

A group of rules that share the same context. See Rule-set.

rules file

A file of EFX Rules, which defines the validation rules of notices. See Rules file.

scope

The part of a file in which a variable is visible. See Scope of variables.

semantic assertion

In a rules file, a statement after ASSERT, such as IS NOT EMPTY, about the field or node that the rule validates. An application in which a user fills in a notice can use it to prevent mistakes while the user enters the data. See Semantic assertion.

selector

A form of single expression that returns the occurrences that a reference points to, rather than their values. See Selector.

sequence

An ordered series of zero or more values of the same data type. See Sequence.

severity

How serious a finding is: ERROR, WARNING or INFO. See AS clause.

single expression

An EFX expression used on its own, together with its context, for example in the field metadata of the SDK. See Single expression.

single value

One value of a data type, as opposed to a sequence, also called a scalar. EFX accepts a single value wherever a sequence is expected, as a sequence of one value. See Data types.

target

The field or node that a rule validates, given in its FOR clause. Each finding of the rule refers to it. See FOR clause.

template block

A template line together with the lines nested under it. See Indentation.

template file

A file of EFX Templates, which describes how a notice is displayed. See Template file.

template line

A line of a template file, which displays content once for each occurrence of its context. See Template line.

translator

The program that turns EFX into the language of the application that uses it, such as XPath, Schematron or the code of a notice viewer. The EFX Toolkit provides the translators. See EFX Toolkit.

type checking

The check, which the translator makes when it translates EFX, that every operator, function and clause receives values of the types that it accepts. The translator finds the type of every part of an expression. See Type checking.

user-defined function

In a template file, a function declared with a name, parameters and an expression, and called as ?name(…). See User-defined function declaration.

validation stage

A named group of rule-sets that the validation evaluates together. Validation stages put the rules in a logical order. See Validation stage.

variable

A name that holds a value or a context, written with the prefix $. See Variable declaration.

view template

A template file of the SDK that describes how to display the notices of a notice subtype. See Template file.