Information technology – ASN.1 encoding rules: Mapping W3C XML schema definitions into ASN.1 |
![](images/pdf.png) |
Recommendation ITU-T X.694 | ISO/IEC 8825-5 defines rules for mapping an XSD Schema (a schema conforming to the W3C XML Schema specification) to an ASN.1 schema in order to use ASN.1 encoding rules such as the Basic Encoding Rules (BER), the Distinguished Encoding Rules (DER), the Packed Encoding Rules (PER) or the XML Encoding Rules (XER) for the transfer of information defined by the XSD Schema.
The use of this Recommendation | International Standard with the ASN.1 Extended XML Encoding Rules (EXTENDED-XER) provides the same XML representation of values as that defined by the original XSD Schema, but also provides the ability to encode the specified XML with an efficient binary representation (binary XML). An XML document can be converted to binary XML (for storage or transfer) using the ASN.1 generated by this mapping, and the resulting binary can be converted back to the same XML document for further XML processing.
Two versions of the mapping are defined. Version 1 of the mapping was published in 2004, and a Corrigendum was subsequently issued renaming the types DATE-TIME and DURATION in Annex A (in order to avoid conflict with the DATE-TIME and DURATION types defined in Rec. ITU-T X.680 | ISO/IEC 8824-1). The Version 2 mapping is more efficient in two areas: the ASN.1 time types are used rather than VisibleString for mappings of dates and times; the FastInfoset specification (Rec. ITU-T X.891 | ISO/IEC 24824-1) is used for the mapping of XSD wild-cards. Both these changes to the mapping provide much more compact binary encodings for the XML specified by the XSD.
NOTE − The specification of the Version 1 mapping (with applicable corrections) will be maintained in the next edition of this Recommendation | International Standard, but it is expected that subsequent editions will document only the Version 2 mapping.
Application of the ASN.1 extended XML Encoding Rules to both versions of the mapping will produce the same XML (which is the same as that specified by the XSD). However, application of other ASN.1 encoding rules to the Version 1 mapping results in a verbose character-based encoding of date and time types and of XSD wild-cards, whilst application of the Version 2 mapping results in a more compact binary encoding using ASN.1 time types and the FastInfoset specification.
|
|
Citation: |
https://handle.itu.int/11.1002/1000/12486 |
Series title: |
X series: Data networks, open system communications and security X.600-X.699: OSI networking and system aspects X.680-X.699: Abstract Syntax Notation One (ASN.1) |
Approval date: |
2015-08-13 |
Identical standard: | ISO/IEC 8825-5 (Common) |
Approval process: | AAP |
Status: |
Superseded |
Maintenance responsibility: |
ITU-T Study Group 17 |
Further details: |
Patent statement(s)
Development history
|
|
|
X.694 (2015-08)
|
Index of all ASN.1 assignments defined in this Recommendation.
|
|
Click
here
to download all the modules of this Recommendation (zipped archive)
|
Click here to download all the modules needed to compile this Recommendation (zipped archive)
|
Title |
Approved on |
Download |
Guidelines for identity-based cryptosystems used for cross-domain secure communications
|
2023
|
here
|
Overview of hybrid approaches for key exchange with quantum key distribution
|
2022
|
here
|
Guidelines for security management of using artificial intelligence technology
|
2022
|
here
|
Successful use of security standards (2nd edition)
|
2020
|
here
|
Description of the incubation mechanism and ways to improve it
|
2020
|
here
|
Strategic approaches to the transformation of security studies
|
2020
|
here
|
|