Network Working Group                                            S. Legg
Request for Comments: 4914                                       eB2Bcom
Category: Experimental                                         July 2007
        
Network Working Group                                            S. Legg
Request for Comments: 4914                                       eB2Bcom
Category: Experimental                                         July 2007
        

Abstract Syntax Notation X (ASN.X) Representation of Encoding Instructions for the XML Encoding Rules (XER)

XML编码规则(XER)编码指令的抽象语法表示法X(ASN.X)

Status of This Memo

关于下段备忘

This memo defines an Experimental Protocol for the Internet community. It does not specify an Internet standard of any kind. Discussion and suggestions for improvement are requested. Distribution of this memo is unlimited.

这份备忘录为互联网社区定义了一个实验性协议。它没有规定任何类型的互联网标准。要求进行讨论并提出改进建议。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The IETF Trust (2007).

版权所有(C)IETF信托基金(2007年)。

Abstract

摘要

Abstract Syntax Notation X (ASN.X) is an Extensible Markup Language (XML) representation for Abstract Syntax Notation One (ASN.1) specifications. This document specifies the ASN.X representation of encoding instructions for the XML Encoding Rules (XER).

抽象语法符号X(ASN.X)是抽象语法符号1(ASN.1)规范的可扩展标记语言(XML)表示。本文档指定XML编码规则(XER)的编码指令的ASN.X表示形式。

Table of Contents

目录

   1. Introduction ....................................................3
   2. Conventions .....................................................3
   3. Preprocessing of ImportedTypesIdentification ....................4
   4. EncodingInstructionAssignmentList Translation ...................4
   5. EncodingInstruction Translation .................................5
      5.1. AnyAttributesInstruction Translation .......................6
           5.1.1. NamespaceRestriction Translation ....................7
      5.2. AnyElementInstruction Translation ..........................7
      5.3. AttributeInstruction Translation ...........................7
      5.4. Base64Instruction Translation ..............................8
      5.5. DecimalInstruction Translation .............................8
      5.6. DefaultForEmptyInstruction Translation .....................8
      5.7. ElementInstruction Translation .............................8
      5.8. EmbedValuesInstruction Translation .........................8
      5.9. GlobalDefaultsInstruction Translation ......................8
      5.10. ListInstruction Translation ...............................9
      5.11. NameInstruction Translation ...............................9
      5.12. NamespaceInstruction Translation .........................10
      5.13. PIOrCommentInstruction Translation .......................10
      5.14. TextInstruction Translation ..............................11
      5.15. UntaggedInstruction Translation ..........................11
      5.16. UseNilInstruction Translation ............................12
      5.17. UseNumberInstruction Translation .........................12
      5.18. UseOrderInstruction Translation ..........................12
      5.19. UseQNameInstruction Translation ..........................12
      5.20. UseTypeInstruction Translation ...........................12
      5.21. UseUnionInstruction Translation ..........................12
      5.22. WhiteSpaceInstruction Translation ........................12
   6. TargetList Translation .........................................13
      6.1. TypeIdentification Translation ............................13
      6.2. BuiltInTypeIdentification Translation .....................15
      6.3. IdentifiersInContext Translation ..........................17
   7. Security Considerations ........................................18
   8. References .....................................................18
      8.1. Normative References ......................................18
      8.2. Informative References ....................................19
   Appendix A. ASN.1 for XER Encoding Instruction Notation ...........20
   Appendix B. ASN.1 for Target List Notation ........................24
   Appendix C. ASN.X for XER Encoding Instruction Notation ...........26
   Appendix D. ASN.X for Target List Notation ........................33
        
   1. Introduction ....................................................3
   2. Conventions .....................................................3
   3. Preprocessing of ImportedTypesIdentification ....................4
   4. EncodingInstructionAssignmentList Translation ...................4
   5. EncodingInstruction Translation .................................5
      5.1. AnyAttributesInstruction Translation .......................6
           5.1.1. NamespaceRestriction Translation ....................7
      5.2. AnyElementInstruction Translation ..........................7
      5.3. AttributeInstruction Translation ...........................7
      5.4. Base64Instruction Translation ..............................8
      5.5. DecimalInstruction Translation .............................8
      5.6. DefaultForEmptyInstruction Translation .....................8
      5.7. ElementInstruction Translation .............................8
      5.8. EmbedValuesInstruction Translation .........................8
      5.9. GlobalDefaultsInstruction Translation ......................8
      5.10. ListInstruction Translation ...............................9
      5.11. NameInstruction Translation ...............................9
      5.12. NamespaceInstruction Translation .........................10
      5.13. PIOrCommentInstruction Translation .......................10
      5.14. TextInstruction Translation ..............................11
      5.15. UntaggedInstruction Translation ..........................11
      5.16. UseNilInstruction Translation ............................12
      5.17. UseNumberInstruction Translation .........................12
      5.18. UseOrderInstruction Translation ..........................12
      5.19. UseQNameInstruction Translation ..........................12
      5.20. UseTypeInstruction Translation ...........................12
      5.21. UseUnionInstruction Translation ..........................12
      5.22. WhiteSpaceInstruction Translation ........................12
   6. TargetList Translation .........................................13
      6.1. TypeIdentification Translation ............................13
      6.2. BuiltInTypeIdentification Translation .....................15
      6.3. IdentifiersInContext Translation ..........................17
   7. Security Considerations ........................................18
   8. References .....................................................18
      8.1. Normative References ......................................18
      8.2. Informative References ....................................19
   Appendix A. ASN.1 for XER Encoding Instruction Notation ...........20
   Appendix B. ASN.1 for Target List Notation ........................24
   Appendix C. ASN.X for XER Encoding Instruction Notation ...........26
   Appendix D. ASN.X for Target List Notation ........................33
        
1. Introduction
1. 介绍

Abstract Syntax Notation X (ASN.X) [ASN.X] is an Extensible Markup Language (XML) [XML10] [XML11] representation for Abstract Syntax Notation One (ASN.1) [X.680] specifications. The ASN.X representation for the ASN.1 basic notation [X.680] [X.680-1] is described elsewhere [ASN.X].

抽象语法表示法X(ASN.X)[ASN.X]是抽象语法表示法1(ASN.1)[X.680]规范的可扩展标记语言(XML)[XML10][XML11]表示。ASN.1基本符号[X.680][X.680-1]的ASN.X表示在[ASN.X]的其他地方进行了说明。

The grammar of ASN.1 permits the application of encoding instructions [X.680-1], through type prefixes and encoding control sections, that modify how abstract values are encoded by nominated encoding rules.

ASN.1的语法允许应用编码指令[X.680-1],通过类型前缀和编码控制部分修改指定编码规则对抽象值的编码方式。

The generic notation for type prefixes and encoding control sections is defined by the ASN.1 basic notation; however, the notation for specific encoding instructions, i.e., the EncodingInstruction and EncodingInstructionAssignmentList productions of the notation, are defined separately for each set of encoding rules using encoding instructions. This document specifies the ASN.X representation for EncodingInstructionAssignmentList and EncodingInstruction as they are defined for the XML Encoding Rules (XER) [X.693][X.693-1].

类型前缀和编码控制部分的通用表示法由ASN.1基本表示法定义;但是,特定编码指令的符号,即符号的EncodingInstruction和EncodingInstructionAssignmentList产品,使用编码指令为每组编码规则分别定义。本文档指定了EncodingInstructionAssignmentList和EncodingInstruction的ASN.X表示形式,因为它们是为XML编码规则(XER)[X.693][X.693-1]定义的。

ASN.X is defined in terms of rules for translating from an ASN.1 specification. This does not preclude an ASN.X module being written directly without a pre-existing ASN.1 module; however, such an ASN.X module is considered valid if and only if there exists, in principle, an ASN.1 module that when translated would yield the ASN.X module.

ASN.X是根据ASN.1规范的翻译规则定义的。这并不排除在没有预先存在的ASN.1模块的情况下直接编写ASN.X模块;然而,这样一个ASN.X模块被认为是有效的,当且仅当原则上存在一个ASN.1模块,当转换后将产生ASN.X模块。

By design, an ASN.X module is also the Robust XML Encoding Rules (RXER) [RXER] encoding of an ASN.1 value. The ASN.1 type definitions for such values, insofar as they pertain to the ASN.1 basic notation, are provided elsewhere [ASN.X]; however, this document provides the ASN.1 type definitions for representing XER encoding instructions as abstract values. These definitions appear in Appendix A.

根据设计,ASN.X模块也是ASN.1值的健壮XML编码规则(RXER)[RXER]编码。ASN.1中与ASN.1基本符号相关的此类值的ASN.1类型定义在[ASN.X]的其他地方提供;但是,本文档提供了ASN.1类型定义,用于将XER编码指令表示为抽象值。这些定义见附录A。

The ASN.X translation of the ASN.1 module in Appendix A is presented in Appendix B.

附录A中ASN.1模块的ASN.X翻译见附录B。

The General Considerations of the specification for ASN.X [ASN.X] also apply here.

ASN.X[ASN.X]规范的一般注意事项也适用于此处。

2. Conventions
2. 习俗

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", and "MAY" in this document are to be interpreted as described in BCP 14, RFC 2119 [BCP14]. The key word "OPTIONAL" is exclusively used with its ASN.1 meaning.

本文件中的关键词“必须”、“不得”、“要求”、“应”、“不得”、“应”、“不应”、“建议”和“可”应按照BCP 14、RFC 2119[BCP14]中的说明进行解释。关键词“可选”仅用于其ASN.1含义。

A reference to an ASN.1 production [X.680] (e.g., Type, NamedType) is a reference to the text in an ASN.1 specification corresponding to that production.

对ASN.1产品[X.680](例如,Type,NamedType)的引用是对ASN.1规范中与该产品对应的文本的引用。

The description of the translation of XER encoding instructions into ASN.X makes use of definitions from the XML Information Set (Infoset) [INFOSET]. In particular, information item property names follow the Infoset convention of being shown in square brackets, e.g., [local name]. Literal values of Infoset properties are enclosed in double quotes; however, the double quotes are not part of the property values. In the sections that follow, "information item" will be abbreviated to "item", e.g., "element information item" is abbreviated to "element item". Element items will be referred to by their [local name] in angle brackets, e.g., "the <name> element item" means the element item with the [local name] "name". Attribute items will be referred to by their [local name], e.g., "the name attribute item" means the attribute item with the [local name] "name".

将XER编码指令转换为ASN.X的描述使用了XML信息集(Infoset)[Infoset]中的定义。特别是,信息项属性名称遵循信息集惯例,即显示在方括号中,例如[local name]。信息集属性的文字值用双引号括起来;但是,双引号不是属性值的一部分。在接下来的章节中,“信息项”将缩写为“项”,例如,“要素信息项”缩写为“要素项”。元素项将通过尖括号中的[local name]来引用,例如,“元素项”是指具有[local name]“name”的元素项。属性项将由其[本地名称]引用,例如,“名称属性项”指具有[本地名称]“名称”的属性项。

Code points for characters [UNICODE] are expressed using the Unicode convention U+n, where n is four to six hexadecimal digits, e.g., the space character is U+0020.

字符[UNICODE]的代码点使用UNICODE约定U+n表示,其中n是四到六个十六进制数字,例如,空格字符是U+0020。

3. Preprocessing of ImportedTypesIdentification
3. 导入类型识别的预处理

Interpretation of an ImportedTypesIdentification depends on a SymbolList in the Imports of a module, but a SymbolList does not have a direct translation into ASN.X. A module containing at least one ImportedTypesIdentification must be preprocessed so that each ImportedTypesIdentification has the intended effect.

ImportedTypesIdentification的解释取决于模块导入中的符号列表,但符号列表不能直接翻译为ASN.X。必须对至少包含一个ImportedTypesIdentification的模块进行预处理,以便每个ImportedTypesIdentification都具有预期效果。

If an EncodingInstruction in an XER EncodingInstructionAssignmentList has a Targets instance that is an ImportedTypesIdentification, then each Type affected by the ImportedTypesIdentification MUST be replaced by an EncodingPrefixedType where the Type in the EncodingPrefixedType is the original Type and the EncodingPrefix contains the EncodingInstruction minus the TargetList. The ImportedTypesIdentification SHALL be removed. If the EncodingInstruction in the EncodingInstructionAssignmentList has no other Targets instances, then it MUST be removed from the EncodingInstructionAssignmentList.

如果XER EncodingInstructionAssignmentList中的EncodingInstruction具有作为ImportedTypesIdentification的目标实例,然后,受ImportedTypeSideIdentification影响的每个类型都必须替换为EncodingPrefixedType,其中EncodingPrefixedType中的类型是原始类型,EncodingPrefix包含EncodingInstruction减去TargetList。应删除导入的类型标识。如果EncodingInstructionAssignmentList中的EncodingInstruction没有其他目标实例,则必须将其从EncodingInstructionAssignmentList中删除。

4. EncodingInstructionAssignmentList Translation
4. 编码说明分配列表翻译

As described in the specification for ASN.X [ASN.X], the translation of an EncodingControlSection for XER is an element item with the [local name] "XER". The translation of the EncodingInstructionAssignmentList in such an EncodingControlSection determines the content of the <XER> element item.

如ASN.X[ASN.X]规范中所述,XER的EncodingControlSection的翻译是带有[local name]“XER”的元素项。EncodingControlSection中EncodingInstructionAssignmentList的翻译决定了<XER>元素项的内容。

An element item with the [local name] "annotation" MAY be added to the [children] of the <XER> element item.

带有[local name]“annotation”的元素项可以添加到<XER>元素项的[children]。

The translation of each EncodingInstruction nested in the EncodingInstructionAssignmentList SHALL be appended to the [children] of the <XER> element item.

EncodingInstructionAssignmentList中嵌套的每个EncodingInstruction的翻译应附加到<XER>元素项的[子项]中。

5. EncodingInstruction Translation
5. 编码指令翻译

