ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf

上传人:roleaisle130 文档编号:437097 上传时间:2018-11-14 格式:PDF 页数:166 大小:11.79MB
下载 相关 举报
ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf_第1页
第1页 / 共166页
ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf_第2页
第2页 / 共166页
ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf_第3页
第3页 / 共166页
ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf_第4页
第4页 / 共166页
ANSI ISO 8879-1986 Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Adopted by INCITS《信息处理.文本和办公系统.INCITS采纳的标准通用置标语言(SGML)》.pdf_第5页
第5页 / 共166页
亲,该文档总共166页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、International Standard $ 8879 0 a 4 d!E!b INTERNATIONAL ORGANIZATION FOR STANDARDIZATION*MEYHAFOt,HAR OPTAHMSALWR fl0 CTAHAAPTH3Al,b4II*ORGANlSATlON INTERNATIONALE DE NORMALISATION Information processing - Text and office systems - Standard Generalized Markup Language (SGML) Traitement de linformati

2、on - Systkmes bureautiques - Langage standard gh4ralis6 de balisage ISGMLI First edition - 1995-10-15 z UDC 591.3.05 Ref. No. IS0 9979-1995 (EI 8 z Descriptors : data processing, documentation, logical structure, programming (computers), artificial languages, programming languages ai k Price based o

3、n 155 pages Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard.Date of ANSI Approval: 1/13/99Published by American National Standards Institute,25 West 43rd Street, New York, New York 10036Copyright 2002 by Information Technology Industr

4、y Council (ITI).All rights reserved.These materials are subject to copyright claims of InternationalStandardization Organization (ISO), International ElectrotechnicalCommission (IEC), American National Standards Institute (ANSI),and Information Technology Industry Council (ITI). Not for resale.No pa

5、rt of this publication may be reproduced in any form,including an electronic retrieval system, without the prior writtenpermission of ITI. All requests pertaining to this standard should besubmitted to ITI, 1250 Eye Street NW, Washington, DC 20005.Printed in the United States of AmericaCopyright Ame

6、rican National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Foreword IS0 (the International Organization for Standardization) is a worldwide federation of national standards bodies (IS0 member bodies). T

7、he work of preparing International Standards is normally carried out through IS0 technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, govern- mental and non-

8、governmental, in liaison with ISO, also take part in the work. Draft International Standards adopted by the technical committees are circulated to the member bodies for approval before their acceptance as International Standards by the IS0 Council. They are approved in accordance with IS0 procedures

9、 requiring at least 75 % approval by the member bodies voting. International Standard IS0 9979 was prepared by Technical Committee ISO/TC 97, ln- formation processing systems. Users should note that all International Standards undergo revision from time to time and that any reference made herein to

10、any other International Standard implies its latest edition, unless otherwise stated. 0 International Organization for Standardization, 1986 0 Printed in Switzerland ii Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking

11、permitted without license from IHS-,-,-IS0 8879-1986(E) Contents 0 Introduction . 0.1 Background 0.2 Objectives . 0.3 Organization . . 1 1 2 3 1 Scope 4 2 Field of Application . 4 3 References 5 4 Definitions 5 5 Notation . 5.1 Syntactic Tokens 5.2 Ordering and Selection Symbols 6 Entity Structure 2

12、1 6.1 SGML Document . 21 6.2 SGML Entities I 21 6.2.1 S Separator . . 22 6.2.2 Entity End . 22 6.2.3 Implied SGML Declaration . 22 6.3 Non-SGML Data Entity . . . 22 7 Element Structure . 22 7.1 Prolog 22 7.2 Document Element . 22 7.2.1 Limits 22 7.3 Element 22 7.3.1 Omitted Tag Minimization . 22 7.3

13、.1.1 Start-tag Omission . 22 7.3.1.2 End-tag Omission 23 7.3.2 Data Tag Minimization 23 7.3.3 Quantities . 23 7.4 Start-tag 23 7.4.1 Minirnization 23 7.4.1.1 Empty Start-tag . 23 7.4.1.2 Unclosed Start-tag . 24 7.4.1.3 NET-enabling Start-tag . 24 7.4.2 Quantities . 24 7.5 End-tag . 24 7.5.1 Minimiza

14、tion 24 7.5.1.1 Empty End-tag 24 7.5.1.2 Unclosed End-tag 24 7.5.1.3 Null End-tag 24 7.6 Content . 24 7.6.1 Record Boundaries . 25 7.7 Document Type Specification. 25 7.7.1 General Entity References . 25 7.7.2 Parameter Entity References . 25 7.8 Generic Identifier (GI) Specification . 26 7.8.1 Rank

15、Feature 26 7.8.1.1 FIJII Generic Identifier 26 7.8.1.2 RankStem . 26 7.9 Attribute Specification List . 26 20 21 21 . . . III Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-IS0

16、8879-1986(E) 7.9.1 Minimization . 7.9.1.1 Omitted Attribute Specification 7.9.1.2 Omitted Attribute Name . 7.9.2 Quantities 7.9.3 Attribute Value Specification 7.9.3.1 Minimization . 7.9.4 Attribute Value 7.9.4.1 Syntactic Requirements . 7.9.4.2 Fixed Attribute . 7.9.4.3 General Entity Name 7.9.4.4

17、Notation 7.9.4.5 Quantities . . 26 . 26 . 26 . 26 . 26 . 27 . 27 . 27 . 27 . 27 . 27 . 27 . 27 . 28 . 28 . 28 . 28 . 28 . 28 . 28 . 28 . 28 . 28 . 28 . 29 . 29 . 29 . 29 . 29 . 30 . 30 . 30 . 31 . 32 . 32 . 32 . 32 . 32 . 32 . 32 . 34 . 34 . 34 . 34 . 34 . 34 . 34 . 34 . 35 . 35 . 35 . 35 . 35 . 35

18、. 35 . 35 . 35 . 35 . 8 Processing Instruction 8.1 Quantities . 9 Common Constructs 9.1 Replaceable Character Data 9.2 Character Data . 9.2.1 SGML Character 9.2.2 Function Character 9.3 Name . 9.3.1 Quantities 9.4 Entity References . 9.4.1 Quantities . 9.4.2 Limits . 9.4.3 Obfuscatory Entity Referen

19、ces . 9.4.4 Named Entity Reference 9.4.5 Reference End 9.4.6 Short Reference 9.4.6.1 Equivalent Reference String 9.5 Character Reference 9.6 Delimiter Recognition 9.6.1 Recognition Modes 9.6.2 Contextual Constraints . 9.6.3 Order of Recognition . 9.6.4 Delimiters Starting with the Same Character 9.6

20、5 Short References with Blank Sequences 9.6.5.1 Quantities . 9.6.6 Name Characters . 9.7 Markup Suppression . 9.8 Capacity . IO Markup Declarations: General 10.1 Parts of Declarations 10.1.1 Parameter Separator 10.1.2 Parameter Literal . 10.1.2.1 Quantities . 10.1.3 Group . 10.1.3.1 Quantities . 10.

21、1.4 Declaration Separator. . IO-l.5 Associated Element Type . 10.1.6 External Identifier . 10.1.6.1 Quantities . 10.1.6.2 Capacities . 10.1.7 Minimum Literal 10.1.7.1 Quantities . 10.2 Formal Public Identifier. 10.2.1 Owner Identifier . 10.2.1.1 IS0 Owner Identifier 10.2.1.2 Registered Owner Identif

22、ier . . . . iv Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-IS0 8879-l 986(E) 10.2.1.3 Unregistered Owner Identifier . 10.2.2 Text Identifier 10.2.2.1 Public Text Class 10.2.2

23、.2 Public Text Description . 10.2.2.3 Public Text Language 10.2.2.4 Public Text Designating Sequence 10.2.2.5 Public Text Display Version . 10.3 Comment Declaration . 10.4 Marked Section Declaration 10.4.1 Quantities . 10.4.2 Status Keyword Specification . 10.5 Entity Declaration 10.5.1 Entity Name

24、. 10.5.1.1 Quantities 10.5.1.2 Capacities 10.5.2 Entity Text. 10.5.3 Data Text . 10.5.4 Bracketed Text . 10.5.4.1 Quantities 10.55 External Entity Specification . . . . . . . . . . . . . . . 36 . 36 . 36 36 . 36 . 36 37 37 37 . 37 . 37 38 . 38 38 38 38 38 . 39 . 39 . 39 . . . . . . . . . . . . . . 1

25、1 Markup Declarations: Document Type Definition 11.1 Document Type Declaration 11.2 Element Declaration 11.2.1 Element Type 11.2.1.1 Ranked Element . 11.2.1.2 Quantities 11.2.2 Omitted Tag Minimization . 11.2.3 Declared Content. 11.2.4 Content Model . 11.2.4.1 Connector 11.2.4.2 Occurrence Indicator

26、 . 11.2.4.3 Ambiguous Content Model 11.2.4.4 Data Tag Group . 11.2.4.5 Quantities 11.2.5 Exceptions 11.2.5.1 Inclusions 11.2.5.2 Exclusions. . 11.3 Attribute Definition List Declaration . 11.3.1 Quantities . 11.3.2 Attribute Name 11.3.3 Declared Value 11.3.4 Default Value 11.3.4.1 Quantities 11.3.4.

27、2 Capacities 11.4 Notation Declaration 11.5 Short Reference Mapping Declaration . 11.6 Short Reference Use Declaration . 11.6.1 Use in Document Type Declaration . 11.6.2 Use in Document Instance . 11.6.3 Current Map . . . . 39 39 40 40 . 40 . 40 . 40 . 40 . 40 41 41 . 41 . 41 . 42 . 42 . 42 42 42 .

28、42 . 42 43 43 43 . 43 . 43 . 44 . 44 . 44 . 44 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Markup Declarations: Link Process Definition . 12.1 Link Type Declaration . . . . . . . 12.1.1 Simple Link Specification 12.1.2 Implicit Link Specificati

29、on . 12.1.3 Explicit Link Specification . . . . . 12.1.3.1 Limits . . . . . . . . . . 12.1.4 Link Type Declaration Subset . 12.1.4.1 Parameter Entities . 12.1.4.2 Link Attributes . . . 44 . 44 45 45 45 45 45 45 45 . . . . . . . . . V Copyright American National Standards Institute Provided by IHS un

30、der license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-IS0 8879-1986(E) 12.1.4.3 Simple Link. 12.2 Link Set Declaration . 12.2.1 Source Element Specification 12.2.2 Result Element Specification 12.3 Link Set Use Declaration . . 12.3.1 Use in Link Type

31、 Declaration 12.3.2 Use in Document Instance . 12.3.3 Current Link Set 13 SGML Declaration 13.1 Document Character Set . 13.1.1 Character Set Description 13.1.1.1 Base Character Set . 13.1.1.2 Described Character Set Portion 13.1.2 Non-SGML Character Identification . 13.2 Capacity Set. . 13.3 Concre

32、te Syntax Scope 13.4 Concrete Syntax 13.4.1 Public Concrete Syntax . 13.4.2 Shunned Character Number Identification 13.4.3 Syntax-reference Character Set 13.4.4 Function Character Identification 13.4.5 Naming Rules 13.4.6 Delimiter Set . 13.4.6.1 General Delimiters . 13.4.6.2 Short Reference Delimit

33、ers. 13.4.7 Reserved Name Use . 13.4.8 Quantity Set 13.5 Feature Use 13.5.1 Markup Minimization Features 13.5.2 Link Type Features 13.5.3 Other Features 13.6 Application-specific Information . 14 Reference and Core Concrete Syntaxes 15 Conformance . 15.1 Conforming SGML Document 15.1.1 Basic SGML Do

34、cument 15.1.2 Minimal SGML Document 15.1.3 Variant Conforming SGML Document 15.2 Conforming SGML Application 15.2.1 Application Conventions . 15.2.2 Conformance of Documents 15.2.3 Conformance of Documentation . 15.3 Conforming SGML System . 15.3.1 Conformance of Documentation 15.3.2 Conformance to

35、System Declaration . 15.3.3 Support for Reference Concrete Syntax 15.3.4 Support for Reference Capacity Set . 15.3.5 Consistency of Parsing 15.3.6 Application Conventions . 15.4 Validating SGML Parser . 15.4.1 Error Recognition 15.4.2 Identification of SGML Messages . 15.4.3 Content of SGML Messages

36、 15.5 Documentation Requirements 15.5.1 Standard Identification 15.5.2 Identification of SGML Constructs . 15.5.3 Terminology . 15.5.4 Variant Concrete Syntax . . . . . . . . . . . . . . . . . . .: . . . . . . . , 45 45 46 46 46 46 46 46 47 47 47 47 47 48 48 48 49 49 49 50 50 50 51 . 51 51 51 51 52

37、52 52 52 53 53 53 53 53 53 53 53 53 53 53 53 54 54 54 55 55 55 . 56 56 56 56 56 56 56 57 57 vi Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-IS0 8879-1986(E) 15.6 System Declar

38、ation . 15.6.1 Concrete Syntaxes Supported 15.6.1.1 Concrete Syntax Changes . 15.6.1.2 Character Set Translation . 15.6.2 Validation Services . . 57 . 57 . 57 . 57 . 58 Annexes A Introduction to Generalized Markup . . . . . 59 A.1 The Markup Process A.2 Descriptive Markup A.3 Rigorous Markup. A.4 Co

39、nclusion . A.5 Acknowledgments A.6 Bibliography . . . . . . . . . . . . . . . . . . . , . . . . 59 60 . 62 64 65 65 B BasicConcepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 B.l Documents, Document Type Definitions, and Procedures 66 B.1

40、.1 Documents . 66 B.1.2 Document Type Definitions. . 66 8.1.3 Procedures 67 8.2 Markup 67 8.3 Distinguishing Markup from Text . 68 8.3.1 Descriptive Markup Tags . 68 8.3.2 Other Markup . 69 8.3.3 Record Boundaries 69 8.3.3.1 Record Boundaries in Data . 70 B-3.3.2 Record Boundaries in Markup 70 8.4 D

41、ocument Structure . 70 8.4.1 Document Type Definitions. . 70 8.4.2 Element Declarations 71 8.4.2.1 Content Models 71 8.4.2.2 Connectors and Occurrence Indicators . 71 8.4.2.3 Entity References in Models 72 B-4.2.4 Name Groups 72 B-4.2.5 Data Characters 73 8.4.2.6 Empty Content . 73 8.4.2.7 Non-SGML

42、Data 73 B-4.2.8 Summary of Model Delimiters 74 8.5 Attributes 74 8.5.1 Specifying Attributes . 74 8.5.1.1 Names 74 8.5.1.2 Attribute Values 75 8.5.2 Declaring Attributes . 75 8.5.2.1 Attribute Definition Syntax . 75 8.5.2.2 Complex Attribute Values 76 8.5.2.3 Name Token Groups 77 8.5.2.4 Changing De

43、fault Values . 77 B.6 Entities 78 B.6.1 Entity Reference Syntax 78 B.6.2 Declaring Entities . 78 B-6.2.1 Processing Instructions 79 8.6.2.2 Entities with Entity References 79 8.6.2.3 External Entities 79 8.6.2.4 Public Entities 80 8.7 Characters . 80 vii Copyright American National Standards Institu

44、te Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-IS0 8879-1986(E) 8.7.1 Character Classification 8.7.2 Character References . 8.7.3 Using Delimiter Characters as Data . 8.8 Marked Sections . 8.8.1 Ignoring a Marked Section .

45、 8.8.2 Versions of a Single Document . 8.8.3 Unparsable Sections 8.8.4 Temporary Sections 8.8.5 Keyword Specification 8.8.6 Defining a Marked Section as an Entity . B.9 Unique Identifier Attributes B.10 Content Reference Attributes B-11 Content Model Exceptions B.11.1 Included Elements . B-11.2 Excl

46、uded Elements B-12 Document Type Declaration . 8.13 Data Content . 8.13.1 Data Content Representations . B.13.1.1 Character Data (PCDATA, CDATA, and RCDATA) B.13.1.2 Non-SGML Data (NDATA) . 8.13.2 Data Content Notations . B-13.2.1 Notations for Character Data . B-13.2.2 Notations for Non-SGML Data.

47、8.13.2.3 Specifying Data Content Notations . 8.14 Customizing 8.14.1 The SGML Declaration . 8.14.1.1 Optional Features 8.14.1.2 Variant Concrete Syntax . B.14.2 Impact of Customization 8.15 Conformance . C Additional Concepts . 94 C.l Markup Minimization Features . Cl.1 SHORTTAG: Tags With Omitted M

48、arkup C.l.l.l Unclosed Short Tags . C.1.1.2 Empty Tags . C.1.1.3 Attribute Minimization C.1.2 OMITTAG: Tags May be Omitted C.1.2.1 Tag Omission Concepts C.1.2.2 Specifying Minimization C.1.2.3 End-tag Omission: Intruding Start-tag . C.1.2.4 End-tag Omission: End-tag of Containing Element . C.1.2.5 S

49、tart-tag Omission: Contextually Required Element . C.1.2.6 Combination with Short Tag Minimization C.1.2.7 Markup Minimization Considerations . C.1.3 SHORTREF: Short Reference Delimiters May Replace Complete Entity References . C.1.3.1 Typewriter Keyboarding: Generalized WYSIWYG C.1.3.2 Typewriter Keyboarding Example: Defining a Short Reference Map C.1.3.3 Typewriter Keyboarding Example: Activating a Short Reference Map C.1.3.4 Tabular Matter E

展开阅读全文
相关资源
  • ANSI Z97 1-2009 American National Standard for Safety Glazing Materials used in Buildings - Safety Performance Specifications and Methods of Test《建筑物中窗用玻璃材料安全性用.pdfANSI Z97 1-2009 American National Standard for Safety Glazing Materials used in Buildings - Safety Performance Specifications and Methods of Test《建筑物中窗用玻璃材料安全性用.pdf
  • ANSI Z97 1 ERTA-2010 Re ANSI Z97 1 - 2009 Errata《修订版 美国国家标准学会Z97 1-2009标准的勘误表》.pdfANSI Z97 1 ERTA-2010 Re ANSI Z97 1 - 2009 Errata《修订版 美国国家标准学会Z97 1-2009标准的勘误表》.pdf
  • ANSI Z21 40 2a-1997 Gas-Fired Work Activated Air-Conditioning and Heat Pump Appliances (Same as CGA 2 92a)《燃气、工作激活空气调节和热泵器具(同 CGA 2 92a)》.pdfANSI Z21 40 2a-1997 Gas-Fired Work Activated Air-Conditioning and Heat Pump Appliances (Same as CGA 2 92a)《燃气、工作激活空气调节和热泵器具(同 CGA 2 92a)》.pdf
  • ANSI Z124 9-2004 American National Standard for Plastic Urinal Fixtures《塑料小便器用美国国家标准》.pdfANSI Z124 9-2004 American National Standard for Plastic Urinal Fixtures《塑料小便器用美国国家标准》.pdf
  • ANSI Z124 4-2006 American National Standard for Plastic Water Closet Bowls and Tanks《塑料抽水马桶和水箱用美国国家标准》.pdfANSI Z124 4-2006 American National Standard for Plastic Water Closet Bowls and Tanks《塑料抽水马桶和水箱用美国国家标准》.pdf
  • ANSI Z124 3-2005 American National Standard for Plastic Lavatories《塑料洗脸盆用美国国家标准》.pdfANSI Z124 3-2005 American National Standard for Plastic Lavatories《塑料洗脸盆用美国国家标准》.pdf
  • ANSI T1 659-1996 Telecommunications - Mobility Management Application Protocol (MMAP) RCF-RACF Operations《电信 可移动管理应用协议(MMAP) RCF-RACF操作》.pdfANSI T1 659-1996 Telecommunications - Mobility Management Application Protocol (MMAP) RCF-RACF Operations《电信 可移动管理应用协议(MMAP) RCF-RACF操作》.pdf
  • ANSI T1 651-1996 Telecommunications – Mobility Management Application Protocol (MMAP)《电信 可移动性管理应用协议》.pdfANSI T1 651-1996 Telecommunications – Mobility Management Application Protocol (MMAP)《电信 可移动性管理应用协议》.pdf
  • ANSI T1 609-1999 Interworking between the ISDN User-Network Interface Protocol and the Signalling System Number 7 ISDN User Part《电信 ISDN用户间网络接口协议和7号信令系统ISDN用户部分.pdfANSI T1 609-1999 Interworking between the ISDN User-Network Interface Protocol and the Signalling System Number 7 ISDN User Part《电信 ISDN用户间网络接口协议和7号信令系统ISDN用户部分.pdf
  • ANSI T1 605-1991 Integrated Services Digital Network (ISDN) - Basic Access Interface for S and T Reference Points (Layer 1 Specification)《综合服务数字网络(ISDN) S和T基准点的.pdfANSI T1 605-1991 Integrated Services Digital Network (ISDN) - Basic Access Interface for S and T Reference Points (Layer 1 Specification)《综合服务数字网络(ISDN) S和T基准点的.pdf
  • 猜你喜欢
    相关搜索

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

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