ISO/IEC 8825-5:2021 信息技术 ASN.1编码规则 第5部分:将W3CXML模式定义映射到ASN.1
标准编号:ISO/IEC 8825-5:2021
中文名称:信息技术 ASN.1编码规则 第5部分:将W3CXML模式定义映射到ASN.1
英文名称:Information technology — ASN.1 encoding rules — Part 5: Mapping W3C XML schema definitions into ASN.1
发布日期:2021-06
标准范围
本文档指定了从任何XSD模式到抽象语法符号One(ASN.1)模式的映射的两个版本。两个版本的ASN.1模式支持相同的语义,并验证相同的XML文档集。本文档指定了将作为定义的到ASN.1类型的映射的一部分应用的最终XER编码指令,但没有指定将使用哪种语法形式来指定这些最终XER编码指令,或者它们的分配顺序或方式。注意-生成这些映射的工具的实现者可以选择导致应用指定的最终XER编码指令的任何语法形式或赋值顺序。本文档中的示例通常使用类型前缀形式,但是作为样式问题,对于完整XSD模式的映射,使用XER编码控制部分可能是首选。存在分配用于扩展XER编码的XER编码指令的不同方式(语法上)(例如,使用ASN.1类型前缀编码指令或使用XER编码控制部分)。这些句法形式的选择是一个风格问题,超出了本文档的范围。
This document specifies two versions of a mapping from any XSD Schema into an Abstract Syntax Notation One (ASN.1) schema. The ASN.1 schema for both versions support the same semantics and validate the same set of XML documents.
This document specifies the final XER encoding instructions that are to be applied as part of the defined mapping to ASN.1 types, but does not specify which syntactic form is to be used for the specification of those final XER encoding instructions, or the order or manner of their assignment.
NOTE – Implementers of tools generating these mappings may choose any syntactic form or order of assignment that results in the specified final XER encoding instructions being applied. Examples in this document generally use the type prefix form, but use of an XER Encoding Control Section may be preferred for the mapping of a complete XSD Schema, as a matter of style.
There are different ways (syntactically) of assigning XER encoding instructions for use in EXTENDED-XER encodings (e.g., use of ASN.1 type prefix encoding instructions or use of an XER encoding control section). The choice of these syntactic forms is a matter of style and lies outside the scope of this document.
标准预览图