The translation of an EncodingInstruction for XER can appear in the translation of an EncodingInstructionAssignmentList (see the previous section) or an EncodingPrefix. The translation for an EncodingPrefix is described by the specification for ASN.X [ASN.X].

XER编码指令的翻译可以出现在编码指令AssignmentList(请参阅上一节)或编码前缀的翻译中。编码前缀的翻译由ASN.X[ASN.X]规范描述。

The translation of an EncodingInstruction in an EncodingInstructionAssignmentList for XER is an element item with the [local name] "targettedInstruction". The translation of the PositiveInstruction or NegatingInstruction in the EncodingInstruction SHALL be added to the [children] of the <targettedInstruction> element item. The translation of the TargetList nested in the encoding instruction SHALL be appended to the [children] of the <targettedInstruction> element item.

XER的EncodingInstructionAssignmentList中的EncodingInstruction的翻译是具有[local name]“targetedInstruction”的元素项。编码指令中的肯定指令或否定指令的翻译应添加到<targetdInstruction>元素项的[子项]中。编码指令中嵌套的目标列表的翻译应附加到<targetdInstruction>元素项的[子项]中。

Aside: The TargetList appears within an EncodingInstruction in an EncodingInstructionAssignmentList, but its ASN.X translation appears immediately after the translation of the EncodingInstruction, rather than within it.

旁白:TargetList显示在EncodingInstructionAssignmentList中的EncodingInstruction中,但其ASN.X翻译在EncodingInstruction翻译后立即显示,而不是在其内部。

Example

实例

ENCODING-CONTROL XER GLOBAL-DEFAULTS MODIFIED-ENCODINGS ATTRIBUTE MyType

ENCODING-CONTROL XER GLOBAL-DEFAULTS MODIFIED-ENCODINGS属性MyType

      <encodingControls>
       <XER>
        <targettedInstruction>
         <globalDefaults>
          <modifiedEncodings/>
         </globalDefaults>
        </targettedInstruction>
        <targettedInstruction>
         <attribute/>
         <target type="MyType"/>
        </targettedInstruction>
       </XER>
      </encodingControls>
        
      <encodingControls>
       <XER>
        <targettedInstruction>
         <globalDefaults>
          <modifiedEncodings/>
         </globalDefaults>
        </targettedInstruction>
        <targettedInstruction>
         <attribute/>
         <target type="MyType"/>
        </targettedInstruction>
       </XER>
      </encodingControls>
        

The translation of an EncodingInstruction for XER in an EncodingPrefix is the translation of the PositiveInstruction or NegatingInstruction in the EncodingInstruction.

编码前缀中XER编码指令的翻译是编码指令中肯定指令或否定指令的翻译。

Aside: The TargetList within an EncodingInstruction in an EncodingPrefix is required to be empty and has no ASN.X translation in this context.

旁白:EncodingPrefix中EncodingInstruction中的TargetList必须为空,并且在此上下文中没有ASN.X翻译。

The translation of a PositiveInstruction is the translation of the AnyAttributeInstruction, AnyElementInstruction, AttributeInstruction, Base64Instruction, DecimalInstruction, DefaultForEmptyInstruction, EmbedValuesInstruction, GlobalDefaultsInstruction, ListInstruction, NameInstruction, NamespaceInstruction, PIOrCommentInstruction, TextInstruction, UntaggedInstruction, UseNilInstruction, UseNumberInstruction, UseOrderInstruction, UseQNameInstruction, UseTypeInstruction, UseUnionInstruction or WhitespaceInstruction in the PositiveInstruction.

正指令的翻译是对AnyAttributeInstruction、AnyElementInstruction、AttributeInstruction、Base64指令、十进制指令、DefaultForEmptyInstruction、EmbeddedValuesInstruction、GlobalDefaultInstruction、ListInstruction、NameInstruction、NamespaceInstruction、Pior Commentinsttruction、,正指令中的TextInstruction、UntagedInstruction、UseNilInstruction、UseNumberInstruction、UseOrderInstruction、UseQNameInstruction、UseTypeInstruction、UseUnionInstruction或WhitespaceInstruction。

The translation of a NegatingInstruction that is an ElementInstruction is the translation of that ElementInstruction.

作为元素指令的否定指令的翻译就是该元素指令的翻译。

The translation of a NegatingInstruction that is not an ElementInstruction is an element item where the [local name] is the concatenation of "not-" and the [local name] that would be used by the translation of the PositiveInstruction in the NegatingInstruction. No items are added to the [attributes] or [children] of the element item resulting from the translation of a NegatingInstruction.

非元素指令的否定指令的翻译是一个元素项,[本地名称]是“非”-和[本地名称]的串联,将用于否定指令中的肯定指令的翻译。由于否定指令的翻译,未向元素项的[attributes]或[children]添加任何项。

Example

实例

[XER:NOT ATTRIBUTE] MyType

[XER:非属性]MyType

      <type>
       <prefixed>
        <XER><not-attribute/></XER>
        <type ref="MyType"/>
       </prefixed>
      </type>
        
      <type>
       <prefixed>
        <XER><not-attribute/></XER>
        <type ref="MyType"/>
       </prefixed>
      </type>
        
5.1. AnyAttributesInstruction Translation
5.1. 任意属性指令翻译

The translation of an AnyAttributesInstruction is an element item with the [local name] "anyAttributes". If a NamespaceRestriction is present in the AnyAttributesInstruction, then the translation of the NamespaceRestriction SHALL be added to the [children] of the <anyAttributes> element item.

AnyAttributesInstruction的翻译是具有[本地名称]“anyAttributes”的元素项。如果anyAttributes指令中存在名称空间限制,则应将名称空间限制的翻译添加到<anyAttributes>元素项的[子项]中。

Example

实例

      ANY-ATTRIBUTES FROM "http://example.com" ABSENT
        
      ANY-ATTRIBUTES FROM "http://example.com" ABSENT
        
      <anyAttributes>
       <namespace>http://example.com</namespace>
       <local/>
      </anyAttributes>
        
      <anyAttributes>
       <namespace>http://example.com</namespace>
       <local/>
      </anyAttributes>
        
5.1.1. NamespaceRestriction Translation
5.1.1. 名称空间限制转换

The NamespaceRestriction production is common to the AnyAttributesInstruction production and the AnyElementInstruction production.

NamespaceRestriction产品是AnyAttributesInstruction产品和AnyElementInstruction产品的通用产品。

The translation of a NamespaceRestriction of the "FROM URIList" form is an element item with the [local name] "from". The translation of each QuotedURIorAbsent nested in the URIList SHALL be appended to the [children] of the <from> element item.

“FROM URIList”表单的名称空间限制的翻译是一个带有[本地名称]“FROM”的元素项。URIList中嵌套的每个QuotedURIorAbsent的翻译应附加到<from>元素项的[子项]中。

The translation of a NamespaceRestriction of the "EXCEPT URIList" form is an element item with the [local name] "except". The translation of each QuotedURIorAbsent nested in the URIList SHALL be appended to the [children] of the <except> element item.

“EXCEPT URIList”表单的名称空间限制的翻译是一个带有[local name]“EXCEPT”的元素项。URIList中嵌套的每个QuotedURIorAbsent的翻译应附加到<Exception>元素项的[子项]中。

The translation of a QuotedURIorAbsent that is a QuotedURI is an element item with the [local name] "namespace". The sequence of character items for the URI in the QuotedURI is added to the [children] of the <namespace> element item.

QuotedURI是QuotedURI的QuotedUroArbSent的翻译是具有[local name]“命名空间”的元素项。QuotedURI中URI的字符项序列被添加到<namespace>元素项的[children]中。

The translation of a QuotedURIorAbsent of the "ABSENT" form is an element item with the [local name] "local".

“缺席”形式的QuotedURIorAbsent的翻译是带有[本地名称]“本地”的元素项。

5.2. AnyElementInstruction Translation
5.2. 任意元素指令翻译

The translation of an AnyElementInstruction is an element item with the [local name] "anyElement". If a NamespaceRestriction is present in the AnyElementInstruction, then the translation of the NamespaceRestriction SHALL be added to the [children] of the <anyElement> element item.

anyElement指令的翻译是带有[本地名称]“anyElement”的元素项。如果anyElement指令中存在名称空间限制,则应将名称空间限制的翻译添加到<anyElement>元素项的[子项]中。

5.3. AttributeInstruction Translation
5.3. 定语指示翻译

The translation of an AttributeInstruction is an element item with the [local name] "attribute".

AttributeInstruction的翻译是具有[local name]“attribute”的元素项。

Example

实例

ATTRIBUTE

属性

      <attribute/>
        
      <attribute/>
        
5.4. Base64Instruction Translation
5.4. 基本指令翻译

The translation of a Base64Instruction is an element item with the [local name] "base64".

base64指令的翻译是具有[本地名称]“base64”的元素项。

5.5. DecimalInstruction Translation
5.5. 十进制指令翻译

The translation of a DecimalInstruction is an element item with the [local name] "decimal".

十进制指令的翻译是带有[本地名称]“decimal”的元素项。

5.6. DefaultForEmptyInstruction Translation
5.6. DefaultForempty指令翻译

The translation of a DefaultForEmptyInstruction is an element item with the [local name] "defaultForEmpty". The translation of the Value in the DefaultForEmptyInstruction SHALL be added to the [children] or [attributes] of the <defaultForEmpty> element item.

defaultForEmpty指令的翻译是一个具有[本地名称]“defaultForEmpty”的元素项。defaultForEmpty指令中的值的翻译应添加到<defaultForEmpty>元素项的[子项]或[属性]中。

Example

实例

DEFAULT-FOR-EMPTY AS "unspecified"

默认值为空为“未指定”

      <defaultForEmpty literalValue="unspecified"/>
        
      <defaultForEmpty literalValue="unspecified"/>
        
5.7. ElementInstruction Translation
5.7. 元素指令翻译

The translation of an ElementInstruction is an element item with the [local name] "element".

ElementInstruction的翻译是带有[本地名称]“element”的元素项。

5.8. EmbedValuesInstruction Translation
5.8. 嵌入价值观指导翻译

The translation of an EmbedValuesInstruction is an element item with the [local name] "embedValues".

EmbedValuesInstruction的翻译是带有[本地名称]“embedValues”的元素项。

5.9. GlobalDefaultsInstruction Translation
5.9. 全局默认指令翻译

The translation of a GlobalDefaultsInstruction is an element item with the [local name] "globalDefaults".

GlobalDefaultsInstruction的翻译是具有[本地名称]“globalDefaults”的元素项。

If the DefaultSetting in the GlobalDefaultsInstruction is "MODIFIED-ENCODINGS", then an element item with the [local name] "modifiedEncodings" SHALL be added to the [children] of the <globalDefaults> element item.

如果GlobalDefaultsInstruction中的默认设置为“MODIFIED-ENCODINGS”,则应将带有[本地名称]“modifiedEncodings”的元素项添加到<globalDefaults>元素项的[子项]中。

If the DefaultSetting in the GlobalDefaultsInstruction is a ControlNamespace, then the translation of the ControlNamespace SHALL be added to the [children] of the <globalDefaults> element item.

如果GlobalDefaultsInstruction中的DefaultSetting是ControlNamespace,则ControlNamespace的翻译应添加到<globalDefaults>元素项的[子项]中。

The translation of a ControlNamespace is an element item with the [local name] "controlNamespace". An attribute item with the [local name] "name" SHALL be added to the [attributes] of the <controlNamespace> element item. The [normalized value] of this attribute item is the Uniform Resource Identifier (URI) [URI] in the QuotedURI in the ControlNamespace. If the ControlNamespace has a Prefix, then an attribute item with the [local name] "prefix" SHALL be added to the [attributes] of the <controlNamespace> element item. The [normalized value] of this attribute item is the NCName in the QuotedNCName in the Prefix.

ControlNamespace的转换是具有[本地名称]“ControlNamespace”的元素项。带有[本地名称]“名称”的属性项应添加到<controlNamespace>元素项的[属性]中。此属性项的[normalized value]是ControlNamespace中QuotedURI中的统一资源标识符(URI)[URI]。如果ControlNamespace具有前缀,则应将带有[本地名称]“前缀”的属性项添加到<ControlNamespace>元素项的[属性]中。此属性项的[normalized value]是前缀中QuotedNCName中的NCName。

Example

实例

GLOBAL-DEFAULTS CONTROL-NAMESPACE "http://example.com" PREFIX "ex"

全局默认控件名称空间“http://example.com前缀“ex”

      <globalDefaults>
       <controlNamespace name="http://example.com" prefix="ex"/>
      </globalDefaults>
        
      <globalDefaults>
       <controlNamespace name="http://example.com" prefix="ex"/>
      </globalDefaults>
        
5.10. ListInstruction Translation
5.10. 列表指令翻译

The translation of a ListInstruction is an element item with the [local name] "list".

ListInstruction的翻译是具有[本地名称]“list”的元素项。

5.11. NameInstruction Translation
5.11. 名称指示翻译

The translation of a NameInstruction is an element item with the [local name] "name".

NameInstruction的翻译是具有[本地名称]“名称”的元素项。

If the NewNameOrKeyword in the NameInstruction is a NewName, then an attribute item with the [local name] "newName" SHALL be added to the [attributes] of the <name> element item. The [normalized value] of this attribute item is the character string value of the RestrictedCharacterStringValue in the NewName.

如果NameInstruction中的NewNameWorkyWord是一个NewName,那么带有[local name]“NewName”的属性项应添加到<name>元素项的[attributes]中。此属性项的[normalized value]是NewName中RestrictedCharacterStringValue的字符串值。

If the NewNameOrKeyword in the NameInstruction is a Keyword, then an attribute item with the [local name] "conversion" SHALL be added to the [attributes] of the <name> element item. The [normalized value] of this attribute item is the word in the Keyword with all letters downcased, i.e., "capitalized", "uncapitalized", "uppercased", or "lowercased".

