Valid

GB/T 16263.5-2025Information technology - ASN.1 encoding rules - Part 5: Mapping W3C XML schema definitions into ASN.1 (English PDF)

Preview PDF

This is a limited preview

Buy now to download the full PDF (79 pages)

Need quotation for your management?

Get a formal quotation for GB/T 16263.5-2025 in 30 minutes.

Issued by

State Administration for Market Regulation, China National Standardization Administration

Level / Type

National · Recommended

Issue date

June 30, 2025

Implementation date

January 1, 2026

Scope

GB/T 16263.5-2025 (Information technology - ASN.1 encoding rules - Part 5: Mapping W3C XML schema definitions into ASN.1) is available as an English-translated PDF.

GB/T 16263.5-2025 — This document specifies two versions of the mapping from any XSD schema to an ASN.1 schema. The two versions of the ASN.1 schema support maintains the same semantics and can also validate the same set of XML documents.

This document specifies the final XER encoding instructions that will be used as part of the ASN.1 type definition mapping. The grammatical form of the final XER encoding instruction specification, or its assignment order or method.

NOTE. An implementation of a mapping generation tool may choose any syntax format or order of assignments to produce the final XER-encoded instructions for the specified application.

Examples of files generally use the type prefix format, but as a rule, the use of XER encoding control parts may be used for mapping to the full XSD. is the best way.

There are different (syntactic) ways to assign XER encoding instructions to EXTENDED-XER encoding (e.g., using ASN.1 classes the choice of syntax is a matter of convention and outside the scope of this document.

Found what you need?

Document preview — GB/T 16263.5-2025

National Standard of the People's Republic of China

ICS
35.100.60
Classification
L 79
Replacing
GB/T 16263.5-2015

Issued by: State Administration for Market Regulation, China National Standardization Administration

Contents

  • Preface
  • Introduction
  • 1 Scope
  • 2 Normative references
  • 3 Terms and Definitions
  • 4 Abbreviations
  • 5 Notation
  • 6 Purpose and extent of standardization
  • 7 XSD Schema Mapping
  • 8 Ignored Pattern Components and Properties
  • 9 ASN.1 Module
  • 10 Name Conversion
  • 11 XSD built-in type mapping uses
  • 12 Mapping Constraints
  • 13 Simple Type Definition Mapping
  • 14 Element Declaration Mapping
  • 15 Attribute Declaration Mapping
  • 16 Simple Type Definition Value Mapping
  • 17 Model Group Definition Mapping
  • 18 Model Group Mapping
  • 19 Particle Mapping
  • 20 Complex Type Definition Mapping
  • 21 Wildcard Mapping
  • 22 Mapping of attributes used
  • 23 Mappings defined using simple and complex types (general case)
  • 24 Special purpose simple and complex type definition mappings (replaceable)
  • 25 Special purpose simple and complex type definition mappings (replaceable, empty)
  • 26 Special purpose simple type definition mapping (may be empty)
  • 27 Special purpose complex type definition mapping (can be empty)
  • 28 Special-purpose element declarations (element replacement group headers)
  • 29 Generates specific ASN.1 type assignments for types used in element declarations
  • 30 Generate specific ASN.1 type assignments for derived structure types
  • 31 Generate specific ASN.1 type assignments for element substitution groups
  • Appendix A (Normative) ASN.1 Type Definitions for XSD Built-in Types in Version 1 Mappings
  • Appendix B (Normative) Version 2 Mappings of XSD Built-in Types to ASN.1 Type Definitions
  • Appendix C (Informative) XSD Module Identification
  • Appendix D (Informative) Mapping Examples
  • Appendix E (Informative) W3C XML Schema Binary Encoding Mapping Application
  • Reference

Foreword

This document is in accordance with the provisions of GB/T 1.1-2020 "Guidelines for standardization work Part 1: Structure and drafting rules for standardization documents" Drafting.

This document is Part 5 of GB/T 16263 "Information Technology ASN.1 Encoding Rules". GB/T 16263 has published the following part.

--- Part 1: Specifications of Basic Encoding Rules (BER), Regular Encoding Rules (CER) and Untypical Encoding Rules (DER);

--- Part 2: Specification of Restricted Encoding Rules (PER);

--- Part 4: XML Encoding Rules (XER);

--- Part 5: Mapping of W3C XML Schema Definitions to ASN.1.

This document replaces GB/T 16263.5-2015 "Information Technology ASN.1 Encoding Rules Part 5: W3C XML Schema Definition" Compared with GB/T 16263.5-2015, in addition to structural adjustments and editorial changes, the main technical changes are as follows.

a) Changed the provisions for blank constraints with retain or replace values in enumeration constraints (see 12.4.1.4, 2015 edition) 12.4.1.4);

b) Changed the ASN.1 choice type representation for special-purpose simple and complex type definition mappings when the value constraint is a fixed value.

(See 24.8.2 and 24.8.3, 2015 edition 24.8.2 and 24.8.3).

This document is equivalent to ISO/IEC 8825-5:2021 "Information technology ASN.1 encoding rules Part 5: W3C XML schema" Defining the mapping to ASN.1.

Introduction

This document specifies the conversion of a W3C XML Schema Definition (an XSD schema) to an Abstract Syntax Notation One (ASN.1) schema.

Version 1 mapping and version 2 mapping. These mappings can be applied to any XSD schema. Both mappings are identical to the ASN.1 XER encoding instructions.

Together they describe the generation of one or more ASN.1 modules containing type definitions.

ASN.1 schema (resulting from any version mapping) is consistent with the ASN. Extended XML Encoding Rules (EX-TENDED-XER) can be used to generate and validate W3CXML1.0 document sets that are identical to the original XSD schema.

