ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf

上传人:李朗 文档编号:1256811 上传时间:2019-09-02 格式:PDF 页数:40 大小:255.50KB
下载 相关 举报
ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf_第1页
第1页 / 共40页
ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf_第2页
第2页 / 共40页
ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf_第3页
第3页 / 共40页
ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf_第4页
第4页 / 共40页
ISO IEC 13673-2000 Information technology - Document processing and related communication - Conformance testing for Standard Generalized Markup Language (SGML) .pdf_第5页
第5页 / 共40页
点击查看更多>>
资源描述

1、INTERNATIONAL STANDARD ISO/IEC 13673 First edition 2000-05-01 Information technology Document processing and related communication Conformance testing for Standard Generalized Markup Language (SGML) systems Technologies de linformation Traitement documentaire et communication connexe Tests de confor

2、mit pour langage normalis de balisage gnralis (SGML) Reference number ISO/IEC 13673:2000(E) ISO/IEC 2000ISO/IEC 13673:2000(E) ii ISO/IEC 2000 All rights reserved ISO/IEC 2000 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by

3、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 the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 734 10 79 E-mai

4、l copyrightiso.ch Web www.iso.ch Printed in Switzerland 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 com

5、puter performing the editing. In downloading this file, 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 cre

6、ate this PDF file can be found in the General Info relative 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 th

7、e Central Secretariat at the address given below. ISO/IEC 2000 All rights reserved iii Contents Page 1 Scope. 1 2 Normative references 1 3 Precedence of ISO 8879 . 2 4 Definitions 2 5 Use of SGML test suites 3 6 Test suite documentation. 5 7 Types of tests 7 8 General requirements for individual tes

8、ts 8 9 Test case naming conventions 8 10 Requirements for SGML names and literals 9 11 Conventions for testing string length . 9 12 Source document formatting conventions . 10 13 Test categories 11 14 The Reference Application for SGML Testing (RAST) 12 15 The Reference Application for Capacity Test

9、ing (RACT) 19 16 Test suite reports. 20 17 Testing SDIF data streams 21 Figure 1 A 240-character processing instruction . 10 Annexes A The ISO 8879 Element Structure Information Set (ESIS) 23 B Sample tests and RAST results. 26 ISO/IEC 13673:2000(E)ISO/IEC 13673:2000(E) iv ISO/IEC 2000 All rights re

10、served Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC partici- pate in the development of International Standards throu

11、gh technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also

12、take part in the work. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technic

13、al committee are circulated to national 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 International Standard may be the subject of patent ri

14、ghts. ISO and IEC shall not be held responsible for identifying any or all such patent rights. International Standard ISO/IEC 13673 was prepared by ANSI (as ANSI X3.190) and was adopted, under a special “fast-track procedure”, by Joint Technical Committee ISO/IEC JTC 1, Information technology, in pa

15、rallel with its approval by national bodies of ISO and IEC. Annex A forms a normative part of this International Standard. Annex B is for information only. ISO/IEC 2000 All rights reserved v Introduction ISO 8879:1986 and 8879:1986/A1:1988, Information processing Text and office systems Standard Gen

16、eralized Markup Language (SGML), define when a sys- tem is a conforming SGML system. The determination of whether a system is a conforming SGML system is of value both to potential users of such systems and to their developers. This determination is, however, a complex process. To this end, efforts

17、are underway to develop test suites to validate conformance. Stan- dardization of development and use of test suites assures consistency of results and informs the public of the implications of the tests. Such formalism is provided by this standard, which includes guidelines for the content of indiv

18、idual tests; rigorous conventions for naming test cases and the constructs used within them; formatting and comment conventions; conventions for classifying test cases; conventions for documenting test suites; definition of a Reference Application for SGML Testing (RAST) that indicates how an SGML p