如果NameInstruction中的NewNameWorkyWord是关键字,则应将带有[本地名称]“转换”的属性项添加到<name>元素项的[属性]中。此属性项的[normalized value]是关键字中所有字母大小写都为小写的单词,即“大写”、“未大写”、“大写”或“小写”。

Example

实例

NAME AS UNCAPITALIZED

名称为未资本化

      <name conversion="uncapitalized"/>
        
      <name conversion="uncapitalized"/>
        

NAME AS "category"

名称为“类别”

      <name newName="category"/>
        
      <name newName="category"/>
        
5.12. NamespaceInstruction Translation
5.12. 名称空间指令翻译

The translation of a NamespaceInstruction is an element item with the [local name] "namespace".

NamespaceInstruction的翻译是一个元素项,具有[本地名称]“名称空间”。

If a NamespaceSpecification is present in the NamespaceInstruction, then an attribute item with the [local name] "name" SHALL be added to the [attributes] of the <namespace> element item. The [normalized value] of this attribute item is the URI in the QuotedURI in the NamespaceSpecification.

如果名称空间说明中存在名称空间规范,则应将带有[本地名称]“名称”的属性项添加到<namespace>元素项的[属性]中。此属性项的[normalized value]是NamespaceSpecification中QuotedURI中的URI。

If a Prefix is present in the NamespaceSpecification, then an attribute item with the [local name] "prefix" SHALL be added to the [attributes] of the <namespace> element item. The [normalized value] of this attribute item is the NCName in the QuotedNCName in the Prefix.

如果名称空间规范中存在前缀,则带有[本地名称]“前缀”的属性项应添加到<namespace>元素项的[属性]中。此属性项的[normalized value]是前缀中QuotedNCName中的NCName。

Example

实例

      NAMESPACE AS "http://example.com" PREFIX "ex"
        
      NAMESPACE AS "http://example.com" PREFIX "ex"
        
      <namespace name="http://example.com" prefix="ex"/>
        
      <namespace name="http://example.com" prefix="ex"/>
        
5.13. PIOrCommentInstruction Translation
5.13. PIOR指令翻译

The translation of a PIOrCommentInstruction is an element item with the [local name] "piOrComment".

piOrComment指令的翻译是具有[本地名称]“piOrComment”的元素项。

An attribute item with the [local name] "text" SHALL be added to the [attributes] of the <piOrComment> element item. The [normalized value] of this attribute item is the character string value of the RestrictedCharacterStringValue in the PIOrCommentInstruction.

带有[本地名称]“文本”的属性项应添加到元素项的[属性]中。此属性项的[normalized value]是PIOrCommentInstruction中RestrictedCharacterStringValue的字符串值。

An attribute item with the [local name] "position" SHALL be added to the [attributes] of the <piOrComment> element item. The [normalized value] of this attribute item is "beforeTag" if the keyword in the Position in the PIOrCommentInstruction is BEFORE-TAG,

带有[本地名称]“位置”的属性项应添加到元素项的[属性]中。如果PIOrCommentInstruction中位置的关键字为BEFORE-TAG,则此属性项的[标准化值]为“beforeTag”,

"beforeValue" if the keyword in the Position is BEFORE-VALUE, "afterValue" if the keyword in the Position is AFTER-VALUE, or "afterTag" if the keyword in the Position is AFTER-TAG.

“beforeValue”如果位置中的关键字是BEFORE-VALUE,“afterValue”如果位置中的关键字是AFTER-VALUE,或者“afterTag”如果位置中的关键字是AFTER-TAG。

Example

实例

      PI-OR-COMMENT AS "<!-- This is a comment. -->" BEFORE-TAG
        
      PI-OR-COMMENT AS "<!-- This is a comment. -->" BEFORE-TAG
        
      <piOrComment text="&lt;!-- This is a comment. --&gt;"
                   position="beforeTag"/>
        
      <piOrComment text="&lt;!-- This is a comment. --&gt;"
                   position="beforeTag"/>
        
5.14. TextInstruction Translation
5.14. 文本指令翻译

The translation of a TextInstruction is an element item with the [local name] "text".

TextInstruction的翻译是带有[本地名称]“text”的元素项。

If a TextToBeUsed is present in the TextInstruction and the NewNameOrKeyword in the TextToBeUsed is a NewName, then an attribute item with the [local name] "newName" SHALL be added to the [attributes] of the <text> element item. The [normalized value] of this attribute item is the character string value of the RestrictedCharacterStringValue in the NewName.

如果TextToBeUsed指令中存在TextToBeUsed,且TextToBeUsed中的NewName WORKEYWORD为NewName,则应将带有[本地名称]“NewName”的属性项添加到<text>元素项的[属性]中。此属性项的[normalized value]是NewName中RestrictedCharacterStringValue的字符串值。

If a TextToBeUsed is present in the TextInstruction and the NewNameOrKeyword in the TextToBeUsed is a Keyword, then an attribute item with the [local name] "conversion" SHALL be added to the [attributes] of the <name> element item. The [normalized value] of this attribute item is the word in the Keyword with all letters downcased, i.e., "capitalized", "uncapitalized", "uppercased", or "lowercased".

如果TextToBeUsed指令中存在TextToBeUsed,且TextToBeUsed中的NEWNAME WORKEYWORD是一个关键字,则带有[本地名称]“转换”的属性项应添加到<name>元素项的[属性]中。此属性项的[normalized value]是关键字中所有字母大小写都为小写的单词,即“大写”、“未大写”、“大写”或“小写”。

Examples

例子

TEXT AS UPPERCASED

大写文本

      <text conversion="uppercased"/>
        
      <text conversion="uppercased"/>
        

TEXT AS "A4"

文本为“A4”

      <text newName="A4"/>
        
      <text newName="A4"/>
        
5.15. UntaggedInstruction Translation
5.15. 无定格指令翻译

The translation of an UntaggedInstruction is an element item with the [local name] "untagged".

UntagedInstruction的翻译是带有[本地名称]“Untaged”的元素项。

5.16. UseNilInstruction Translation
5.16. 使用说明翻译

The translation of a UseNilInstruction is an element item with the [local name] "useNil".

useNil指令的翻译是一个元素项,其[本地名称]“useNil”。

5.17. UseNumberInstruction Translation
5.17. 使用数字说明翻译

The translation of a UseNumberInstruction is an element item with the [local name] "useNumber".

UseNumberInstruction的翻译是带有[本地名称]“useNumber”的元素项。

5.18. UseOrderInstruction Translation
5.18. 使用指令翻译

The translation of a UseOrderInstruction is an element item with the [local name] "useOrder".

useOrder指令的翻译是具有[本地名称]“useOrder”的元素项。

5.19. UseQNameInstruction Translation
5.19. UseQName指令翻译

The translation of a UseQNameInstruction is an element item with the [local name] "useQName".

UseQNameInstruction的翻译是带有[本地名称]“useQName”的元素项。

5.20. UseTypeInstruction Translation
5.20. 使用打字指令翻译

The translation of a UseTypeInstruction is an element item with the [local name] "useType".

UseTypeInstruction的翻译是具有[本地名称]“useType”的元素项。

5.21. UseUnionInstruction Translation
5.21. 使用指令翻译

The translation of a UseUnionInstruction is an element item with the [local name] "useUnion".

useUnion指令的翻译是具有[本地名称]“useUnion”的元素项。

5.22. WhiteSpaceInstruction Translation
5.22. 空白指令翻译

The translation of a WhiteSpaceInstruction is an element item with the [local name] "whiteSpace".

WhiteSpaceInstruction的翻译是带有[本地名称]“whiteSpace”的元素项。

An attribute item with the [local name] "action" SHALL be added to the [attributes] of the <whiteSpace> element item. The [normalized value] of this attribute item is the word in the WhiteSpaceAction in the WhiteSpaceInstruction with all letters downcased, i.e., "replace" or "collapse".

带有[本地名称]“操作”的属性项应添加到<whiteSpace>元素项的[属性]中。此属性项的[normalized value]是WhiteSpaceInstruction中的WhiteSpaceAction中的单词,所有字母都小写,即“replace”或“collapse”。

Example

实例

WHITESPACE COLLAPSE

空白折叠

      <whiteSpace action="collapse"/>
        
      <whiteSpace action="collapse"/>
        
6. TargetList Translation
6. 目标翻译

The TargetList production is common to all the encoding instructions.

TargetList产品是所有编码指令的通用产品。

The translation of a TargetList is the concatenation of the translations of each Targets instance in the TargetList.

TargetList的转换是TargetList中每个目标实例的转换的串联。

The translation of a Targets instance is an element item with the [local name] "target". The translation of the TypeIdentification, BuiltInTypeIdentification or IdentifiersInContext in the Targets instance SHALL be added to the [children] and/or [attributes] of the <target> element item.

目标实例的转换是具有[本地名称]“target”的元素项。目标实例中的TypeIdentification、BuiltTypeIdentification或IdentifierInContext的翻译应添加到<target>元素项的[子项]和/或[属性]中。

Aside: A Targets instance that is an ImportedTypesIdentification will have been removed by the preprocessing described in Section 3.

旁白:作为ImportedTypeSideIdentification的目标实例将通过第3节中描述的预处理被删除。

6.1. TypeIdentification Translation
6.1. 类型识别翻译

The translation of a TypeIdentification of the "ALL" form is an element item with the [local name] "allTypes"; otherwise, the translation of a TypeIdentification is the translation of its ModuleAndTypeReference followed by the translation of its ComponentReference, if present, followed by the translation of its QualifyingInformationPart, if present.

“ALL”形式的类型标识的翻译是具有[本地名称]“allTypes”的元素项;否则,类型标识的翻译是其模块和类型参考的翻译,然后是其组件参考(如有)的翻译,然后是其定性信息部分(如有)的翻译。

The translation of a ModuleAndTypeReference is an attribute item with the [local name] "type". The [normalized value] of this attribute item is a qualified name [XMLNS10] for the expanded name corresponding to the typereference in the ModuleAndTypeReference (see Section 5.1 of the specification for ASN.X [ASN.X]).

ModuleAndTypeReference的翻译是具有[本地名称]“类型”的属性项。此属性项的[normalized value]是ModuleAndTypeReference中对应于typereference的扩展名的限定名[XMLNS10](参见ASN.X[ASN.X]规范第5.1节)。

The translation of a ComponentReference is an element item with the [local name] "component". The [children] property of the <component> element item is set to the sequence of character items for a solidus ('/', U+002F) separated list of the translations of the ComponentId instances in the ComponentIdList in the ComponentReference, excluding "ALL" if present. Leading and/or trailing white space character items [ASN.X] MAY be added to the [children] of the <component> element item. White space character items MAY be added immediately before and/or after any character item for the solidus character ('/', U+002F). If the final ComponentId in the ComponentIdList in the ComponentReference is "ALL", then an element item with the [local name] "allTextuallyPresent" SHALL follow the <component> element item.

ComponentReference的翻译是带有[本地名称]“component”的元素项。<component>元素项的[children]属性设置为ComponentReference中ComponentId列表中ComponentId实例翻译的solidus('/',U+002F)分隔列表的字符项序列,不包括“ALL”(如果存在)。可以将前导和/或尾随空格字符项[ASN.X]添加到<component>元素项的[children]。可以在索利多士字符(“/”,U+002F)的任何字符项之前和/或之后立即添加空白字符项。如果ComponentReference中ComponentId列表中的最后一个ComponentId为“ALL”,则带有[本地名称]“allTextuallyPresent”的元素项应位于<component>元素项之后。

If a ComponentId identifies the Type in a NamedType, then the translation of the ComponentId is a qualified name for the expanded name [XMLNS10] of the NamedType [RXEREI]. If the NamedType is subject to an RXER ATTRIBUTE or ATTRIBUTE-REF encoding instruction [RXEREI], or subject to an RXER COMPONENT-REF encoding instruction that references a top-level NamedType that is subject to an RXER ATTRIBUTE encoding instruction, then the qualified name is prefixed with the commercial at character ('@', U+0040).

如果ComponentId标识NamedType中的类型,则ComponentId的翻译是NamedType[RXEREI]的扩展名[XMLNS10]的限定名。如果NamedType受RXER属性或属性-REF编码指令[RXEREI]约束,或受RXER组件-REF编码指令约束,该指令引用受RXER属性编码指令约束的顶级NamedType,则限定名称的前缀为商业at字符('@',U+0040)。

If a ComponentId identifies a Type that is not in a NamedType (i.e., the component type for a SEQUENCE OF Type or SET OF Type), then the translation of the ComponentId is the character string "item".

如果ComponentId标识的类型不在NamedType中(即,类型序列或类型集的组件类型),则ComponentId的转换为字符串“item”。

If a ComponentId does not identify a Type and the ComponentId is an identifier, then the translation of the ComponentId is the identifier.

如果一个组件ID没有标识一个类型,并且该组件ID是一个标识符,那么该组件ID的转换就是标识符。

If a ComponentId does not identify a Type and the ComponentId is "*", then the translation of the ComponentId is the character string "item".

如果ComponentId未标识类型,且ComponentId为“*”,则ComponentId的转换为字符串“item”。

The <component> element item is required to be self-contained [RXER].

<component>元素项要求是自包含的[RXER]。

Aside: An element item is self-contained if all namespace prefixes used by the element item and its contents are declared within the element item.

旁白:如果元素项使用的所有名称空间前缀及其内容都在元素项中声明,则元素项是自包含的。

The translation of a QualifyingInformationPart is the translation of the QualifyingInformation instance in the QualifyingInformationPart.

QualifyingInformationPart的翻译是QualifyingInformationPart中QualifyingInformation实例的翻译。

