2.2.6.1.4 Array

Represents a (potentially multi-dimensional) array of elements.

An array is encoded in UTF-8 encoded XML, which is equivalent to the XML obtained by serializing a Complex Object (section 2.2.5.2) object (see section 2.2.5) with the following extended properties (see section 2.2.5.2.9).

Property Name: mae.

Property Value: Elements of the array are flattened into a List and ordered by first listing the deepest elements. For example, for a 3-dimensional array where dimensions are 2,3,2, the order of elements is: a[0,0,0], a[0,0,1], a[0,1,0], a[0,1,1], a[0,2,0], a[0,2,1], a[1,0,0], a[1,0,1], a[1,1,0], a[1,1,1], a[1,2,0], a[1,2,1].

Property Type: List (see section 2.2.5.2.6.3).

Property Name: mal.

Property Value: Sizes of each of the dimensions of the array, from the topmost to the deepest dimension.

Property Type: List (see section 2.2.5.2.6.3) of Signed Ints (see section 2.2.5.1.11). The List MUST have at least one element.