BS ISO/IEC 8825-4:2021
$215.11
Information technology. ASN.1 encoding rules – XML Encoding Rules (XER)
Published By | Publication Date | Number of Pages |
BSI | 2021 | 86 |
This Recommendation | International Standard specifies a set of basic XML Encoding Rules (BASIC-XER) that may be used to derive a transfer syntax for values of types defined in Rec. ITU-T X.680 | ISO/IEC 8824-1 and Rec. ITU-T X.681 | ISO/IEC 8824-2. This Recommendation | International Standard also specifies a set of Canonical XML Encoding Rules (CXER) which provide constraints on the basic XML Encoding Rules and produce a unique encoding for any given ASN.1 value. This Recommendation | International Standard further specifies a set of extended XML Encoding Rules (EXTENDED-XER) which adds further encoders options, and also allows the ASN.1 specifier to vary the encoding that would be produced by BASIC-XER. It is implicit in the specification of these encoding rules that they are also used for decoding.
The encoding rules specified in this Recommendation | International Standard:
-
are used at the time of communication;
-
are intended for use in circumstances where displaying of values and/or processing them using commonly available XML tools (such as browsers) is the major concern in the choice of encoding rules;
-
allow the extension of an abstract syntax by addition of extra values for all forms of extensibility described in Rec. ITU-T X.680 | ISO/IEC 8824-1.
This Recommendation | International Standard also specifies the syntax and semantics of XER encoding instructions, and the rules for their assignment and combination. XER encoding instructions can be used to control the EXTENDED-XER encoding for specific ASN.1 types.
PDF Catalog
PDF Pages | PDF Title |
---|---|
2 | undefined |
6 | Blank Page |
7 | CONTENTS |
11 | Introduction |
12 | Blank Page |
13 | 1 Scope 2 Normative references 2.1 Identical Recommendations | International Standards |
14 | 2.2 Additional references 3 Definitions 3.1 ASN.1 Basic Encoding Rules (BER) 3.2 Additional definitions |
16 | 4 Abbreviations 5 Encodings specified by this Recommendation | International Standard |
17 | 6 Encoding instructions specified by this Recommendation | International Standard 7 Conformance 8 Basic XML encoding rules 8.1 Production of a complete BASIC-XER encoding |
18 | 8.2 The XML prolog 8.3 The XML document element |
19 | 8.4 Encoding of the EXTERNAL type 8.5 Encoding of the open type 8.6 Decoding of types with extension markers 9 Canonical XML encoding rules 9.1 General rules for canonical XER |
20 | 9.2 Real values 9.3 Bitstring value 9.4 Octetstring value 9.5 Sequence value 9.6 Set value 9.7 Set-of value |
21 | 9.8 Object identifier value 9.9 Relative object identifier value 9.10 GeneralizedTime 9.11 UTCTime |
22 | 9.12 Open type value 9.13 The TIME type and the useful time types 10 Extended XML encoding rules 10.1 General |
23 | 10.2 EXTENDED-XER conformance |
25 | 10.3 Structure of an EXTENDED-XER encoding 11 Notation, character set and lexical items used in XER encoding instructions |
26 | 12 Keywords |
27 | 13 Assigning an XER encoding instruction to an ASN.1 type using a type prefix |
29 | 14 Assigning an XER encoding instruction using an XER encoding control section 14.1 The encoding instruction assignment list |
30 | 14.2 Identification of the targets for an XER encoding instruction using a target list 14.2.1 General rules |
32 | 14.2.2 Target identification using an ASN.1 type reference and identifiers |
33 | 14.2.3 Target identification using a built-in type name |
34 | 14.2.4 Use of identifiers in context |
35 | 14.2.5 Use of imported types identification 15 Multiple assignment of XER encoding instructions 15.1 Order in which multiple assignments are considered |
36 | 15.2 Effect of assigning a negating encoding instruction 15.3 Multiple assignment of encoding instructions with multiple categories 15.4 Multiple assignment of XER encoding instructions of the same category |
37 | 15.5 Permitted combinations of final encoding instructions |
38 | 16 XER encoding instruction support for XML namespaces and qualified names |
39 | 17 Specification of EXTENDED-XER encodings |
40 | 17.1 The XML document element 17.2 The “TypeNameOrModifiedTypeName” production 17.3 The “AttributeList” production 17.4 The “ExtendedXMLValue” production |
42 | 17.5 The “ExtendedXMLChoiceValue” production 17.6 The “ExtendedXMLSequenceValue” and “ExtendedXMLSetValue” productions |
43 | 17.7 The “ExtendedXMLSequenceOfValue” and “ExtendedXMLSetOfValue” productions |
44 | 17.8 The “ModifiedXMLIntegerValue” production 17.9 The “ModifiedXMLRealValue” production |
45 | 18 The ANY-ATTRIBUTES encoding instruction 18.1 General |
46 | 18.2 Restrictions 18.3 Effect on encodings |
47 | 19 The ANY-ELEMENT encoding instruction 19.1 General 19.2 Restrictions |
48 | 19.3 Effect on encodings |
49 | 20 The ATTRIBUTE encoding instruction 20.1 General 20.2 Restrictions 20.3 Effect on encodings |
51 | 21 The BASE64 encoding instruction 21.1 General 21.2 Restrictions 21.3 Effect on encodings |
52 | 22 The DECIMAL encoding instruction 22.1 General 22.2 Restrictions 22.3 Effect on encodings |
53 | 23 The DEFAULT-FOR-EMPTY encoding instruction 23.1 General 23.2 Restrictions |
54 | 23.3 Effect on encodings |
55 | 24 The ELEMENT encoding instruction 24.1 General 24.2 Restrictions 24.3 Effect on encodings 25 The EMBED-VALUES encoding instruction 25.1 General 25.2 Restrictions |
56 | 25.3 Effect on encodings 26 The GLOBAL-DEFAULTS encoding instruction 26.1 General |
57 | 26.2 Restrictions 26.3 Effect on encodings 27 The LIST encoding instruction 27.1 General 27.2 Restrictions |
58 | 27.3 Effect on encodings 28 The NAME encoding instruction 28.1 General |
59 | 28.2 Restrictions |
60 | 28.3 Effect on encodings 29 The NAMESPACE encoding instruction 29.1 General |
61 | 29.2 Restrictions 29.3 Effect on encodings |
62 | 30 The PI-OR-COMMENT encoding instruction 30.1 General 30.2 Restrictions 30.3 Effect on the encodings |
63 | 31 The TEXT encoding instruction 31.1 General 31.2 Restrictions |
64 | 31.3 Effect on encodings 32 The UNTAGGED encoding instruction 32.1 General |
65 | 32.2 Restrictions 32.3 Effect on encodings |
66 | 33 The USE-NIL encoding instruction 33.1 General 33.2 Restrictions |
67 | 33.3 Effect on encodings 34 The USE-NUMBER encoding instruction 34.1 General 34.2 Restrictions 34.3 Effect on encodings |
68 | 35 The USE-ORDER encoding instruction 35.1 General 35.2 Restrictions |
69 | 35.3 Effect on encodings 36 The USE-QNAME encoding instruction 36.1 General |
70 | 36.2 Restrictions 36.3 Effect on encodings 37 The USE-TYPE encoding instruction 37.1 General 37.2 Restrictions |
71 | 37.3 Effect on encodings 38 The USE-UNION encoding instruction 38.1 General 38.2 Restrictions |
72 | 38.3 Effect on encodings |
73 | 39 The WHITESPACE encoding instruction 39.1 General 39.2 Restrictions 39.3 Effect on encodings |
74 | 40 Identification of the encoding rules |
75 | Annex A Examples of BASIC-XER and CXER encodings A.1 ASN.1 description of the record structure A.2 ASN.1 description of a record value A.3 Basic XML representation of this record value |
76 | A.4 Canonical XML representation of this record value |
77 | Annex B Partial XML content and deterministic encodings B.1 Partial XML content B.2 Recommended restrictions on encodings producing partial XML element content |
80 | Annex C Examples of EXTENDED-XER encodings using XER encoding instructions C.1 Introduction C.2 Simple examples C.2.1 A base-ball card |
81 | C.2.2 An employee C.3 More complex examples C.3.1 Using a union of two simple types C.3.2 Using a type identification attribute |
82 | C.3.3 Using enumeration values C.3.4 Using an empty encoding for a default value C.3.5 Using embedded-values for notification of a payment due |