The translation of a QualifyingInformation instance of the "identifier" form is an element item with the [local name] "identifier". An attribute item with the [local name] "name" SHALL be added to the [attributes] of the <identifier> element item. If the ModuleTypeAndReference and ComponentReference (if present) in the TypeIdentification identify a BIT STRING, ENUMERATED, or INTEGER type where the associated BitStringType, EnumeratedType, or IntegerType (respectively) is subject to an RXER VALUES encoding instruction, then the [normalized value] of the attribute item is the replacement name [RXEREI] for the identifier; otherwise, the [normalized value] is the identifier.

“identifier”表单的QualifyingInformation实例的翻译是具有[本地名称]“identifier”的元素项。带有[本地名称]“名称”的属性项应添加到<identifier>元素项的[属性]中。如果类型标识中的ModuleTypeAndReference和ComponentReference(如果存在)标识位字符串、枚举或整数类型,其中关联的BitStringType、EnumeratedType或IntegerType(分别)受RXER值编码指令的约束,则[normalized value]属性项的名称是标识符的替换名称[RXEREI];否则,[normalized value]就是标识符。

The translation of a QualifyingInformation instance of the "ALL" form is an element item with the [local name] "allIdentifiers".

“ALL”表单的QualifyingInformation实例的翻译是带有[本地名称]“allIdentifiers”的元素项。

Examples

例子

Assume this type assignment:

假定此类型分配:

         MyType ::= SEQUENCE {
             a  SEQUENCE OF CHOICE {
                 b  ENUMERATED { red, green, blue },
                 c  INTEGER
             }
         }
        
         MyType ::= SEQUENCE {
             a  SEQUENCE OF CHOICE {
                 b  ENUMERATED { red, green, blue },
                 c  INTEGER
             }
         }
        

MyType.a.*.ALL

MyType.a.*所有

      <target type="MyType">
       <component> a / item </component>
       <allTextuallyPresent/>
      </target>
        
      <target type="MyType">
       <component> a / item </component>
       <allTextuallyPresent/>
      </target>
        

MyType.a.*.b:ALL

MyType.a.*b:全部

      <target type="MyType">
       <component> a / item / b </component>
       <allIdentifiers/>
      </target>
        
      <target type="MyType">
       <component> a / item / b </component>
       <allIdentifiers/>
      </target>
        
6.2. BuiltInTypeIdentification Translation
6.2. 内置标识翻译

The translation of a BuiltInTypeIdentification is the translation of its BuiltInTypeName followed by the translation of its BuiltInTypeQualifyingInformationPart, if present.

BuiltypeIdentification的翻译是对其BuiltypePename的翻译,然后是对其BuiltypeQualifyingInformation部分(如果存在)的翻译。

If the BuiltInTypeName is "BIT STRING", "BOOLEAN", "CHARACTER STRING", "EMBEDDED PDV", "EXTERNAL", "GeneralizedTime", "INTEGER", "NULL", "ObjectDescriptor", "OBJECT IDENTIFIER", "OCTET STRING", "REAL", "RELATIVE-OID", or "UTCTime", then the translation of the BuiltInTypeName is an attribute item with the [local name] "type". The [normalized value] of this attribute item is a qualified name with the namespace name being "urn:ietf:params:xml:ns:asnx" and the local part being the BuiltInTypeName with any white space separators replaced by a single hyphen character ('-', U+002D), e.g., BIT STRING becomes BIT-STRING.

如果内置Pename是“位字符串”、“布尔值”、“字符串”、“嵌入式PDV”、“外部”、“一般化时间”、“整数”、“空”、“对象描述符”、“对象标识符”、“八位字符串”、“实数”、“相对OID”或“UTCTime”,则内置Pename的翻译是具有[本地名称]“类型”的属性项。此属性项的[normalized value]是一个限定名称,名称空间名称为“urn:ietf:params:xml:ns:asnx”,本地部分为内置的Pename,其中任何空格分隔符都由单个连字符('-',U+002D)替换,例如,位字符串变为位字符串。

If the BuiltInTypeName is a RestrictedCharacterStringType, then the translation of the BuiltInTypeName is an attribute item with the [local name] "type". The [normalized value] of this attribute item is a qualified name with the namespace name being "urn:ietf:params:xml:ns:asnx" and the local part being the RestrictedCharacterStringType, i.e., BMPString, GeneralString,

如果BuiltentyPename是受限CharacterStringType,则BuiltentyPename的翻译是具有[local name]“type”的属性项。此属性项的[normalized value]是一个限定名称,命名空间名称为“urn:ietf:params:xml:ns:asnx”,本地部分为RestrictedCharacterStringType,即BMPString、GeneralString、,

GraphicString, IA5String, ISO646String, NumericString, PrintableString, TeletexString, T61String, UniversalString, UTF8String, VideotexString, or VisibleString.

图形字符串、IA5字符串、ISO646字符串、数字字符串、可打印字符串、电传字符串、T61字符串、通用字符串、UTF8字符串、可视字符串或可视字符串。

If the BuiltInTypeName is "CHOICE", then the translation of the BuiltInTypeName is an element item with the [local name] "choice".

如果BuiltinyPename是“CHOICE”,那么BuiltinyPename的翻译是一个元素项,带有[本地名称]“CHOICE”。

If the BuiltInTypeName is "ENUMERATED", then the translation of the BuiltInTypeName is an element item with the [local name] "enumerated".

如果BuiltinyPename是“ENUMERATED”,则BuiltinyPename的翻译是一个元素项,其[本地名称]“ENUMERATED”。

If the BuiltInTypeName is "INSTANCE OF", then the translation of the BuiltInTypeName is an element item with the [local name] "instanceOf".

如果BuiltinyPename是“INSTANCE OF”,则BuiltinyPename的翻译是一个元素项,其[local name]“instanceOf”。

If the BuiltInTypeName is "SEQUENCE", then the translation of the BuiltInTypeName is an element item with the [local name] "sequence".

如果BuiltEntyPename是“SEQUENCE”,那么BuiltEntyPename的翻译是一个元素项,具有[本地名称]“SEQUENCE”。

If the BuiltInTypeName is "SEQUENCE OF", then the translation of the BuiltInTypeName is an element item with the [local name] "sequenceOf".

如果BuiltinyPename是“sequenceOf”,那么BuiltinyPename的翻译是一个元素项,其[本地名称]“sequenceOf”。

If the BuiltInTypeName is "SET", then the translation of the BuiltInTypeName is an element item with the [local name] "set".

如果BuiltinyPename是“SET”,则BuiltinyPename的翻译是一个元素项,其[本地名称]“SET”。

If the BuiltInTypeName is "SET OF", then the translation of the BuiltInTypeName is an element item with the [local name] "setOf".

如果BuiltinyPename是“SET OF”,则BuiltinyPename的翻译是一个元素项,其[本地名称]“SET OF”。

The translation of a BuiltInTypeQualifyingInformationPart is the translation of the BuiltInTypeQualifyingInformation instance in the BuiltInTypeQualifyingInformationPart.

BuiltTypeQualifyingInformation部件的翻译是BuiltTypeQualifyingInformation部件中BuiltTypeQualifyingInformation实例的翻译。

The translation of a BuiltInTypeQualifyingInformation instance of the "identifier" form is an element item with the [local name] "identifier". An attribute item with the [local name] "name" SHALL be added to the [attributes] of the <identifier> element item. The [normalized value] of this attribute item is the identifier in the BuiltInTypeQualifyingInformation instance.

“identifier”表单的BuiltTypeQualifyingInformation实例的翻译是具有[本地名称]“identifier”的元素项。带有[本地名称]“名称”的属性项应添加到<identifier>元素项的[属性]中。此属性项的[normalized value]是BuiltTypeQualifyingInformation实例中的标识符。

The translation of a BuiltInTypeQualifyingInformation instance of the "ALL" form is an element item with the [local name] "allIdentifiers".

“ALL”表单的BuiltTypeQualifyingInformation实例的翻译是带有[本地名称]“allIdentifiers”的元素项。

Examples

例子

BOOLEAN:true

布尔值:真

      <target xmlns:asnx="urn:ietf:params:xml:ns:asnx"
              type="asnx:BOOLEAN">
       <identifier name="true"/>
      </target>
        
      <target xmlns:asnx="urn:ietf:params:xml:ns:asnx"
              type="asnx:BOOLEAN">
       <identifier name="true"/>
      </target>
        

ENUMERATED:ALL

经点算:全部

      <target>
       <enumerated/>
       <allIdentifiers/>
      </target>
        
      <target>
       <enumerated/>
       <allIdentifiers/>
      </target>
        
6.3. IdentifiersInContext Translation
6.3. 标识语篇翻译

The translation of an IdentifiersInContext instance is an element item with the [local name] "components".

IdentifiersInContext实例的翻译是具有[本地名称]“组件”的元素项。

If the IdentifierList in the IdentifiersInContext instance is not of the "ALL" or "COMPONENTS" form, then for each identifier in the IdentifierList, an element item with the same [local name] (i.e., "attribute", "element", "component", "group", "item", "member", or "simpleContent") as the translation of the NamedType corresponding to the identifier SHALL be appended to the [children] of the <components> element item. An attribute item with the [local name] "name" SHALL be added to the [attributes] of each <attribute>, <element>, <component>, <group>, <item>, <member>, or <simpleContent> element item. The [normalized value] of each of these attribute items is a qualified name for the expanded name [XMLNS10] of the NamedType [RXEREI] corresponding to the identifier.

如果IdentifierInContext实例中的IdentifierList不是“ALL”或“COMPONENTS”形式,则对于IdentifierList中的每个标识符,一个具有相同[本地名称]的元素项(即,“属性”、“元素”、“组件”、“组”、“项”、“成员”或“simpleContent”)与标识符对应的NamedType的翻译应附加到<components>元素项的[子项]中。带有[本地名称]“名称”的属性项应添加到每个<attribute>、<element>、<component>、<group>、<item>、<member>或<simpleContent>元素项的[属性]中。每个属性项的[normalized value]都是对应于标识符的NamedType[RXEREI]的扩展名[XMLNS10]的限定名。

If the IdentifierList in the IdentifiersInContext instance is of the "ALL" form, then an element item with the [local name] "allTextuallyPresent" SHALL be appended to the [children] of the <components> element item.

如果IdentifierInContext实例中的IdentifierList是“ALL”形式,则带有[本地名称]“allTextuallyPresent”的元素项应附加到<components>元素项的[子项]中。

If the IdentifierList in the IdentifiersInContext instance is of the "COMPONENTS" form, then an element item with the [local name] "allFirstLevel" SHALL be appended to the [children] of the <components> element item.

如果IdentifierInContext实例中的IdentifierList是“COMPONENTS”形式,则带有[local name]“allFirstLevel”的元素项应附加到<COMPONENTS>元素项的[children]中。

An element item with the [local name] "in" SHALL be appended to the [children] of the <components> element item. The translation of the TypeIdentification in the IdentifiersInContext instance SHALL be added to the [children] and/or [attributes] of the <in> element item.

带有[本地名称]“in”的元素项应附加到<components>元素项的[子项]中。IdentifiersInContext实例中类型标识的翻译应添加到<in>元素项的[子项]和/或[属性]中。

Example

实例

Assume this type assignment:

假定此类型分配:

         MyType ::= SEQUENCE {
             field     INTEGER,
             fieldAtt  [RXER:NAME AS "field"][RXER:ATTRIBUTE] BOOLEAN
         }
        
         MyType ::= SEQUENCE {
             field     INTEGER,
             fieldAtt  [RXER:NAME AS "field"][RXER:ATTRIBUTE] BOOLEAN
         }
        

field, fieldAtt IN MyType

字段,MyType中的字段att

      <target>
       <components>
        <element name="field"/>
        <attribute name="field"/>
        <in type="MyType"/>
       </components>
      </target>
        
      <target>
       <components>
        <element name="field"/>
        <attribute name="field"/>
        <in type="MyType"/>
       </components>
      </target>
        
7. Security Considerations
7. 安全考虑

The ASN.X translation of an XER encoding instruction is semantically equivalent to the original XER encoding instruction. The security considerations that apply to an application built from an original ASN.1 specification with XER encoding instructions apply equally to an application built from the ASN.X translation of the ASN.1 specification.

XER编码指令的ASN.X翻译在语义上等同于原始XER编码指令。适用于从原始ASN.1规范和XER编码指令构建的应用程序的安全注意事项同样适用于从ASN.1规范的ASN.X翻译构建的应用程序。

See the main specification for ASN.X [ASN.X] for security considerations related to ASN.X modules.

有关ASN.X模块的安全注意事项,请参阅ASN.X[ASN.X]的主要规范。

8. References
8. 工具书类
8.1. Normative References
8.1. 规范性引用文件

[BCP14] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[BCP14]Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[URI] Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform Resource Identifiers (URI): Generic Syntax", STD 66, RFC 3986, January 2005.

[URI]Berners Lee,T.,Fielding,R.和L.Masinter,“统一资源标识符(URI):通用语法”,STD 66,RFC 3986,2005年1月。

[RXER] Legg, S. and D. Prager, "Robust XML Encoding Rules (RXER) for Abstract Syntax Notation One (ASN.1)", RFC 4910, July 2007.

[RXER]Legg,S.和D.Prager,“抽象语法表示法1(ASN.1)的健壮XML编码规则(RXER)”,RFC 4910,2007年7月。

[RXEREI] Legg, S., "Encoding Instructions for the Robust XML Encoding Rules (RXER)", RFC 4911, July 2007.

[RXEREI]Legg,S.,“健壮XML编码规则(RXER)的编码说明”,RFC 4911,2007年7月。

[ASN.X] Legg, S., "Abstract Syntax Notation X (ASN.X)", RFC 4912, July 2007.

[ASN.X]Legg,S.,“抽象语法符号X(ASN.X)”,RFC 4912,2007年7月。

[X.680] ITU-T Recommendation X.680 (07/02) | ISO/IEC 8824-1, Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation.

[X.680]ITU-T建议X.680(07/02)| ISO/IEC 8824-1,信息技术-抽象语法符号一(ASN.1):基本符号规范。