The generated ASN.1 types and encodings will support the same semantic content as the XSD schema.

When converting ASN.1 files to XSD files, ASN.1 tools can be used interchangeably with XSD tools.

Other standardized ASN.1 encodings, such as the Regular Encoding Rules (DER) or the Persistent Encoding Rules (PER), may be used with this document.

The mappings are used together to generate the encoding of the second version of the mapping. Compared with the encoding generated by the first version of the mapping, it involves more the date and time types and wildcards are different (also, less redundant).

This document, combined with the ASN.1 encoding rules, provides a fully standardized and vendor-independent implementation of data originally defined using XSD schemas.

A compact and canonical binary encoding of.

ASN.1 schemas are specifications for the information content of messages (abstract syntax) and the exact format of XML documents (e.g., the use of attributes instead of elements).

The result is a clearer and usually less redundant schema than the original XSD schema.

Appendix A is a normative appendix. It is an ASN.1 module that contains the XSD built-in types corresponding to the first version of the mapping in this document.

A set of ASN.1 type definitions. The XSD schema to ASN.1 schema mapping can be imported using the type reference name of this type definition.

to include built-in type definitions.

Appendix B is a normative annex that provides the second version of the mapping of the ASN.1 modules in this document.

Appendix C is an informative appendix that describes the object identifiers, OIDs, and object descriptions assigned by this document.

Symbol value.

Appendix D is an informative appendix that gives an example of mapping from an XSD schema to an ASN.1 schema.

Appendix E is an informative appendix that describes the use of the mapping defined in this document together with the standardized ASN.1 encoding rules.

Use XSD schemas to define data and provide both compact and atypical encodings.

GB/T 16263 is intended to consist of eight parts.

--- Part 1: Basic Encoding Rules (BER), Regular Encoding Rules (CER) and Untypical Encoding Rules (DER) specifications, the purpose of to specify a set of basic encoding rules.

--- Part 2: Specification of Restricted Encoding Rules (PER) aims to define a set of restricted encoding rules.

--- Part 3: Encoding Control Notation (ECN) specification, the purpose is to standardize the ASN.1 encoding control notation.

--- Part 4: XML Encoding Rules (XER), the purpose of which is to specify the Basic XML Encoding Rules (BASIC-XER), regular XML Encoding Rules Set (CXER) and Extended XML Encoding Rules Set (EXTENDED-XER).

--- Part 5: Mapping of W3C XML Schema Definitions to ASN.1, the purpose of which is to specify the mapping from any XSD schema to an ASN.1 schema There are two versions of the mapping.

--- Part 6: Registration and application of PER coded instructions. The purpose is to specify the format, mechanism, registration authority and operation of PER coded instructions.

Methods for associating PER with ASN.1.

--- Part 7: Octet Encoding Rules (OER) specification, which aims to provide constraints for the basic octet encoding rules and any given ASN.1 value generates a unique encoding.

--- Part 8: JavaScript Object Notation Encoding Rules (JER) specification, which aims to specify a set of JavaScript object representation JSON encoding rules for applications that interoperate with JSON.

Information technology ASN.1 encoding rules Part 5: W3C XML Schema Definition ASN.1 Mapping

1 Scope

This document specifies two versions of the mapping from any XSD schema to an ASN.1 schema. The two versions of the ASN.1 schema support maintains the same semantics and can also validate the same set of XML documents.

This document specifies the final XER encoding instructions that will be used as part of the ASN.1 type definition mapping.

The grammatical form of the final XER encoding instruction specification, or its assignment order or method.

NOTE. An implementation of a mapping generation tool may choose any syntax format or order of assignments to produce the final XER-encoded instructions for the specified application.

Examples of files generally use the type prefix format, but as a rule, the use of XER encoding control parts may be used for mapping to the full XSD.

is the best way.

There are different (syntactic) ways to assign XER encoding instructions to EXTENDED-XER encoding (e.g., using ASN.1 classes the choice of syntax is a matter of convention and outside the scope of this document.

2 Normative references

The contents of the following documents constitute the essential clauses of this document through normative references in this document.

For referenced documents without a date, only the version corresponding to that date applies to this document; for referenced documents without a date, the latest version (including all amendments) applies to this document.

GB/T 16262.1-2025 Information technology Abstract syntax notation 1 (ASN.1) Part 1: Basic notation specification (ISO/IEC 8824-1:2021, IDT) GB/T 16262.3-2025 Information technology Abstract Syntax Notation 1 (ASN.1) Part 3: Constraint specification (ISO/IEC 8824-3:2021, IDT) GB/T 16263.1-2025 Information technology ASN.1 encoding rules Part 1: Basic encoding rules (BER), regular encoding Specification of Character Encoding Rules (CER) and Untypical Encoding Rules (DER) (ISO/IEC 8825-1:2021, IDT) GB/T 16263.2-2025 Information technology ASN.1 encoding rules Part 2: Specification of the Reduced Encoding Rules (PER) (ISO/IEC 8825-2:2021, IDT) GB/T 16263.4-2025 Information technology ASN.1 encoding rules Part 4: XML encoding rules (XER) (ISO/IEC 8825-4:2021, IDT) ondEdition)] W3C XML Schema.2004 W3C XML Schema Part 2: Datatypes (Second Edition) [W3C XML Schema

NOTE 2 References to "W3C XML Schema" in this document refer to Part 1 of W3C XML Schema and Part 2 of W3C XML Schema.

Part 2.

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 79 pages — is available in the English PDF.

Referenced standards

How to Download GB/T 16263.5-2025

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
79 pages
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GB/T 16263.5-2025

$1,295.00