19、arser interprets a test; definition of a Reference Application for Capacity Testing (RACT) that reports a parsers capacity calculations; conventions for reporting a systems performance on a test suite. This standard also addresses conformance to the related standard, ISO 9069:1988, Information Proce

20、ssing SGML support facilities SGML Docu- ment Interchange Format (SDIF), as SDIF is needed to connect the several entities of an SGML document into a single object for interchange within OSI. This standard may be used by those who develop SGML test suites, those who build SGML systems to be evaluate

21、d by such suites, and those who examine an SGML systems performance on a test suite as part of the process of selecting an SGML tool. ISO/IEC 13673:2000(E) ISO/IEC 2000 All rights reserved 1 INTERNATIONAL STANDARD ISO/IEC 13673:2000(E) Information technology Document processing and related communica

22、tion Conformance testing for Standard Generalized Markup Language (SGML) systems 1 Scope This standard addresses the construction and use of test suites for verifying conformance of SGML systems. Its provisions assist those who build test suites, those who build SGML systems to be eval- uated by suc

23、h suites, and those who examine an SGML systems performance on a test suite as part of the process of selecting an SGML tool. In particular, this standard includes: criteria for the organization of test suites, including naming conventions, documentation conventions, and specification of applicable

24、con- crete syntaxes and features. Among other advantages, these conventions facilitate any non-SGML automatic processing that may be convenient for the developers or the users of the tests; NOTE An example of such non-SGML processing is sorting tests by name. a standard form for describing test resu

25、lts that makes clear what has been proven or dis- proven by the tests; the specification of a Reference Application for SGML Testing (RAST) that interprets all markup to allow machine comparison of test results for documents conforming to ISO 8879. RAST indicates in a standard way when tags, process

26、ing instructions, and data are recognized by the parser, replacing references and process- ing markup declarations and marked sections appropriately. RAST tests information likely to be passed by a general-purpose SGML parser to an application but does not test additional informa- tion that some par

27、sers provide; the specification of a Reference Application for Capacity Testing (RACT) that reports a vali- dating parsers capacity calculations. An SGML system that supports this application indicates its ability to report capacity errors regardless of whether it supports variant capacity sets; the

28、 specification of test procedures related to SDIF data streams. This standard applies to the testing only of aspects of SGML implementation and usage for which objective conformance criteria are defined in ISO 8879. NOTE Among the aspects of an SGML system not addressed by this standard are error re

29、covery, phras- ing of error messages, application results, and documentation (including the system declaration). 2 Normative references The following normative documents contain provi- sions which, through reference in this text, constitute provisions of this International Standard. For dated refere

30、nces, subsequent amendments to, or revisions of, any of these publications do not apply. However, parties to agreements based on this International Standard are encouraged to investigate the possibility of applying the most recent editions of the normative documents indi-2 ISO/IEC 2000 All rights re

31、served ISO/IEC 13673:2000(E) cated below. For undated references, the latest edition of the normative document referred to applies. Members of ISO and IEC maintain registers of currently valid International Standards. ISO 646:1983, Information processing ISO 7-bit coded character set for information

32、 interchange ISO 8879:1986, Information processing Text and office systems Standard Generalized Markup Language (SGML) ISO 8879:1986/A1:1988, Information processing Text and office systems Standard Generalized Markup Language (SGML) Amendment 1 ISO 9069:1988, I n f o r m a t i o np r o c e s s i n g

33、S G M L support facilities SGML Document Interchange Format (SDIF) 3 Precedence of ISO 8879 Any discrepancy between any provision of this standard and ISO 8879 should be resolved in accordance with the latter. Furthermore, should any future effective edition of ISO 8879 contradict any provision of t

34、his standard, a test suite for the future version will be considered to conform to this standard only if the discrepancy is resolved in accordance with the effective edition of ISO 8879. In particular, the precedence of ISO 8879 applies to the definitions in clause 4, the description of RAST in clau