[X.680-1] ITU-T Recommendation X.680 (2002) Amendment 1 (10/03) | ISO/IEC 8824-1:2002/Amd 1:2004, Support for EXTENDED-XER.

[X.680-1]ITU-T建议X.680(2002)修改件1(10/03)| ISO/IEC 8824-1:2002/Amd 1:2004,对扩展XER的支持。

[X.693-1] Amendment 1: (to ITU-T Rec. X.693 | ISO/IEC 8825-4) XER encoding instructions and EXTENDED-XER.

[X.693-1]修改件1:(根据ITU-T Rec.X.693 | ISO/IEC 8825-4)XER编码指令和扩展XER。

[XML10] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E. and F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", W3C Recommendation, http://www.w3.org/TR/2006/REC-xml-20060816, August 2006.

[XML10]Bray,T.,Paoli,J.,Sperberg McQueen,C.,Maler,E.和F.Yergeau,“可扩展标记语言(XML)1.0(第四版)”,W3C建议,http://www.w3.org/TR/2006/REC-xml-20060816,2006年8月。

[XML11] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., Yergeau, F., and J. Cowan, "Extensible Markup Language (XML) 1.1 (Second Edition)", W3C Recommendation, http://www.w3.org/TR/2006/REC-xml11-20060816, August 2006.

[XML11]Bray,T.,Paoli,J.,Sperberg McQueen,C.,Maler,E.,Yergeau,F.,和J.Cowan,“可扩展标记语言(XML)1.1(第二版)”,W3C建议,http://www.w3.org/TR/2006/REC-xml11-20060816,2006年8月。

[XMLNS10] Bray, T., Hollander, D., Layman, A., and R. Tobin, "Namespaces in XML 1.0 (Second Edition)", W3C Recommendation, http://www.w3.org/TR/2006/REC-xml-names-20060816, August 2006.

[XMLNS10]Bray,T.,Hollander,D.,Layman,A.,和R.Tobin,“XML 1.0中的名称空间(第二版)”,W3C建议,http://www.w3.org/TR/2006/REC-xml-names-20060816,2006年8月。

[INFOSET] Cowan, J. and R. Tobin, "XML Information Set (Second Edition)", W3C Recommendation, http://www.w3.org/TR/2004/REC-xml-infoset-20040204, February 2004.

[INFOSET]Cowan,J.和R.Tobin,“XML信息集(第二版)”,W3C建议,http://www.w3.org/TR/2004/REC-xml-infoset-20040204,2004年2月。

[UNICODE] The Unicode Consortium, "The Unicode Standard, Version 4.0", Boston, MA, Addison-Wesley Developers Press, 2003. ISBN 0-321-18578-1.

[UNICODE]UNICODE联盟,“UNICODE标准,4.0版”,马萨诸塞州波士顿,Addison-Wesley开发者出版社,2003年。ISBN 0-321-18578-1。

8.2. Informative References
8.2. 资料性引用

[X.693] ITU-T Recommendation X.693 (12/01) | ISO/IEC 8825-4:2002, Information technology - ASN.1 encoding rules: XML encoding rules (XER).

[X.693]ITU-T建议X.693(12/01)| ISO/IEC 8825-4:2002,信息技术-ASN.1编码规则:XML编码规则(XER)。

Appendix A. ASN.1 for XER Encoding Instruction Notation
附录A.XER编码指令符号ASN.1

This appendix is normative.

本附录为规范性附录。

   XER-EncodingInstructionNotation
       { iso(1) identified-organization(3) dod(6)
         internet(1) private(4) enterprise(1)
         xmled(21472) asnx(1) module(0) xer-ei-notation(3) }
        
   XER-EncodingInstructionNotation
       { iso(1) identified-organization(3) dod(6)
         internet(1) private(4) enterprise(1)
         xmled(21472) asnx(1) module(0) xer-ei-notation(3) }
        
   -- Copyright (C) The IETF Trust (2007).  This version of
   -- this ASN.1 module is part of RFC 4914; see the RFC itself
   -- for full legal notices.
   --
   -- Regarding this ASN.1 module or any portion of it, the author
   -- makes no guarantees and is not responsible for any damage
   -- resulting from its use.  The author grants irrevocable permission
   -- to anyone to use, modify, and distribute it in any way that does
   -- not diminish the rights of anyone else to use, modify, and
   -- distribute it, provided that redistributed derivative works do
   -- not contain misleading author or version information.
   -- Derivative works need not be licensed under similar terms.
        
   -- Copyright (C) The IETF Trust (2007).  This version of
   -- this ASN.1 module is part of RFC 4914; see the RFC itself
   -- for full legal notices.
   --
   -- Regarding this ASN.1 module or any portion of it, the author
   -- makes no guarantees and is not responsible for any damage
   -- resulting from its use.  The author grants irrevocable permission
   -- to anyone to use, modify, and distribute it in any way that does
   -- not diminish the rights of anyone else to use, modify, and
   -- distribute it, provided that redistributed derivative works do
   -- not contain misleading author or version information.
   -- Derivative works need not be licensed under similar terms.
        
   DEFINITIONS
   RXER INSTRUCTIONS
   AUTOMATIC TAGS
   EXTENSIBILITY IMPLIED ::= BEGIN
        
   DEFINITIONS
   RXER INSTRUCTIONS
   AUTOMATIC TAGS
   EXTENSIBILITY IMPLIED ::= BEGIN
        
   IMPORTS
       AnyURI,
       NCName
           FROM AdditionalBasicDefinitions
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) basic(0) }
       Annotation,
       Value
           FROM AbstractSyntaxNotation-X
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) notation(1) }
       TargetList
           FROM TargetListNotation
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0)
                 target-list-notation(4) }
       ;
        
   IMPORTS
       AnyURI,
       NCName
           FROM AdditionalBasicDefinitions
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) basic(0) }
       Annotation,
       Value
           FROM AbstractSyntaxNotation-X
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) notation(1) }
       TargetList
           FROM TargetListNotation
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0)
                 target-list-notation(4) }
       ;
        
   XER-EncodingInstructionAssignmentList ::= SEQUENCE {
       annotation    Annotation OPTIONAL,
       instructions  [GROUP] XER-TargettedEncodingInstructions
   }
        
   XER-EncodingInstructionAssignmentList ::= SEQUENCE {
       annotation    Annotation OPTIONAL,
       instructions  [GROUP] XER-TargettedEncodingInstructions
   }
        
   XER-TargettedEncodingInstructions ::= SEQUENCE SIZE (1..MAX) OF
       targettedInstruction XER-TargettedEncodingInstruction
        
   XER-TargettedEncodingInstructions ::= SEQUENCE SIZE (1..MAX) OF
       targettedInstruction XER-TargettedEncodingInstruction
        
   XER-TargettedEncodingInstruction ::= SEQUENCE {
       instruction  [GROUP] XER-GeneralEncodingInstruction,
       targetList   [GROUP] TargetList OPTIONAL
   }
        
   XER-TargettedEncodingInstruction ::= SEQUENCE {
       instruction  [GROUP] XER-GeneralEncodingInstruction,
       targetList   [GROUP] TargetList OPTIONAL
   }
        
   XER-EncodingInstruction ::= XER-GeneralEncodingInstruction
       (WITH COMPONENTS { ..., globalDefaults ABSENT })
        
   XER-EncodingInstruction ::= XER-GeneralEncodingInstruction
       (WITH COMPONENTS { ..., globalDefaults ABSENT })
        
   XER-GeneralEncodingInstruction ::= [SINGULAR-INSERTIONS] CHOICE {
       anyAttributes        XER-WildcardInstruction,
       not-anyAttributes    XER-NegatingInstruction,
       anyElement           XER-WildcardInstruction,
       not-anyElement       XER-NegatingInstruction,
       attribute            XER-SimpleInstruction,
       not-attribute        XER-NegatingInstruction,
       base64               XER-SimpleInstruction,
       not-base64           XER-NegatingInstruction,
       decimal              XER-SimpleInstruction,
       not-decimal          XER-NegatingInstruction,
       defaultForEmpty      XER-DefaultForEmptyInstruction,
       not-defaultForEmpty  XER-NegatingInstruction,
       embedValues          XER-SimpleInstruction,
       not-embedValues      XER-NegatingInstruction,
       globalDefaults       XER-GlobalDefaultsInstruction,
       list                 XER-SimpleInstruction,
       not-list             XER-NegatingInstruction,
       name                 XER-NameInstruction,
       not-name             XER-NegatingInstruction,
       namespace            XER-NamespaceInstruction,
       not-namespace        XER-NegatingInstruction,
       piOrComment          XER-PIOrCommentInstruction,
       not-piOrComment      XER-NegatingInstruction,
       text                 XER-TextInstruction,
       not-text             XER-NegatingInstruction,
       untagged             XER-SimpleInstruction,
       not-untagged         XER-NegatingInstruction,
       element              XER-NegatingInstruction,
       useNil               XER-SimpleInstruction,
       not-useNil           XER-NegatingInstruction,
       useNumber            XER-SimpleInstruction,
        
   XER-GeneralEncodingInstruction ::= [SINGULAR-INSERTIONS] CHOICE {
       anyAttributes        XER-WildcardInstruction,
       not-anyAttributes    XER-NegatingInstruction,
       anyElement           XER-WildcardInstruction,
       not-anyElement       XER-NegatingInstruction,
       attribute            XER-SimpleInstruction,
       not-attribute        XER-NegatingInstruction,
       base64               XER-SimpleInstruction,
       not-base64           XER-NegatingInstruction,
       decimal              XER-SimpleInstruction,
       not-decimal          XER-NegatingInstruction,
       defaultForEmpty      XER-DefaultForEmptyInstruction,
       not-defaultForEmpty  XER-NegatingInstruction,
       embedValues          XER-SimpleInstruction,
       not-embedValues      XER-NegatingInstruction,
       globalDefaults       XER-GlobalDefaultsInstruction,
       list                 XER-SimpleInstruction,
       not-list             XER-NegatingInstruction,
       name                 XER-NameInstruction,
       not-name             XER-NegatingInstruction,
       namespace            XER-NamespaceInstruction,
       not-namespace        XER-NegatingInstruction,
       piOrComment          XER-PIOrCommentInstruction,
       not-piOrComment      XER-NegatingInstruction,
       text                 XER-TextInstruction,
       not-text             XER-NegatingInstruction,
       untagged             XER-SimpleInstruction,
       not-untagged         XER-NegatingInstruction,
       element              XER-NegatingInstruction,
       useNil               XER-SimpleInstruction,
       not-useNil           XER-NegatingInstruction,
       useNumber            XER-SimpleInstruction,
        

not-useNumber XER-NegatingInstruction, useOrder XER-SimpleInstruction, not-useOrder XER-NegatingInstruction, useQName XER-SimpleInstruction, not-useQName XER-NegatingInstruction, useType XER-SimpleInstruction, not-useType XER-NegatingInstruction, useUnion XER-SimpleInstruction, not-useUnion XER-NegatingInstruction, whiteSpace XER-WhiteSpaceInstruction, not-whiteSpace XER-NegatingInstruction }

不使用数字XER否定指令,不使用顺序XER简单指令,不使用顺序XER否定指令,不使用QName XER简单指令,不使用QName XER否定指令,不使用类型XER简单指令,不使用类型XER否定指令,不使用联合XER简单指令,不使用联合XER否定指令,空白XER空白指令,而不是空白XER否定指令}

   XER-SimpleInstruction ::= SEQUENCE { }
        
   XER-SimpleInstruction ::= SEQUENCE { }
        
   XER-NegatingInstruction ::= XER-SimpleInstruction
        
   XER-NegatingInstruction ::= XER-SimpleInstruction
        
   XER-WildcardInstruction ::= SEQUENCE {
       namespaceRestriction  [GROUP] XER-NamespaceRestriction OPTIONAL
   }
        
   XER-WildcardInstruction ::= SEQUENCE {
       namespaceRestriction  [GROUP] XER-NamespaceRestriction OPTIONAL
   }
        
   XER-NamespaceRestriction ::= [NO-INSERTIONS] CHOICE {
       from    XER-URIList,
       except  XER-URIList
   }
        
   XER-NamespaceRestriction ::= [NO-INSERTIONS] CHOICE {
       from    XER-URIList,
       except  XER-URIList
   }
        
   XER-URIList ::= SEQUENCE SIZE(1..MAX) OF
       uriOrAbsent [GROUP] XER-QuotedURIorAbsent
        
   XER-URIList ::= SEQUENCE SIZE(1..MAX) OF
       uriOrAbsent [GROUP] XER-QuotedURIorAbsent
        
   XER-QuotedURIorAbsent ::= [SINGULAR-INSERTIONS] CHOICE {
       namespace  AnyURI,
       local      NULL
   }
        
   XER-QuotedURIorAbsent ::= [SINGULAR-INSERTIONS] CHOICE {
       namespace  AnyURI,
       local      NULL
   }
        
   XER-DefaultForEmptyInstruction ::= SEQUENCE {
       value  [GROUP] Value
   }
        
   XER-DefaultForEmptyInstruction ::= SEQUENCE {
       value  [GROUP] Value
   }
        
   XER-GlobalDefaultsInstruction ::= SEQUENCE {
       defaultSetting  [GROUP] [SINGULAR-INSERTIONS] CHOICE {
           modifiedEncodings  NULL,
           controlNamespace   XER-ControlNamespace
       }
   }
        
   XER-GlobalDefaultsInstruction ::= SEQUENCE {
       defaultSetting  [GROUP] [SINGULAR-INSERTIONS] CHOICE {
           modifiedEncodings  NULL,
           controlNamespace   XER-ControlNamespace
       }
   }
        
   XER-ControlNamespace ::= SEQUENCE {
       name    [ATTRIBUTE] AnyURI,
       prefix  [ATTRIBUTE] NCName OPTIONAL
        
   XER-ControlNamespace ::= SEQUENCE {
       name    [ATTRIBUTE] AnyURI,
       prefix  [ATTRIBUTE] NCName OPTIONAL
        

}

}

   XER-NameInstruction ::= SEQUENCE {
       newNameOrKeyword  [GROUP] XER-NewNameOrKeyword
   }
        
   XER-NameInstruction ::= SEQUENCE {
       newNameOrKeyword  [GROUP] XER-NewNameOrKeyword
   }
        
   XER-NewNameOrKeyword ::= [NO-INSERTIONS] CHOICE {
       newName     [ATTRIBUTE] UTF8String,
       conversion  [ATTRIBUTE] XER-Conversion
   }
        
   XER-NewNameOrKeyword ::= [NO-INSERTIONS] CHOICE {
       newName     [ATTRIBUTE] UTF8String,
       conversion  [ATTRIBUTE] XER-Conversion
   }
        
   XER-Conversion ::= ENUMERATED {
       capitalized   (0),
       uncapitalized (1),
       uppercased    (2),
       lowercased    (3)
   }
        
   XER-Conversion ::= ENUMERATED {
       capitalized   (0),
       uncapitalized (1),
       uppercased    (2),
       lowercased    (3)
   }
        
   XER-NamespaceInstruction ::= SEQUENCE {
       namespace  [GROUP] XER-NamespaceSpecification OPTIONAL
   }
        
   XER-NamespaceInstruction ::= SEQUENCE {
       namespace  [GROUP] XER-NamespaceSpecification OPTIONAL
   }
        
   XER-NamespaceSpecification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       name    [ATTRIBUTE] AnyURI,
       prefix  [ATTRIBUTE] NCName OPTIONAL
   }
        
   XER-NamespaceSpecification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       name    [ATTRIBUTE] AnyURI,
       prefix  [ATTRIBUTE] NCName OPTIONAL
   }
        
   XER-PIOrCommentInstruction ::= SEQUENCE {
       text      [ATTRIBUTE] UTF8String,
       position  [ATTRIBUTE] XER-Position
   }
        
   XER-PIOrCommentInstruction ::= SEQUENCE {
       text      [ATTRIBUTE] UTF8String,
       position  [ATTRIBUTE] XER-Position
   }
        
   XER-Position ::= ENUMERATED {
       beforeTag   (0),
       beforeValue (1),
       afterValue  (2),
       afterTag    (3)
   }
        
   XER-Position ::= ENUMERATED {
       beforeTag   (0),
       beforeValue (1),
       afterValue  (2),
       afterTag    (3)
   }
        
   XER-TextInstruction ::= SEQUENCE {
       newNameOrKeyword  [GROUP] XER-NewNameOrKeyword OPTIONAL
   }
        
   XER-TextInstruction ::= SEQUENCE {
       newNameOrKeyword  [GROUP] XER-NewNameOrKeyword OPTIONAL
   }
        
   XER-WhiteSpaceInstruction ::= SEQUENCE {
       action  [ATTRIBUTE] XER-WhiteSpaceAction
   }
        
   XER-WhiteSpaceInstruction ::= SEQUENCE {
       action  [ATTRIBUTE] XER-WhiteSpaceAction
   }
        
   XER-WhiteSpaceAction ::= ENUMERATED {
        
   XER-WhiteSpaceAction ::= ENUMERATED {
        

replace (0), collapse (1) }

替换(0),折叠(1)}

