-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEnumerations.ceps
23 lines (22 loc) · 1.07 KB
/
Enumerations.ceps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
label __7__2 title = "7.2 Enumerations";
kind DocgenStringPrintNoEscape;
DocgenStringPrintNoEscape docinfo_se;
witness{
docinfo_se(
"
--------------------------------------------------------------------------------
001 When the Preserve.lexicalValues option is false, enumerated values are
002 encoded as n-bit Unsigned Integers (7.1.9 n-bit Unsigned Integer) where
003 n = ceil(log_2 m) and m is the number of itmes in the enumerated type.
004 The unsigned integer value assigned to each item corresponds to its
005 ordinal position in the enumeration in schema-order starting with
006 position zero (0). When there are more than one item that represent the
007 same value in the enumeration, such value can be represented using the
008 ordinal position of any items that represent the value.
009
010 Exceptions are for schema union datatypes, list datatypes, as well as
011 QName or Notation and types derived therefrom by restrictio. The values
012 of such types are processed by their respective built-in EXI datatype
013 representations instead of being represented as enumerations.
");
};