35、se 14, and the description of ESIS in annex A. Should there be any internal inconsistencies within this standard between annex A and the remainder, implementors of conforming test suites shall rely on the provisions in annex A. 4 Definitions NOTE None of the terms defined below are used or defined i

36、n ISO 8879. Should such definitions be added to some future version of ISO 8879, the prece- dence of ISO 8879 will apply in accordance with clause 3. 4.1 anomalous test case: A test case that devi- ates from some requirement of ordinary tests because the tested SGML construct is incompati- ble with

37、that requirement. 4.2 application modules: Components of an SGML system other than the parser and entity manager. 4.3 effective edition: The current edition of a standard including any amendments, addenda, or other modifications. 4.4 Element Structure Information Set: Infor- mation comprising the el

38、ement structure that is described by SGML markup (the element structure information set is defined in annex A). 4.5 ESIS: Element Structure Information Set. 4.6 equivalent SGML documents: SGML doc- uments that, when parsed with respect to identical DTDs and LPDs, have an identical ESIS. 4.7 internal

39、 entity: An entity whose replacement text appears in an entity declaration. 4.8 lexicographic order: An order in which dis- tinct strings are arranged by comparing successive letters. One string appears before another if it is a prefix of the second, or if, according to the following conventions, in

40、 the first position where they differ, the character in the first string precedes the char- acter in the second string. Printable characters precede nonprintable characters. One printable character precedes another if the ISO 646 charac- ter number of the first is smaller than the ISO 646 character

41、number of the second. In particular, the space character precedes all other printable char- acters and any other printable character precedes a second one if the first precedes the second char- acter in the list of printable characters given in 4.14. A nonprintable character precedes another if its

42、character number in the document character set is smaller than the character number of the second in the document character set. NOTE For strings consisting only of printable char- acters, this order is independent of concrete syntax. 4.9 major SOO: A statement of objective for sev- eral related tes

43、ts in a test suite. 4.10 markup-sensitive SGML application: An SGML application that can act on SGML markup as well as element structure. 4.11 minor SOO: A statement of objective that describes the particular principle of the SGML lan- guage that distinguishes an individual member of a group of rela

44、ted tests. 4.12 nonprintable character: A character that is not a printable character (see 4.14). ISO/IEC 2000 All rights reserved 3 ISO/IEC 13673:2000(E) 4.13 ordinary test case: A test case that follows the naming, organizing, and formatting conven- tions itemized in this standard and identified a

45、s requirements for ordinary tests (see anomalous test case). 4.14 printable character: A character with ISO 646 character number in the range 32 to 126 inclusive. These characters consist of the space character and all the following: !“#$%?ABCD EFGHIJKLMNOPQRSTUV WXYZ_abcdefgh ijklmnopqrstuvwxyz | 4

46、.15 RACT: Reference Application for Capacity Testing. 4.16 RAST: Reference Application for SGML Testing. 4.17 Reference Application for Capacity Testing: An SGML application that reports capac- ity calculations (defined in clause 15). 4.18 Reference Application for SGML Testing: An SGML application

47、that reports ESIS information (defined in clause 14). 4.19 SOO: Statement of objective. 4.20 statement of objective: A brief description of the aspect of the SGML language explored in an individual test case or a group of related tests. 4.21 structure-controlled SGML application: An SGML application

48、 that operates only on ESIS information and the “APPINFO” parameter of the SGML declaration; a structure-controlled applica- tion operates on the element structure described by SGML markup, never on the markup itself. 4.22 test case (or test): An SGML document included in a test suite. 4.23 tested s

49、ystem: An SGML system that is evaluated by inspection of the results it produces on the test cases of a test suite. 4.24 test suite: A documented collection of SGML documents intended to exercise an SGML system in order to indicate whether the system conforms to the specifications of ISO 8879. 5 Use of SGML test suites Because of the wide variation possible in SGML systems, no single test suite is adequate for testing how well all SGML systems conform to the require- ments o

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1