ENCODING-CONTROL RXER

编码控制RXER

       SCHEMA-IDENTITY  "urn:oid:1.3.6.1.4.1.21472.1.0.3"
       TARGET-NAMESPACE "urn:ietf:params:xml:ns:asnx" PREFIX "asnx"
        
       SCHEMA-IDENTITY  "urn:oid:1.3.6.1.4.1.21472.1.0.3"
       TARGET-NAMESPACE "urn:ietf:params:xml:ns:asnx" PREFIX "asnx"
        

END

终止

Appendix B. ASN.1 for Target List Notation
附录B目标列表符号ASN.1

This appendix is normative.

本附录为规范性附录。

   TargetListNotation
       { iso(1) identified-organization(3) dod(6)
         internet(1) private(4) enterprise(1)
         xmled(21472) asnx(1) module(0) target-list-notation(4) }
        
   TargetListNotation
       { iso(1) identified-organization(3) dod(6)
         internet(1) private(4) enterprise(1)
         xmled(21472) asnx(1) module(0) target-list-notation(4) }
        
   -- Copyright (C) The IETF Trust (2007).  This version of
   -- this ASN.1 module is part of RFC 4914; see the RFC itself
   -- for full legal notices.
   --
   -- Regarding this ASN.1 module or any portion of it, the author
   -- makes no guarantees and is not responsible for any damage
   -- resulting from its use.  The author grants irrevocable permission
   -- to anyone to use, modify, and distribute it in any way that does
   -- not diminish the rights of anyone else to use, modify, and
   -- distribute it, provided that redistributed derivative works do
   -- not contain misleading author or version information.
   -- Derivative works need not be licensed under similar terms.
        
   -- Copyright (C) The IETF Trust (2007).  This version of
   -- this ASN.1 module is part of RFC 4914; see the RFC itself
   -- for full legal notices.
   --
   -- Regarding this ASN.1 module or any portion of it, the author
   -- makes no guarantees and is not responsible for any damage
   -- resulting from its use.  The author grants irrevocable permission
   -- to anyone to use, modify, and distribute it in any way that does
   -- not diminish the rights of anyone else to use, modify, and
   -- distribute it, provided that redistributed derivative works do
   -- not contain misleading author or version information.
   -- Derivative works need not be licensed under similar terms.
        
   DEFINITIONS
   RXER INSTRUCTIONS
   AUTOMATIC TAGS
   EXTENSIBILITY IMPLIED ::= BEGIN
        
   DEFINITIONS
   RXER INSTRUCTIONS
   AUTOMATIC TAGS
   EXTENSIBILITY IMPLIED ::= BEGIN
        
   IMPORTS
       Markup,
       NCName,
       QName
           FROM AdditionalBasicDefinitions
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) basic(0) }
       ;
        
   IMPORTS
       Markup,
       NCName,
       QName
           FROM AdditionalBasicDefinitions
               { iso(1) identified-organization(3) dod(6)
                 internet(1) private(4) enterprise(1)
                 xmled(21472) asnx(1) module(0) basic(0) }
       ;
        
   TargetList ::= SEQUENCE SIZE (1..MAX) OF target Targets
        
   TargetList ::= SEQUENCE SIZE (1..MAX) OF target Targets
        
   Targets ::= [NO-INSERTIONS] CHOICE {
       allTypes         NULL,
       identifiedTypes  [GROUP] QualifiedTypeIdentification,
       components       IdentifiersInContext,
       allImportsFrom   SEQUENCE { }
           -- allImportsFrom is not used in this version
   }
        
   Targets ::= [NO-INSERTIONS] CHOICE {
       allTypes         NULL,
       identifiedTypes  [GROUP] QualifiedTypeIdentification,
       components       IdentifiersInContext,
       allImportsFrom   SEQUENCE { }
           -- allImportsFrom is not used in this version
   }
        
   -- TypeIdentification and BuiltInTypeIdentification
   QualifiedTypeIdentification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       types          [GROUP] [SINGULAR-INSERTIONS] CHOICE {
           specificType  [GROUP] SpecificTypeIdentification,
           choice        NULL,
           enumerated    NULL,
           instanceOf    NULL,
           sequence      NULL,
           sequenceOf    NULL,
           set           NULL,
           setOf         NULL
       },
       qualification  [GROUP] QualifyingInformationPart OPTIONAL
   }
        
   -- TypeIdentification and BuiltInTypeIdentification
   QualifiedTypeIdentification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       types          [GROUP] [SINGULAR-INSERTIONS] CHOICE {
           specificType  [GROUP] SpecificTypeIdentification,
           choice        NULL,
           enumerated    NULL,
           instanceOf    NULL,
           sequence      NULL,
           sequenceOf    NULL,
           set           NULL,
           setOf         NULL
       },
       qualification  [GROUP] QualifyingInformationPart OPTIONAL
   }
        
   SpecificTypeIdentification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       type                 [ATTRIBUTE] QName,
       component            Markup OPTIONAL,
       allTextuallyPresent  NULL OPTIONAL
   }
        
   SpecificTypeIdentification ::= [HOLLOW-INSERTIONS] SEQUENCE {
       type                 [ATTRIBUTE] QName,
       component            Markup OPTIONAL,
       allTextuallyPresent  NULL OPTIONAL
   }
        
   QualifyingInformationPart ::= [NO-INSERTIONS] CHOICE {
       allIdentifiers  NULL,
       identifier      SEQUENCE {
           name            [ATTRIBUTE] NCName
       }
   }
        
   QualifyingInformationPart ::= [NO-INSERTIONS] CHOICE {
       allIdentifiers  NULL,
       identifier      SEQUENCE {
           name            [ATTRIBUTE] NCName
       }
   }
        
   IdentifiersInContext ::= SEQUENCE {
       identifiers  [GROUP] IdentifierList,
       in           CHOICE {
           allTypes      NULL,
           specificType  [GROUP] SpecificTypeIdentification
       }
   }
        
   IdentifiersInContext ::= SEQUENCE {
       identifiers  [GROUP] IdentifierList,
       in           CHOICE {
           allTypes      NULL,
           specificType  [GROUP] SpecificTypeIdentification
       }
   }
        
   IdentifierList ::= [NO-INSERTIONS] CHOICE {
       list                 [GROUP] IdentifiedComponents,
        
   IdentifierList ::= [NO-INSERTIONS] CHOICE {
       list                 [GROUP] IdentifiedComponents,
        

allTextuallyPresent NULL, allFirstLevel NULL }

allTextuallyPresent NULL,allFirstLevel NULL}

   IdentifiedComponents ::= SEQUENCE SIZE (1..MAX) OF
       identifiedComponent [GROUP] IdentifiedComponent
        
   IdentifiedComponents ::= SEQUENCE SIZE (1..MAX) OF
       identifiedComponent [GROUP] IdentifiedComponent
        
   IdentifiedComponent ::= [SINGULAR-INSERTIONS] CHOICE {
       component      GenericIdentifiedComponent,
       element        GenericIdentifiedComponent,
       attribute      GenericIdentifiedComponent,
       group          GenericIdentifiedComponent,
       member         GenericIdentifiedComponent,
       item           GenericIdentifiedComponent,
       simpleContent  GenericIdentifiedComponent
   }
        
   IdentifiedComponent ::= [SINGULAR-INSERTIONS] CHOICE {
       component      GenericIdentifiedComponent,
       element        GenericIdentifiedComponent,
       attribute      GenericIdentifiedComponent,
       group          GenericIdentifiedComponent,
       member         GenericIdentifiedComponent,
       item           GenericIdentifiedComponent,
       simpleContent  GenericIdentifiedComponent
   }
        
   GenericIdentifiedComponent ::= SEQUENCE {
       name  [ATTRIBUTE] QName
   }
        
   GenericIdentifiedComponent ::= SEQUENCE {
       name  [ATTRIBUTE] QName
   }
        

ENCODING-CONTROL RXER

编码控制RXER

       SCHEMA-IDENTITY  "urn:oid:1.3.6.1.4.1.21472.1.0.4"
       TARGET-NAMESPACE "urn:ietf:params:xml:ns:asnx" PREFIX "tln"
        
       SCHEMA-IDENTITY  "urn:oid:1.3.6.1.4.1.21472.1.0.4"
       TARGET-NAMESPACE "urn:ietf:params:xml:ns:asnx" PREFIX "tln"
        

END

终止

Appendix C. ASN.X for XER Encoding Instruction Notation
附录C.XER编码指令符号ASN.X

This appendix is non-normative.

本附录为非规范性附录。

   <?xml version="1.0"?>
   <asnx:module xmlns:asnx="urn:ietf:params:xml:ns:asnx"
                xmlns:tln="urn:ietf:params:xml:ns:asnx"
                name="XER-EncodingInstructionNotation"
                identifier="1.3.6.1.4.1.21472.1.0.3"
                schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.3"
                targetNamespace="urn:ietf:params:xml:ns:asnx"
                targetPrefix="asnx"
                extensibilityImplied="true">
        
   <?xml version="1.0"?>
   <asnx:module xmlns:asnx="urn:ietf:params:xml:ns:asnx"
                xmlns:tln="urn:ietf:params:xml:ns:asnx"
                name="XER-EncodingInstructionNotation"
                identifier="1.3.6.1.4.1.21472.1.0.3"
                schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.3"
                targetNamespace="urn:ietf:params:xml:ns:asnx"
                targetPrefix="asnx"
                extensibilityImplied="true">
        

<annotation> Copyright (C) The IETF Trust (2007). This version of this ASN.X module is part of RFC 4914; see the RFC itself for full legal notices.

<annotation>版权所有(C)IETF信托基金(2007)。此版本的ASN.X模块是RFC 4914的一部分;有关完整的法律通知,请参见RFC本身。

Regarding this ASN.X module or any portion of it, the author

关于ASN.X模块或其任何部分,作者

makes no guarantees and is not responsible for any damage resulting from its use. The author grants irrevocable permission to anyone to use, modify, and distribute it in any way that does not diminish the rights of anyone else to use, modify, and distribute it, provided that redistributed derivative works do not contain misleading author or version information. Derivative works need not be licensed under similar terms. </annotation>

