GB/T 16263.4-2025 Information technology—ASN.1 encoding rules—Part 4:XML Encoding Rules(XER)
GB/T 16263.4-2025 Information technology—ASN.1 encoding rules—Part 4:XML Encoding Rules(XER)
Basic Information
Scope
The basic XML encoding rules set forth in this document (BASIC-XER) can be used to export a transmission syntax suitable for the values defined in GB/T 16262.1-2025 and GB/T 16262.2-2025. This document also specifies a regular XML encoding rules set (CXER), which constrains the basic XML encoding rules and produces a unique encoding for any given ASN.1 value. Furthermore, this document stipulates an extended XML encoding rules set (EXTENDED-XER), which further increases the encoder options and allows ASN.1 descriptors to change the various encodings produced by BASIC-XER. This document implicitly indicates that these encoding rules are also used for decoding.
The encoding rules specified in this document:
-- Are used in communication;
-- Are intended for situations where the primary concern when selecting encoding rules is displaying and/or processing various values using common XML tools (e.g., browsers);
-- Add value to the various forms of extensibility described in GB/T 16262.1-2025 by supporting extended abstract syntax.
This document also specifies the syntax and semantics of XER encoding instructions and the rules for their assignment and combination. XER encoding instructions are used to control the EXTENDED-XER encoding of specific ASN.1 types.