1、 Reference numberISO/IEC 15475-1:2002(E)ISO/IEC 2002Information technology CDIF transfer format Part 1: General rules for syntaxes and encodingsTechnologies de linformation Format de transfert CDIF Partie 1: Rgles gnrales pour les syntaxes et les codages National Standard of CanadaCAN/CSA-ISO/IEC 15
2、475-1:04(ISO/IEC 15475-1:2002)International Standard ISO/IEC 15475-1:2002 (first edition, 2002-11-01) has been adopted without modification(IDT) as CSA Standard CAN/CSA-ISO/IEC 15475-1:04, which has been approved as a National Standard of Canadaby the Standards Council of Canada.ISBN 1-55397-375-5 J
3、anuary 2004The Canadian Standards Association (CSA), The Standards Council of Canada is theunder whose auspices this National Standard has been coordinating body of the National Standards system, produced, was chartered in 1919 and accredited by a federation of independent, autonomousthe Standards C
4、ouncil of Canada to the National organizations working towards the furtherStandards system in 1973. It is a not-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardization in the national interest.engaged in standards development and certificati
5、on The principal objects of the Council are to foster activities. and promote voluntary standardization as a means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and users including manufacturers, health, safety, and welfare of the public, as
6、sisting consumers, retailers, unions and professional and protecting the consumer, facilitating domestic organizations, and governmental agencies. The and international trade, and furthering internationalstandards are used widely by industry and commerce cooperation in the field of standards.and oft
7、en adopted by municipal, provincial, and A National Standard of Canada is a standard whichfederal governments in their regulations, particularly in has been approved by the Standards Council ofthe fields of health, safety, building and construction, Canada and one which reflects a reasonableand the
8、environment. agreement among the views of a number of capableIndividuals, companies, and associations across individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest practicable extent a balance ofdevelopment by volunteering their time and skills
9、 to representation of producers, users, consumers, andCSA Committee work and supporting the Associations others with relevant interests, as may be appropriateobjectives through sustaining memberships. The more to the subject in hand. It normally is a standardthan 7000 committee volunteers and the 20
10、00 which is capable of making a significant and timelysustaining memberships together form CSAs total contribution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National Standard ofSustaining memberships represent a major source of Canada indica
11、tes that a standard conforms to theincome for CSAs standards development activities. criteria and procedures established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not refer to theservices in support of and as an extension to its technical conte
12、nt of the standard; this remains thestandards development activities. To ensure the continuing responsibility of the accreditedintegrity of its certification process, the Association standards-development organization.regularly and continually audits and inspects products Those who have a need to ap
13、ply standards arethat bear the CSA Mark. encouraged to use National Standards of CanadaIn addition to its head office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branch offices in major to periodic review; therefore, users are cautioned centr
14、es across Canada and inspection and testing to obtain the latest edition from the organizationagencies in eight countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The responsibility for approving National Standards meet its corporate mission: CSA i
15、s an independent of Canada rests with theservice organization whose mission is to provide an Standards Council of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods and services through the use of Ottawa, Ontario, K1P 6N7standards, certificat
16、ion and related services to meet Canadanational and international needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaAlthough the intended primary application of this Standard is stated in its Scope, it
17、is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC 15475-1:04 Part 1: General rules for syntaxes and encodingsInformation technology CDIF transfer format Janu
18、ary 2004 Canadian Standards Association CSA/1CAN/CSA-ISO/IEC 15475-1:04Information technology CDIF transfer format Part 1: General rules for syntaxesand encodingsCSA PrefaceStandards development within the Information Technology sector is harmonized with internationalstandards development. Through t
19、he CSA Technical Committee on Information Technology (TCIT),Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 onInformation Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO memberbody for Canada and sponsor of the Canadian Nat
20、ional Committee of the IEC. Also, as a member of theInternational Telecommunication Union (ITU), Canada participates in the International Telegraph andTelephone Consultative Committee (ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the StrategicSteering Com
21、mittee on Information Technology and deemed acceptable for use in Canada. (Acommittee membership list is available on request from the CSA Project Manager.) From time to time,ISO/IEC may publish addenda, corrigenda, etc. The CSA TCIT will review these documents for approvaland publication. For a lis
22、ting, refer to the CSA Information Products catalogue or CSA Info Update orcontact a CSA Sales representative. This Standard has been formally approved, without modification, bythe Technical Committee and has been approved as a National Standard of Canada by the StandardsCouncil of Canada.January 20
23、04 Canadian Standards Association 2004All rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior permission ofthe publisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in thetext, they should be
24、 interpreted as “this National Standard of Canada”. Inquiries regarding this National Standard of Canada should be addressed to Canadian Standards Association 5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N6 1-800-463-6727 416-747-4044www.csa.caReference numberISO/IEC 15475-1:2002(
25、E)ISO/IEC 2002INTERNATIONAL STANDARD ISO/IEC15475-1First edition2002-11-01Information technology CDIF transfer format Part 1: General rules for syntaxes and encodingsTechnologies de linformation Format de transfert CDIF Partie 1: Rgles gnrales pour les syntaxes et les codages ISO/IEC 15475-1:2002(E)
26、 PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file,
27、 parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info rela
28、tive to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/I
29、EC 2002 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in th
30、e country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2002 All rights reservedISO/IEC 15475-1:2002(E) ISO/IEC 2002 All rights reserved iiiContents 1 Scope . 1 2 Conformance .
31、2 3 Normative references 2 4 Terms and definitions . 3 4.1 From other standards 3 4.1.1 ISO/IEC 15474-1 . 3 4.1.2 ISO/IEC 13238-1 . 4 4.2 For this standard . 4 5 Symbols (and abbreviated terms). 4 5.1 Naming and diagramming notations 4 5.2 BNF conventions. 4 5.3 Abbreviations 5 6 CDIF transfer conce
32、pts and facilities . 5 6.1 Separation of syntax and encoding 5 6.2 Independence of architecture components 5 6.3 Data types 5 6.4 Character sets . 5 7 General structure of a CDIF transfer. 6 7.1 Introduction . 6 7.2 Transfer header . 6 7.2.1 Introduction . 6 7.2.2 CDIF signature. 7 7.2.3 Syntax iden
33、tifier. 7 7.2.4 Encoding identifier 8 7.2.5 Character set identifier 8 7.2.6 Transfer header example 8 7.3 Transfer contents 9 7.3.1 Introduction . 9 7.3.2 Header section. 9 7.3.3 Metamodel section 10 7.3.4 Model section 11 Annex A (normative) Transfer header formal grammar 12 Annex B (informative)
34、SQL BNF conventions . 14 ISO/IEC 15475-1:2002(E) iv ISO/IEC 2002 All rights reserved Table of Illustrations Figure 1 Position in the CDIF family of standards 1 Figure 2 The general structure of a CDIF transfer 6 Figure 3 The transfer header. 7 Figure 4 The transfer contents. 9 Figure 5 The transfer
35、contents header section. 9Figure 6 The transfer contents metamodel section 10 Figure 7 The transfer contents model section 11 ISO/IEC 15475-1:2002(E) ISO/IEC 2002 All rights reserved vForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commis
36、sion) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO
37、and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/
38、IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national
39、 bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this part of ISO/IEC 15475 may be the subject of patent rights. ISO and IEC shall not be held resp
40、onsible for identifying any or all such patent rights. ISO/IEC 15475-1 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 7, Software and system engineering. ISO/IEC 15475 consists of the following parts, under the general title Information technology CD
41、IF transfer format : Part 1: General rules for syntaxes and encodings Part 2: Syntax SYNTAX.1 Part 3: Encoding ENCODING.1 Annex A forms a normative part of this part of ISO/IEC 15475. Annex B is for information only.ISO/IEC 15475-1:2002(E) vi ISO/IEC 2002 All rights reserved Introduction This standa
42、rd will assist the vendors and users of modelling tools and metadata repositories in developing mechanisms for interchanging information. This standard specifies an element of a family of related standards. When used together, these standards specify a mechanism for transferring information between
43、tools. ISO/IEC 15474-1:2002, Information technology CDIF framework Part 1: Overview and ISO/IEC 15474-2:2002, Information technology CDIF framework Part 2: Modelling and extensibility should be read first when initially exploring CDIF. The first explains the overall CDIF Architecture and how the fam
44、ily of standards fits together. The second explains the scope, and modelling approach in CDIF. The CDIF Meta-metamodel and extensibility mechanisms are also defined in that document. This document, ISO/IEC 15475-1:2002, Information technology CDIF transfer format Part 1: General rules for syntaxes a
45、nd encodings, defines how CDIF supports multiple exchange syntaxes and encodings, and describes how CDIF metamodels are concretely represented during a transfer. ISO/IEC 15475-2:2002, Information technology CDIF transfer format Part 2: Syntax SYNTAX.1 and ISO/IEC 15475-3:2002, Information technology
46、 CDIF transfer format Part 3: Encoding ENCODING.1. define one specific CDIF syntax and one specific CDIF encoding. This standard has been developed with the wide support and participation of vendors, users, academia and government involved in or familiar with the CASE industry, its products and the
47、general requirements associated with interchanging information between these products. This document is organized into the following Clauses: Clauses 1 to 5 are prescribed ISO/IEC Clauses Clause 6: Concepts and facilities This describes the concepts of separation of syntax and encoding and independe
48、nce of architecture components, and defines the general rules for data types and character sets in a transfer. Clause 7: General structure of the CDIF transfer This describes the purpose of a CDIF transfer, the syntax of the transfer header and the general syntax of a CDIF transfer. Annex A: Transfe
49、r header formal grammar This defines the precise format of the transfer header. Annex B: SQL BNF conventions These conventions are included for ease of reference. INTERNATIONAL STANDARD ISO/IEC 15475-1:2002(E) ISO/IEC 2002 All rights reserved 11 Scope The CDIF family of standards is primarily designed to be used as a description of a mechanism for transferring information between modelling tools. It facilitates a successful transfer when the authors of the import