不作任何保证,也不对其使用造成的任何损坏负责。作者向任何人授予不可撤销的使用、修改和分发许可,允许其以任何方式使用、修改和分发,但不得削弱任何其他人使用、修改和分发的权利,前提是重新分发的衍生作品不包含误导性的作者或版本信息。衍生作品无需根据类似条款获得许可</注释>

    <import name="AbstractSyntaxNotation-X"
            identifier="1.3.6.1.4.1.21472.1.0.1"
            schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.1"
            namespace="urn:ietf:params:xml:ns:asnx"/>
        
    <import name="AbstractSyntaxNotation-X"
            identifier="1.3.6.1.4.1.21472.1.0.1"
            schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.1"
            namespace="urn:ietf:params:xml:ns:asnx"/>
        
    <import name="TargetListNotation"
            identifier="1.3.6.1.4.1.21472.1.0.4"
            schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.4"
            namespace="urn:ietf:params:xml:ns:asnx"/>
        
    <import name="TargetListNotation"
            identifier="1.3.6.1.4.1.21472.1.0.4"
            schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.4"
            namespace="urn:ietf:params:xml:ns:asnx"/>
        
    <namedType name="XER-EncodingInstructionAssignmentList">
     <type>
      <sequence>
       <optional>
        <element name="annotation" type="asnx:Annotation"/>
       </optional>
       <group name="instructions"
              type="asnx:XER-TargettedEncodingInstructions"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-EncodingInstructionAssignmentList">
     <type>
      <sequence>
       <optional>
        <element name="annotation" type="asnx:Annotation"/>
       </optional>
       <group name="instructions"
              type="asnx:XER-TargettedEncodingInstructions"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-TargettedEncodingInstructions">
     <type>
      <sequenceOf minSize="1">
       <element name="targettedInstruction"
                type="asnx:XER-TargettedEncodingInstruction"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="XER-TargettedEncodingInstructions">
     <type>
      <sequenceOf minSize="1">
       <element name="targettedInstruction"
                type="asnx:XER-TargettedEncodingInstruction"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="XER-TargettedEncodingInstruction">
     <type>
      <sequence>
       <group name="instruction"
              type="asnx:XER-GeneralEncodingInstruction"/>
       <optional>
        <group name="targetList" type="tln:TargetList"/>
       </optional>
        
    <namedType name="XER-TargettedEncodingInstruction">
     <type>
      <sequence>
       <group name="instruction"
              type="asnx:XER-GeneralEncodingInstruction"/>
       <optional>
        <group name="targetList" type="tln:TargetList"/>
       </optional>
        
      </sequence>
     </type>
    </namedType>
        
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-EncodingInstruction">
     <type>
      <constrained type="asnx:XER-GeneralEncodingInstruction">
       <withComponents partial="true">
        <element name="globalDefaults" use="absent"/>
       </withComponents>
      </constrained>
     </type>
    </namedType>
        
    <namedType name="XER-EncodingInstruction">
     <type>
      <constrained type="asnx:XER-GeneralEncodingInstruction">
       <withComponents partial="true">
        <element name="globalDefaults" use="absent"/>
       </withComponents>
      </constrained>
     </type>
    </namedType>
        
    <namedType name="XER-GeneralEncodingInstruction">
     <type>
      <choice insertions="singular">
       <element name="anyAttributes"
                type="asnx:XER-WildcardInstruction"/>
       <element name="not-anyAttributes"
                type="asnx:XER-NegatingInstruction"/>
       <element name="anyElement" type="asnx:XER-WildcardInstruction"/>
       <element name="not-anyElement"
                type="asnx:XER-NegatingInstruction"/>
       <element name="attribute" type="asnx:XER-SimpleInstruction"/>
       <element name="not-attribute"
                type="asnx:XER-NegatingInstruction"/>
       <element name="base64" type="asnx:XER-SimpleInstruction"/>
       <element name="not-base64" type="asnx:XER-NegatingInstruction"/>
       <element name="decimal" type="asnx:XER-SimpleInstruction"/>
       <element name="not-decimal" type="asnx:XER-NegatingInstruction"/>
       <element name="defaultForEmpty"
                type="asnx:XER-DefaultForEmptyInstruction"/>
       <element name="not-defaultForEmpty"
                type="asnx:XER-NegatingInstruction"/>
       <element name="embedValues" type="asnx:XER-SimpleInstruction"/>
       <element name="not-embedValues"
                type="asnx:XER-NegatingInstruction"/>
       <element name="globalDefaults"
                type="asnx:XER-GlobalDefaultsInstruction"/>
       <element name="list" type="asnx:XER-SimpleInstruction"/>
       <element name="not-list" type="asnx:XER-NegatingInstruction"/>
       <element name="name" type="asnx:XER-NameInstruction"/>
       <element name="not-name" type="asnx:XER-NegatingInstruction"/>
       <element name="namespace" type="asnx:XER-NamespaceInstruction"/>
       <element name="not-namespace"
                type="asnx:XER-NegatingInstruction"/>
       <element name="piOrComment"
        
    <namedType name="XER-GeneralEncodingInstruction">
     <type>
      <choice insertions="singular">
       <element name="anyAttributes"
                type="asnx:XER-WildcardInstruction"/>
       <element name="not-anyAttributes"
                type="asnx:XER-NegatingInstruction"/>
       <element name="anyElement" type="asnx:XER-WildcardInstruction"/>
       <element name="not-anyElement"
                type="asnx:XER-NegatingInstruction"/>
       <element name="attribute" type="asnx:XER-SimpleInstruction"/>
       <element name="not-attribute"
                type="asnx:XER-NegatingInstruction"/>
       <element name="base64" type="asnx:XER-SimpleInstruction"/>
       <element name="not-base64" type="asnx:XER-NegatingInstruction"/>
       <element name="decimal" type="asnx:XER-SimpleInstruction"/>
       <element name="not-decimal" type="asnx:XER-NegatingInstruction"/>
       <element name="defaultForEmpty"
                type="asnx:XER-DefaultForEmptyInstruction"/>
       <element name="not-defaultForEmpty"
                type="asnx:XER-NegatingInstruction"/>
       <element name="embedValues" type="asnx:XER-SimpleInstruction"/>
       <element name="not-embedValues"
                type="asnx:XER-NegatingInstruction"/>
       <element name="globalDefaults"
                type="asnx:XER-GlobalDefaultsInstruction"/>
       <element name="list" type="asnx:XER-SimpleInstruction"/>
       <element name="not-list" type="asnx:XER-NegatingInstruction"/>
       <element name="name" type="asnx:XER-NameInstruction"/>
       <element name="not-name" type="asnx:XER-NegatingInstruction"/>
       <element name="namespace" type="asnx:XER-NamespaceInstruction"/>
       <element name="not-namespace"
                type="asnx:XER-NegatingInstruction"/>
       <element name="piOrComment"
        
                type="asnx:XER-PIOrCommentInstruction"/>
       <element name="not-piOrComment"
                type="asnx:XER-NegatingInstruction"/>
       <element name="text" type="asnx:XER-TextInstruction"/>
       <element name="not-text" type="asnx:XER-NegatingInstruction"/>
       <element name="untagged" type="asnx:XER-SimpleInstruction"/>
       <element name="not-untagged"
                type="asnx:XER-NegatingInstruction"/>
       <element name="element" type="asnx:XER-NegatingInstruction"/>
       <element name="useNil" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useNil" type="asnx:XER-NegatingInstruction"/>
       <element name="useNumber" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useNumber"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useOrder" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useOrder"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useQName" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useQName"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useType" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useType" type="asnx:XER-NegatingInstruction"/>
       <element name="useUnion" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useUnion"
                type="asnx:XER-NegatingInstruction"/>
       <element name="whiteSpace"
                type="asnx:XER-WhiteSpaceInstruction"/>
       <element name="not-whiteSpace"
                type="asnx:XER-NegatingInstruction"/>
      </choice>
     </type>
    </namedType>
        
                type="asnx:XER-PIOrCommentInstruction"/>
       <element name="not-piOrComment"
                type="asnx:XER-NegatingInstruction"/>
       <element name="text" type="asnx:XER-TextInstruction"/>
       <element name="not-text" type="asnx:XER-NegatingInstruction"/>
       <element name="untagged" type="asnx:XER-SimpleInstruction"/>
       <element name="not-untagged"
                type="asnx:XER-NegatingInstruction"/>
       <element name="element" type="asnx:XER-NegatingInstruction"/>
       <element name="useNil" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useNil" type="asnx:XER-NegatingInstruction"/>
       <element name="useNumber" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useNumber"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useOrder" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useOrder"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useQName" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useQName"
                type="asnx:XER-NegatingInstruction"/>
       <element name="useType" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useType" type="asnx:XER-NegatingInstruction"/>
       <element name="useUnion" type="asnx:XER-SimpleInstruction"/>
       <element name="not-useUnion"
                type="asnx:XER-NegatingInstruction"/>
       <element name="whiteSpace"
                type="asnx:XER-WhiteSpaceInstruction"/>
       <element name="not-whiteSpace"
                type="asnx:XER-NegatingInstruction"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-SimpleInstruction">
     <type>
      <sequence/>
     </type>
    </namedType>
        
    <namedType name="XER-SimpleInstruction">
     <type>
      <sequence/>
     </type>
    </namedType>
        
    <namedType name="XER-NegatingInstruction"
               type="asnx:XER-SimpleInstruction"/>
        
    <namedType name="XER-NegatingInstruction"
               type="asnx:XER-SimpleInstruction"/>
        
    <namedType name="XER-WildcardInstruction">
     <type>
      <sequence>
       <optional>
        <group name="namespaceRestriction"
               type="asnx:XER-NamespaceRestriction"/>
        
    <namedType name="XER-WildcardInstruction">
     <type>
      <sequence>
       <optional>
        <group name="namespaceRestriction"
               type="asnx:XER-NamespaceRestriction"/>
        
       </optional>
      </sequence>
     </type>
    </namedType>
        
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NamespaceRestriction">
     <type>
      <choice insertions="none">
       <element name="from" type="asnx:XER-URIList"/>
       <element name="except" type="asnx:XER-URIList"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-NamespaceRestriction">
     <type>
      <choice insertions="none">
       <element name="from" type="asnx:XER-URIList"/>
       <element name="except" type="asnx:XER-URIList"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-URIList">
     <type>
      <sequenceOf minSize="1">
       <group name="uriOrAbsent" type="asnx:XER-QuotedURIorAbsent"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="XER-URIList">
     <type>
      <sequenceOf minSize="1">
       <group name="uriOrAbsent" type="asnx:XER-QuotedURIorAbsent"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="XER-QuotedURIorAbsent">
     <type>
      <choice insertions="singular">
       <element name="namespace" type="asnx:AnyURI"/>
       <element name="local" type="asnx:NULL"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-QuotedURIorAbsent">
     <type>
      <choice insertions="singular">
       <element name="namespace" type="asnx:AnyURI"/>
       <element name="local" type="asnx:NULL"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-DefaultForEmptyInstruction">
     <type>
      <sequence>
       <group name="value" type="asnx:Value"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-DefaultForEmptyInstruction">
     <type>
      <sequence>
       <group name="value" type="asnx:Value"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-GlobalDefaultsInstruction">
     <type>
      <sequence>
       <group name="defaultSetting">
        <type>
         <choice insertions="singular">
          <element name="modifiedEncodings" type="asnx:NULL"/>
          <element name="controlNamespace"
                   type="asnx:XER-ControlNamespace"/>
        
    <namedType name="XER-GlobalDefaultsInstruction">
     <type>
      <sequence>
       <group name="defaultSetting">
        <type>
         <choice insertions="singular">
          <element name="modifiedEncodings" type="asnx:NULL"/>
          <element name="controlNamespace"
                   type="asnx:XER-ControlNamespace"/>
        
         </choice>
        </type>
       </group>
      </sequence>
     </type>
    </namedType>
        
         </choice>
        </type>
       </group>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-ControlNamespace">
     <type>
      <sequence>
       <attribute name="name" type="asnx:AnyURI"/>
       <optional>
        <attribute name="prefix" type="asnx:NCName"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-ControlNamespace">
     <type>
      <sequence>
       <attribute name="name" type="asnx:AnyURI"/>
       <optional>
        <attribute name="prefix" type="asnx:NCName"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NameInstruction">
     <type>
      <sequence>
       <group name="newNameOrKeyword" type="asnx:XER-NewNameOrKeyword"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NameInstruction">
     <type>
      <sequence>
       <group name="newNameOrKeyword" type="asnx:XER-NewNameOrKeyword"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NewNameOrKeyword">
     <type>
      <choice insertions="none">
       <attribute name="newName" type="asnx:UTF8String"/>
       <attribute name="conversion" type="asnx:XER-Conversion"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-NewNameOrKeyword">
     <type>
      <choice insertions="none">
       <attribute name="newName" type="asnx:UTF8String"/>
       <attribute name="conversion" type="asnx:XER-Conversion"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="XER-Conversion">
     <type>
      <enumerated>
       <enumeration name="capitalized" number="0"/>
       <enumeration name="uncapitalized" number="1"/>
       <enumeration name="uppercased" number="2"/>
       <enumeration name="lowercased" number="3"/>
      </enumerated>
     </type>
    </namedType>
        
    <namedType name="XER-Conversion">
     <type>
      <enumerated>
       <enumeration name="capitalized" number="0"/>
       <enumeration name="uncapitalized" number="1"/>
       <enumeration name="uppercased" number="2"/>
       <enumeration name="lowercased" number="3"/>
      </enumerated>
     </type>
    </namedType>
        
    <namedType name="XER-NamespaceInstruction">
     <type>
        
    <namedType name="XER-NamespaceInstruction">
     <type>
        
      <sequence>
       <optional>
        <group name="namespace" type="asnx:XER-NamespaceSpecification"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
      <sequence>
       <optional>
        <group name="namespace" type="asnx:XER-NamespaceSpecification"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NamespaceSpecification">
     <type>
      <sequence insertions="hollow">
       <attribute name="name" type="asnx:AnyURI"/>
       <optional>
        <attribute name="prefix" type="asnx:NCName"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-NamespaceSpecification">
     <type>
      <sequence insertions="hollow">
       <attribute name="name" type="asnx:AnyURI"/>
       <optional>
        <attribute name="prefix" type="asnx:NCName"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-PIOrCommentInstruction">
     <type>
      <sequence>
       <attribute name="text" type="asnx:UTF8String"/>
       <attribute name="position" type="asnx:XER-Position"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-PIOrCommentInstruction">
     <type>
      <sequence>
       <attribute name="text" type="asnx:UTF8String"/>
       <attribute name="position" type="asnx:XER-Position"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-Position">
     <type>
      <enumerated>
       <enumeration name="beforeTag" number="0"/>
       <enumeration name="beforeValue" number="1"/>
       <enumeration name="afterValue" number="2"/>
       <enumeration name="afterTag" number="3"/>
      </enumerated>
     </type>
    </namedType>
        
    <namedType name="XER-Position">
     <type>
      <enumerated>
       <enumeration name="beforeTag" number="0"/>
       <enumeration name="beforeValue" number="1"/>
       <enumeration name="afterValue" number="2"/>
       <enumeration name="afterTag" number="3"/>
      </enumerated>
     </type>
    </namedType>
        
    <namedType name="XER-TextInstruction">
     <type>
      <sequence>
       <optional>
        <group name="newNameOrKeyword"
               type="asnx:XER-NewNameOrKeyword"/>
       </optional>
      </sequence>
     </type>
        
    <namedType name="XER-TextInstruction">
     <type>
      <sequence>
       <optional>
        <group name="newNameOrKeyword"
               type="asnx:XER-NewNameOrKeyword"/>
       </optional>
      </sequence>
     </type>
        
    </namedType>
        
    </namedType>
        
    <namedType name="XER-WhiteSpaceInstruction">
     <type>
      <sequence>
       <attribute name="action" type="asnx:XER-WhiteSpaceAction"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-WhiteSpaceInstruction">
     <type>
      <sequence>
       <attribute name="action" type="asnx:XER-WhiteSpaceAction"/>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="XER-WhiteSpaceAction">
     <type>
      <enumerated>
       <enumeration name="replace" number="0"/>
       <enumeration name="collapse" number="1"/>
      </enumerated>
     </type>
    </namedType>
        
    <namedType name="XER-WhiteSpaceAction">
     <type>
      <enumerated>
       <enumeration name="replace" number="0"/>
       <enumeration name="collapse" number="1"/>
      </enumerated>
     </type>
    </namedType>
        
   </asnx:module>
        
   </asnx:module>
        
