SAE J 2630-2003 Converting ATIS Message Standards From ASN 1 to XML《从ASN 1至XML转换ATIS信息标准》.pdf
《SAE J 2630-2003 Converting ATIS Message Standards From ASN 1 to XML《从ASN 1至XML转换ATIS信息标准》.pdf》由会员分享,可在线阅读,更多相关《SAE J 2630-2003 Converting ATIS Message Standards From ASN 1 to XML《从ASN 1至XML转换ATIS信息标准》.pdf(47页珍藏版)》请在麦多课文档分享上搜索。
1、SAE Technical Standards Board Rules provide that: This report is published by SAE to advance the state of technical and engineering sciences. The use of this report is entirelyvoluntary, and its applicability and suitability for any particular use, including any patent infringement arising therefrom
2、, is the sole responsibility of the user.SAE reviews each technical report at least every five years at which time it may be reaffirmed, revised, or cancelled. SAE invites your written comments and suggestions.Copyright 2003 SAE InternationalAll rights reserved. No part of this publication may be re
3、produced, stored in a retrieval system or transmitted, in any form or by any means, electronic, mechanical, photocopying,recording, or otherwise, without the prior written permission of SAE.TO PLACE A DOCUMENT ORDER: Tel: 877-606-7323 (inside USA and Canada)Tel: 724-776-4970 (outside USA)Fax: 724-77
4、6-0790Email: custsvcsae.orgSAE WEB ADDRESS: http:/www.sae.orgSURFACEVEHICLESTANDARDJ2630ISSUEDDEC2003Issued 2003-12Converting ATIS Message Standards From ASN.1 to XMLForewordThis document provides a set of conversion rules and recommendations which can be applied to ASN.1to produce XML schema output
5、s. These rules were developed primarily for use with the ITS message setsdeveloped by SAE and other standards organizations. However, these rules may also apply to other ITS messagesets developed by SAE and other standards organizations. The results of applying these rules (a set of XMLschema encodi
6、ngs) is published elsewhere (typically with the source standard). In the case of SAE standards theresults of applying these rules can be found in the revised edition of SAE J2354.TABLE OF CONTENTS1. Scope . 22. References . 33. Definitions. 44. Rules for Converting an ASN.1 Message Set Definition to
7、 an XML Schema. 54.1 Defining a Simple Type in Terms of a Basic Type. 64.2 Defining Basic INTEGER Types . 64.3 Defining INTEGER Types with Minimum and Maximum Values. 74.4 Defining String Types of Minimum and Maximum Length 74.5 Defining String Types of Fixed Length 84.6 Defining ENUMERATED Types 94
8、.7 Defining a Type Definition Embedded in an Element Definition . 114.8 Defining a Complex Type as a SEQUENCE of Elements. 114.9 Defining a Complex Type as a CHOICE of Elements. 124.10 Defining a Complex Type as a SEQUENCE OF Named Types 124.11 Defining a Complex Type as a SEQUENCE OF a Named Type w
9、ithMinimum and Maximum Number of Elements 134.12 Defining a Complex Type as a SEQUENCE OF an Unnamed Type. 134.13 Defining Elements as Instances of Existing Basic Types . 144.14 Defining Elements as Instances of User-Defined Types. 144.15 Defining Elements as Instances of In-Line Defined Types .154.
10、16 Defining BIT STRING Elements . 164.17 Defining OCTET STRING Elements. 174.18 NULL Elements 194.19 Object Identifer (OID) Elements . 19SAE J2630 Issued DEC2003-2-4.20 Optional Elements 194.21 Handling Comments .204.22 Commonly Repeated Element204.23 Defining an Element of a Type Defined in a Diffe
11、rent Schema.214.24 Defining Top-Level Elements 214.25 Beginning and Ending the Schema 225. Discussion of Selected Conversion Rules 225.1 Methods of Defining ENUMERATED Elements 225.2 Alternate Methods of Defining Mixtures of Text Strings and ENUMERATED Elements .245.3 Alternate Method of Defining BI
12、T STRINGSs.265.4 Treatment of IA5String Contents.275.5 Treatment of OCTET STRINGs 275.6 Treatment of Manual ASN.1 Tag .275.7 Treatment of Long ASN.1 Names .285.8 Treatment of ASN.1 Comments 285.9 Use of XML Namespaces to Point to Types Defined in Other Standards .295.10 Expressing the Resulting Sche
13、ma in a Standard .316. New Types Defined for the SAE ATIS J2353/2354 Schema .316.1 Binary Type .326.2 OctetString Type .326.3 NumericString Type 326.4 BoundedString Type .336.5 UndefinedElement Type337. A Complete Example of the Rules in Use.348. BIBLIOGRAPHY .40TABLE 1 XML TRANSLATION BASIC TYPES 6
14、TABLE 2 XML TRANSLATION RECOMMENDATIONS.6TABLE 3 RANGES FOR XML INTEGER TYPES .61. ScopeThis SAE Standard presents a set of rules for transforming an Abstract Syntax Notation (ASN.1)message set definition into an eXtensible Markup Language (XML) schema. The result is intended to be astand-alone XML
15、Schema that is fully consistent with an existing ASN.1 information model. This is a differentgoal from other related work by other standards bodies developing a set of XML encoding rules for ASN.1 orASN.1 encodings for XML Schema. These rules were initially developed in order to produce an XML schem
16、afor the SAE ATIS standard. While other standards may also choose to use these rules, the rules may not beapplicable for all environments.The goal for these transformation rules is twofold. The first goal is to provide a uniform set of such rules that allinterested parties can use. The second goal i
17、s to use such rules to define an adopted schema for travelerinformation that reflects the preferred translation of ASN.1 message sets to XML for use by ITS systemimplementers. The first goal is met by this document. The second goal is met by employing this document toproduce XML information as part
18、of the periodic re-balloting of the SAE ATIS standard. This is a parallelstandards effort with this document.11. At this time a numer o technical data formatting issues are being resolved as part of the re-issue of SAE J2354 (drafts available at the commit-tee forum site t http:/www.SAE.org/). The X
19、ML productions will be included in this parallel effort. SAE J2353 and the message set contents of other ITS standards are being integrated within this single standard to produce a composite data dictionary of all SAE ITS messages.SAE J2630 Issued DEC2003-3-These rules were developed as part of the
20、process to draft an XML version of the ATIS data element andmessage set standards. The original effort focused upon the needs found in the currently adopted October2000 SAE J2354 standard for ATIS message sets. SAE J2354 makes extensive use of elements from theITETMDD work and from ITE-TCIP work. In
21、 addition, the draft “Event Report Message” (ERM) portion of theMessage Sets for External Traffic Management Center Communication (MS/ETMCC) standard was alsoexamined and translated. Message and data elements from the IEEE Incident Management standard (IEEE1512-2000) were also examined. By this effo
22、rt, every major message set of ITS was considered to somedegree to ensure that the resulting translations could be successfully employed by others toward a commonresult. It is intended that the resulting ATIS schema will be voted on as an SAE ATIS standard. Otherstandards-developing organizations ma
23、y also choose to use these rules; however, it is recognized thattranslations may not be necessary in some environments and that these rules may not be applicable to allenvironments within ITS. It is left to each standards-development organization to make such determinations fortheir specific environ
24、ments.Section 4 is the complete set of conversion rules. An example of use for each rule is given, showing an originalASN.1 definition, the resulting XML schema definition, and a sample XML document element where applicable.Section 5 of this document discusses the background of some non-obvious conv
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SAEJ26302003CONVERTINGATISMESSAGESTANDARDSFROMASN1TOXML ASN1 XML 转换 ATIS 信息 标准 PDF

链接地址:http://www.mydoc123.com/p-1027483.html