ANSI INCITS ISO 9069-1988 Information Processing - SGML Support Facilities - SGML Document Interchange Format (SDIF) (Adopted by INCITS).pdf
《ANSI INCITS ISO 9069-1988 Information Processing - SGML Support Facilities - SGML Document Interchange Format (SDIF) (Adopted by INCITS).pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO 9069-1988 Information Processing - SGML Support Facilities - SGML Document Interchange Format (SDIF) (Adopted by INCITS).pdf(11页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION MEXflYHAPOAHAR OPrAHL43AMR I-IO CTAHAAPTM3Al it represents public text that is part of the document, but is not being inter- changed because the recipient is expected to have a copy. 4.
2、7 related document: An SGML document that is used in conjunction with a main document, but is not referenced as part of its content NOTE - Some examples are: - a covering letter; transmittBl form: - catalog card: formatting procedure: or document profile. 4.8 SDIF: SGML Document 4.9 SDIF identifier:
3、 A sequence number assigned to in the SDIF data stream. Interchange Format unique identifying an entity descriptor NOTE - It corresponds to the position of the entitys exter- nal identifier. For example, the entity descriptor with the SDIF identifier “5” represents the entity identified by the fifth
4、 markup declaration in the data stream that has an external identifier. 4.10 SDIF identifier reference: An entity descrip- tor that contains no text of its own, but instead refers to the SDIF identifier of another entity descriptor. It represents a duplicate declaration of an entity that either has
5、already occurred in the data stream, or that is omitted public text. 4.11 SDIF name: An SGML name assigned in the SDIF data stream to a document or to the data stream as a whole. 4.12 SDIF packer: A program that creates an SDIF data stream. NOTE - The parameters to an SDIF packer usually include the
6、 SDIF name for the data stream, the SDIF names and sys- tem identifiers for the main and related documents, and the order in which the documents should be packed. 4.13 SDIF unpacker: A program that decompos- es an SDIF data stream into its constituent enti- ties. NOTE - If necessary, the SDIF unpack
7、er will modify the sys- tem identifier parameter of markup declarations to be consis- tent with storage addresses in its environment. 4.14 SGML Document Interchange Format: A data structure that enables a main document and its related documents, each of which might be stored in several entities, to
8、be combined into a single data stream for interchange in a manner that will permit the recipient to reconstitute the separate entities. 5 Description of the data stream The SDIF data stream represents one or more SGML document entities, and zero or more SGML subdocument, SGML text, and data entities
9、, as defined in IS0 8879. NOTES 1 These entities comprise a main document, and zero or more related documents, that are to be interchanged together. Each of the documents is subject to its own SGML declaration, whose concrete syntax definition, limits on subdocument nesting, and other restrictions a
10、pply. 2 The application-specific information parameter of the SGML declaration can be used to identify whether the document con- forms to a particular document architecture. 5.1 Organization of the data stream The data stream consists of a field that identifies the character set used for markup thro
11、ughout the data stream, followed by document and entity descriptors that represent the main and related documents. NOTES 1 The formal definition can be found in clause 6. 2 SDIF serves solely to identify and delimit the separate docu- ments, and the entities into which the documents may be divid- ed
12、. No other information is represented directly in SDIF, except for the identification of the character set. In particular, SDIF has no information about the element structure of the documents, as this is found within the encapsulated SGML entities, which may also include layout and presentation info
13、rmation. The document descriptors are in the order speci- fied to the SDIF packer. NOTES 1 See 5.5 for the order of the entity descriptors 2 Documents that are not SGML documents, such as font defini- tions or formatting procedures, will require a simple SGML doc- ument as an identifying shell from
14、which they can be referenced as data entities. 5.2 Data stream character set This field contains one or more designating escape sequences for the data stream character set. The escape sequences shall be formulated in accor- dance with IS0 2022. NOTE - It is usually the originating system character s
15、et. 2 5 Description of the data stream IS0 9069:1988(E) 5.3 SDIF name The main document, related documents, and the data stream shall be assigned SDIF names when the data stream is created. NOTES 1 They do not have SGML entity names, as they are not refer- enced from an SGML document. 2 A documents
16、SDIF name is ordinarily derived from the docu- ments system identifier in the originating system. SDIF names shall conform syntactically to the rules of the SGML reference concrete syntax, and shall be coded in the data stream character set. No two SDIF names in the same data stream can be the same.
17、 NOTE - An application or architecture can establish conven- tions for SDIF names just as it can for names within an SGML entity. For example, an architecture could require that the SDIF name “PROFILE” be used for the related document that con- tains document, management attributes and similar infor
18、mation about the main document. An SDIF name can be accompanied by an explana- tory comment. 5.4 Document descriptor 5.4.1 Included entities A document descriptor contains an SGML docu- ment entitity as defined in IS0 8879. The external identifiers in its markup declarations, and in decla- rations o
19、ccurring in entities directly or indirectly referenced from it, determine the other entities for which entity descriptors will be included in the doc- ument descriptor. NOTES 1 If an external entity is a subdocument, descriptors for the external entities declared within it are also included, and so
20、on for any nested stbdocumnts. 2 Although a data entity contains no SGML markup, it could (in its own notation) contain references to other data entities or SGML subdocument entities. Entity descriptors for such entitles are Included in the data stream only if the entitles are declared in some SGML
21、entity that is Included in the data stream. No entity descriptor is included for the default enti- ty. NOTE - An effect of this sub-sub-clause is to require that there be an entity declaration for every entity that is to be included in the SDIF data stream, including entities referenced from data en
22、tities and entities whose references could otherwise have been defaulted. 5.4.2 Document character set The document character set shall be the same as the data stream character set. NOTE - A document character set is the only character set used for markup in a document. Any number of character sets
23、may be used for data, and they need not be the same for all documents in the data stream. 5.5 SDIF identifier NOTE - An SGML name is not sufficient for unique identifica- tion of an entity in the data stream because the same name can occur in more than one document or subdocument. Therefore, an SDIF
24、 identifier is assigned to each declared external entity in a manner that guarantees uniqueness and reflects the entity structure (in top-down, level-by-level order). The sequence numbers for SDIF identifiers are cod- ed in the data stream character set. They begin at 1, are incremented by 1, and ar
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISO90691988INFORMATIONPROCESSINGSGMLSUPPORTFACILITIESSGMLDOCUMENTINTERCHANGEFORMATSDIFADOPTEDBYINCITSPDF

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