Appendix D. ASN.X for Target List Notation
附录D.ASN.X目标列表符号

This appendix is non-normative.

本附录为非规范性附录。

   <?xml version="1.0"?>
   <asnx:module xmlns:asnx="urn:ietf:params:xml:ns:asnx"
                xmlns:tln="urn:ietf:params:xml:ns:asnx"
                name="TargetListNotation"
                identifier="1.3.6.1.4.1.21472.1.0.4"
                schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.4"
                targetNamespace="urn:ietf:params:xml:ns:asnx"
                targetPrefix="tln"
                extensibilityImplied="true">
        
   <?xml version="1.0"?>
   <asnx:module xmlns:asnx="urn:ietf:params:xml:ns:asnx"
                xmlns:tln="urn:ietf:params:xml:ns:asnx"
                name="TargetListNotation"
                identifier="1.3.6.1.4.1.21472.1.0.4"
                schemaIdentity="urn:oid:1.3.6.1.4.1.21472.1.0.4"
                targetNamespace="urn:ietf:params:xml:ns:asnx"
                targetPrefix="tln"
                extensibilityImplied="true">
        

<annotation> Copyright (C) The IETF Trust (2007). This version of this ASN.X module is part of RFC 4914; see the RFC itself for full legal notices.

<annotation>版权所有(C)IETF信托基金(2007)。此版本的ASN.X模块是RFC 4914的一部分;有关完整的法律通知,请参见RFC本身。

Regarding this ASN.X module or any portion of it, the author makes no guarantees and is not responsible for any damage resulting from its use. The author grants irrevocable permission to anyone to use, modify, and distribute it in any way that does not diminish the rights of anyone else to use, modify, and distribute it, provided that redistributed derivative works do not contain misleading author or version information. Derivative works need not be licensed under similar terms.

对于本ASN.X模块或其任何部分,作者不作任何保证,也不对其使用造成的任何损坏负责。作者向任何人授予不可撤销的使用、修改和分发许可,允许其以任何方式使用、修改和分发,但不得削弱任何其他人使用、修改和分发的权利,前提是重新分发的衍生作品不包含误导性的作者或版本信息。衍生作品无需根据类似条款获得许可。

    </annotation>
        
    </annotation>
        
    <namedType name="TargetList">
     <type>
      <sequenceOf minSize="1">
       <element name="target" type="tln:Targets"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="TargetList">
     <type>
      <sequenceOf minSize="1">
       <element name="target" type="tln:Targets"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="Targets">
     <type>
      <choice insertions="none">
       <element name="allTypes" type="asnx:NULL"/>
       <group name="identifiedTypes"
              type="tln:QualifiedTypeIdentification"/>
       <element name="components" type="tln:IdentifiersInContext"/>
       <element name="allImportsFrom">
        <annotation>
         allImportsFrom is not used in this version
        </annotation>
        <type>
         <sequence/>
        </type>
       </element>
      </choice>
     </type>
    </namedType>
        
    <namedType name="Targets">
     <type>
      <choice insertions="none">
       <element name="allTypes" type="asnx:NULL"/>
       <group name="identifiedTypes"
              type="tln:QualifiedTypeIdentification"/>
       <element name="components" type="tln:IdentifiersInContext"/>
       <element name="allImportsFrom">
        <annotation>
         allImportsFrom is not used in this version
        </annotation>
        <type>
         <sequence/>
        </type>
       </element>
      </choice>
     </type>
    </namedType>
        
    <namedType name="QualifiedTypeIdentification">
     <annotation>
      TypeIdentification and BuiltInTypeIdentification
     </annotation>
     <type>
      <sequence insertions="hollow">
       <group name="types">
        <type>
         <choice insertions="singular">
          <group name="specificType"
                 type="tln:SpecificTypeIdentification"/>
          <element name="choice" type="asnx:NULL"/>
          <element name="enumerated" type="asnx:NULL"/>
          <element name="instanceOf" type="asnx:NULL"/>
          <element name="sequence" type="asnx:NULL"/>
          <element name="sequenceOf" type="asnx:NULL"/>
          <element name="set" type="asnx:NULL"/>
          <element name="setOf" type="asnx:NULL"/>
         </choice>
        
    <namedType name="QualifiedTypeIdentification">
     <annotation>
      TypeIdentification and BuiltInTypeIdentification
     </annotation>
     <type>
      <sequence insertions="hollow">
       <group name="types">
        <type>
         <choice insertions="singular">
          <group name="specificType"
                 type="tln:SpecificTypeIdentification"/>
          <element name="choice" type="asnx:NULL"/>
          <element name="enumerated" type="asnx:NULL"/>
          <element name="instanceOf" type="asnx:NULL"/>
          <element name="sequence" type="asnx:NULL"/>
          <element name="sequenceOf" type="asnx:NULL"/>
          <element name="set" type="asnx:NULL"/>
          <element name="setOf" type="asnx:NULL"/>
         </choice>
        
        </type>
       </group>
       <optional>
        <group name="qualification"
               type="tln:QualifyingInformationPart"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
        </type>
       </group>
       <optional>
        <group name="qualification"
               type="tln:QualifyingInformationPart"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="SpecificTypeIdentification">
     <type>
      <sequence insertions="hollow">
       <attribute name="type" type="asnx:QName"/>
       <optional>
        <element name="component" type="asnx:Markup"/>
       </optional>
       <optional>
        <element name="allTextuallyPresent" type="asnx:NULL"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="SpecificTypeIdentification">
     <type>
      <sequence insertions="hollow">
       <attribute name="type" type="asnx:QName"/>
       <optional>
        <element name="component" type="asnx:Markup"/>
       </optional>
       <optional>
        <element name="allTextuallyPresent" type="asnx:NULL"/>
       </optional>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="QualifyingInformationPart">
     <type>
      <choice insertions="none">
       <element name="allIdentifiers" type="asnx:NULL"/>
       <element name="identifier">
        <type>
         <sequence>
          <attribute name="name" type="asnx:NCName"/>
         </sequence>
        </type>
       </element>
      </choice>
     </type>
    </namedType>
        
    <namedType name="QualifyingInformationPart">
     <type>
      <choice insertions="none">
       <element name="allIdentifiers" type="asnx:NULL"/>
       <element name="identifier">
        <type>
         <sequence>
          <attribute name="name" type="asnx:NCName"/>
         </sequence>
        </type>
       </element>
      </choice>
     </type>
    </namedType>
        
    <namedType name="IdentifiersInContext">
     <type>
      <sequence>
       <group name="identifiers" type="tln:IdentifierList"/>
       <element name="in">
        <type>
         <choice>
          <element name="allTypes" type="asnx:NULL"/>
          <group name="specificType"
        
    <namedType name="IdentifiersInContext">
     <type>
      <sequence>
       <group name="identifiers" type="tln:IdentifierList"/>
       <element name="in">
        <type>
         <choice>
          <element name="allTypes" type="asnx:NULL"/>
          <group name="specificType"
        
                 type="tln:SpecificTypeIdentification"/>
         </choice>
        </type>
       </element>
      </sequence>
     </type>
    </namedType>
        
                 type="tln:SpecificTypeIdentification"/>
         </choice>
        </type>
       </element>
      </sequence>
     </type>
    </namedType>
        
    <namedType name="IdentifierList">
     <type>
      <choice insertions="none">
       <group name="list" type="tln:IdentifiedComponents"/>
       <element name="allTextuallyPresent" type="asnx:NULL"/>
       <element name="allFirstLevel" type="asnx:NULL"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="IdentifierList">
     <type>
      <choice insertions="none">
       <group name="list" type="tln:IdentifiedComponents"/>
       <element name="allTextuallyPresent" type="asnx:NULL"/>
       <element name="allFirstLevel" type="asnx:NULL"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="IdentifiedComponents">
     <type>
      <sequenceOf minSize="1">
       <group name="identifiedComponent"
              type="tln:IdentifiedComponent"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="IdentifiedComponents">
     <type>
      <sequenceOf minSize="1">
       <group name="identifiedComponent"
              type="tln:IdentifiedComponent"/>
      </sequenceOf>
     </type>
    </namedType>
        
    <namedType name="IdentifiedComponent">
     <type>
      <choice insertions="singular">
       <element name="component" type="tln:GenericIdentifiedComponent"/>
       <element name="element" type="tln:GenericIdentifiedComponent"/>
       <element name="attribute" type="tln:GenericIdentifiedComponent"/>
       <element name="group" type="tln:GenericIdentifiedComponent"/>
       <element name="member" type="tln:GenericIdentifiedComponent"/>
       <element name="item" type="tln:GenericIdentifiedComponent"/>
       <element name="simpleContent"
                type="tln:GenericIdentifiedComponent"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="IdentifiedComponent">
     <type>
      <choice insertions="singular">
       <element name="component" type="tln:GenericIdentifiedComponent"/>
       <element name="element" type="tln:GenericIdentifiedComponent"/>
       <element name="attribute" type="tln:GenericIdentifiedComponent"/>
       <element name="group" type="tln:GenericIdentifiedComponent"/>
       <element name="member" type="tln:GenericIdentifiedComponent"/>
       <element name="item" type="tln:GenericIdentifiedComponent"/>
       <element name="simpleContent"
                type="tln:GenericIdentifiedComponent"/>
      </choice>
     </type>
    </namedType>
        
    <namedType name="GenericIdentifiedComponent">
     <type>
      <sequence>
       <attribute name="name" type="asnx:QName"/>
      </sequence>
     </type>
        
    <namedType name="GenericIdentifiedComponent">
     <type>
      <sequence>
       <attribute name="name" type="asnx:QName"/>
      </sequence>
     </type>
        
    </namedType>
        
    </namedType>
        
   </asnx:module>
        
   </asnx:module>
        

Author's Address

作者地址

Dr. Steven Legg eB2Bcom Suite 3, Woodhouse Corporate Centre 935 Station Street Box Hill North, Victoria 3129 AUSTRALIA

Steven Legg博士eB2Bcom澳大利亚维多利亚州博克斯山北站街935号伍德豪斯企业中心3号套房,邮编:3129

   Phone: +61 3 9896 7830
   Fax:   +61 3 9896 7801
   EMail: steven.legg@eb2bcom.com
        
   Phone: +61 3 9896 7830
   Fax:   +61 3 9896 7801
   EMail: steven.legg@eb2bcom.com
        

Full Copyright Statement

完整版权声明

Copyright (C) The IETF Trust (2007).

版权所有(C)IETF信托基金(2007年)。

This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.

本文件受BCP 78中包含的权利、许可和限制的约束,除其中规定外,作者保留其所有权利。

This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

本文件及其包含的信息以“原样”为基础提供,贡献者、他/她所代表或赞助的组织(如有)、互联网协会、IETF信托基金和互联网工程任务组不承担任何明示或暗示的担保,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。

Intellectual Property

知识产权

The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.

IETF对可能声称与本文件所述技术的实施或使用有关的任何知识产权或其他权利的有效性或范围,或此类权利下的任何许可可能或可能不可用的程度,不采取任何立场;它也不表示它已作出任何独立努力来确定任何此类权利。有关RFC文件中权利的程序信息,请参见BCP 78和BCP 79。

Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.

向IETF秘书处披露的知识产权副本和任何许可证保证,或本规范实施者或用户试图获得使用此类专有权利的一般许可证或许可的结果,可从IETF在线知识产权存储库获取,网址为http://www.ietf.org/ipr.

The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.

IETF邀请任何相关方提请其注意任何版权、专利或专利申请,或其他可能涵盖实施本标准所需技术的专有权利。请将信息发送至IETF的IETF-ipr@ietf.org.

Acknowledgement

确认

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC编辑功能的资金目前由互联网协会提供。