1、BSI Standards Publication BS ISO/IEC 29500-3:2015 Information technology Document description and processing languages Office Open XML File Formats Part 3: Markup Compatibility and ExtensibilityBS ISO/IEC 29500-3:2015 BRITISH STANDARD National foreword This British Standard is the UK implementation
2、of ISO/IEC 29500-3:2015. Together with BS ISO/IEC 29500-1, BS ISO/IEC 29500-2 and BS ISO/IEC 29500-4 it supersedes BS ISO/IEC 29500 PARTS 1-4:2012, which will be withdrawn upon publication of the remaining parts. The UK participation in its preparation was entrusted to Technical Committee IST/41, Do
3、cument description and processing language. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Stand
4、ards Institution 2015. Published by BSI Standards Limited 2015 ISBN 978 0 580 85467 5 ICS 35.060; 35.240.30 Compliance with a British Standard cannot confer immunity from legal obligations. This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 J
5、uly 2015. Amendments/corrigenda issued since publication Date T e x t a f f e c t e dBS ISO/IEC 29500-3:2015 Reference number ISO/IEC 29500-3:2015(E) ISO/IEC 2015 INTERNATIONAL STANDARD ISO/IEC 29500-3 Fourth edition 2015-07-01 Information technology Document description and processing languages Off
6、ice Open XML File Formats Part 3: Markup Compatibility and Extensibility Technologies de linformation Description des documents et langages de traitement Formats de fichier “Office Open XML“ Partie 3: Compatibilit et extensibilit du balisage BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) COPYRIGHT
7、PROTECTED DOCUMENT ISO/IEC 2015 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permiss
8、ion. Permission can be requested 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 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2
9、015 All rights reservedBS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) ISO/IEC 2015 All rights reserved i Contents Foreword .iii Introduction .v 1 Scope 1 2 Normative References . 2 3 Terms and Definitions 3 4 Notational Conventions . 4 5 General Description . 5 6 Overview . 6 7 MCE Elements and Att
10、ributes . 8 7.1 Introduction 8 7.2 Ignorable Attribute 8 7.3 ProcessContent Attribute 9 7.4 MustUnderstand Attribute . 9 7.5 AlternateContent Element 10 7.6 Choice Element . 11 7.7 Fallback Element . 11 8 Application-Defined Extension Elements .13 9 Semantic Definitions and Reference Processing Mode
11、l 15 9.1 Overview . 15 9.2 Step 1: Processing the Ignorable and ProcessContent Attributes 16 9.3 Step 2: Processing the AlternateContent, Choice and Fallback Elements 17 9.4 Step 3: Processing the MustUnderstand Attribute and Creating the Output Document . 18 Annex A (informative) Examples .22 A.1 S
12、yntactic Examples 22 A.1.1 General 22 A.1.2 Ignorable Attribute: Multiple Prefixes Bound to a Namespace 22 A.1.3 Ignorable Attribute: Non-conformant Use . 22 A.1.4 ProcessContent Attribute: Multiple Prefixes Bound to a Namespace 23 A.1.5 ProcessContent Attribute: Non-conformant Use . 23 A.1.6 MustUn
13、derstand Attribute: Non-conformant Use . 23 A.1.7 AlternateContent Element: Future Extensibility . 24 A.2 Semantic Examples . 24 A.2.1 General 24 A.2.2 Ignorable Attribute . 24 A.2.3 Ignorable and ProcessContent Attributes. 25 A.2.4 Non-Ignorable and Non-Understood Namespace 27 A.2.5 MustUnderstand
14、Attribute . 27 BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) ii ISO/IEC 2015 All rights reserved A.2.6 AlternateContent Element 28 A.2.7 Ignorable Content Inside Application-Defined Extension Elements . 29 Annex B (informative) Validation Using NVDL 31 Bibliography .33 BS ISO/IEC 29500-3:2015 ISO/
15、IEC 29500-3:2015(E) ISO/IEC 2015 All rights reserved iii 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 participate in
16、the development of International Standards through 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-
17、 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/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main
18、task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75% of the national bodies casting
19、a vote. Attention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 29500-3 was prepared by ISO/IEC JTC 1, Information technology, Subcommittee S
20、C 34, Document description and processing languages. This fourth edition cancels and replaces the third edition (ISO/IEC 29500-3:2012). The major changes from the previous edition include: Specification of the core semantics in one place, and the interactions among semantic constructs and/or the pro
21、cessing model. Removal of the specification of namespace subsumption Expansion of examples, in particular, by providing output documents The intended semantics remains the same as long as namespace subsumption is not used. The major changes in the third edition included: Removed all traces of the co
22、ncept of markup editor Removed the attributes PreserveAttributes and PreserveElements There were no major changes in the second edition. ISO/IEC 29500 consists of the following parts, under the general title Information technology Document description and processing languages Office Open XML File Fo
23、rmats: BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) iv ISO/IEC 2015 All rights reserved Part 1: Fundamentals and Markup Language Reference Part 2: Open Packaging Conventions Part 3: Markup Compatibility and Extensibility Part 4: Transitional Migration Features BS ISO/IEC 29500-3:2015 ISO/IEC 2950
24、0-3:2015(E) ISO/IEC 2015 All rights reserved v Introduction ISO/IEC 29500 specifies a family of XML schemas, collectively called Office Open XML, that define the XML vocabularies for word-processing, spreadsheet, and presentation office documents, as well as the packaging of office documents that co
25、nform to these schemas. The goal is to enable the implementation of the Office Open XML formats by the widest set of tools and platforms, fostering interoperability across office productivity applications and line-of-business systems, as well as to support and strengthen document archival and preser
26、vation, all in a way that is fully compatible with the existing corpus of Microsoft Office documents. BS ISO/IEC 29500-3:2015BS ISO/IEC 29500-3:2015 INTERNATIONAL STANDARD ISO/IEC 29500-3:2015(E) ISO/IEC 2015 All rights reserved 1 Information technology Document description and processing languages
27、Office Open XML File Formats Part 3: Markup Compatibility and Extensibility (MCE) 1 Scope This Part of ISO/IEC 29500 defines a set of conventions for forward compatibility of markup specifications, applicable not only to Office Open XML specifications as described in Parts 1 and 4 of this Standard,
28、but also to other markup specifications. These conventions allow XML documents created by applications of later versions or extensions to be handled by applications of earlier versions. BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) 2 ISO/IEC 2015 All rights reserved 2 Normative References The foll
29、owing referenced standards are indispensable for the application of this standard. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced standard (including any amendments) applies. XML, Tim Bray, Jean Paoli, Eve Maler, C. M. Sperberg-McQu
30、een, and Franois Yergeau (editors). Extensible Markup Language (XML) 1.0, Fifth Edition. World Wide Web Consortium. 2008. http:/www.w3.org/TR/2008/PER-xml-20080205/. Note: Implementations of this Part of ISO/IEC 29500 are not required to support features of XML introduced by the Fifth Edition. end n
31、ote XML Base, Marsh, Jonathan. XML Base. World Wide Web Consortium. 2009. http:/www.w3.org/TR/2009/REC- xmlbase-20090128/ XML Information Set, John Cowan and Richard Tobin (editors). XML Information Set (Second Edition), 4 February 2004. World Wide Web Consortium. http:/www.w3.org/TR/2004/REC-xml-in
32、foset-20040204/ XML Namespaces, Tim Bray, Dave Hollander, Andrew Layman, and Richard Tobin (editors). Namespaces in XML 1.0 (Third Edition), 8 December 2009. World Wide Web Consortium. http:/www.w3.org/TR/2009/REC-xml- names-20091208/ BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) ISO/IEC 2015 All
33、rights reserved 3 3 Terms and Definitions For the purposes of this standard, the following terms and definitions apply: 3.1 application configuration set of names of understood namespaces 3.2 application-defined extension element element defined by a markup specification, the attributes and content
34、of which are not to be processed by an MCE processor 3.3 markup configuration set of expanded names of application-defined extension elements 3.4 markup specification XML-based format specification that allows the use of elements and attributes in the MCE namespace 3.5 MCE processor software used to
35、 process XML documents containing MCE elements and attributes 3.6 mismatch incompatibility between the constraints specified by MCE elements and attributes, and the namespaces specified by an application configuration 3.7 understood namespace namespace, the elements and attributes of which a consumi
36、ng application is able to process BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) 4 ISO/IEC 2015 All rights reserved 4 Notational Conventions The following typographical conventions are used in ISO/IEC 29500: 1) The first occurrence of a new term is written in italics. Example: The text in ISO/IEC 2
37、9500 is divided into normative and informative categories. end example 2) The tag name of an XML element is written using a distinct style and typeface. Example: The bookmarkStart and bookmarkEnd end example 3) The name of an XML attribute is written using a distinct style and typeface. Example: The
38、 dropCap end example 4) The value of an XML attribute is written using a constant-width style. Example: The attribute value of auto end example Except for whole clauses or annexes that are identified as being informative, informative text that is contained within normative text is indicated in the f
39、ollowing ways: 1) Example: end example 2) Note: end note 3) Rationale: end rationale 4) Guidance end guidance BS ISO/IEC 29500-3:2015 ISO/IEC 29500-3:2015(E) ISO/IEC 2015 All rights reserved 5 5 General Description This clause is informative This Part of ISO/IEC 29500 is divided into the following s
40、ubdivisions: Front matter (Clauses 1 5); Overview (Clause 6); Main body (Clauses 7 9); Annexes Examples are provided to illustrate possible forms of the constructions described. References are used to refer to related clauses. Notes are provided to give advice or guidance to implementers or programm
41、ers. The following form the normative pieces of this Part of ISO/IEC 29500: Clauses 1 4, and 7 9 The following make up the informative pieces of this Part of ISO/IEC 29500: Foreword Introduction Clauses 5 and 6 All annexes All notes and examples End of informative text BS ISO/IEC 29500-3:2015 ISO/IE
42、C 29500-3:2015(E) 6 ISO/IEC 2015 All rights reserved 6 Overview This clause is informative This Part of ISO/IEC 29500 describes a set of XML elements and attributes, called MCE elements and attributes, the purpose of which is to enable producing applications to guide consuming applications in their
43、handling of any XML elements and attributes in namespaces not understood by the consuming applications. MCE elements and attributes are intended to enable producing applications to use features added in new versions or extensions of a markup specification in the production of new documents, which ne
44、vertheless remain interoperable with consuming applications that do not understand these features. A producing application includes MCE elements and attributes in documents to indicate to a consuming application how it can adjust the content of the document to exclude those features that are not com
45、patible with the version of the markup specification that it understands, while at the same time allowing consuming applications that do understand these features to make full use of them. MCE elements and attributes define particular types of compatibility and extension constructs, as summarized be
46、low: Namespaces can be declared to be ignorable, indicating that all elements and attributes in those namespaces can be disregarded by consuming applications as if they were not present in the input document, enabling graceful degradation of the document functionality. This allows implementations to
47、 identify some markup as not core to the document content. Elements in ignorable namespaces can be marked for their content to be processed that would otherwise be ignored. This allows producing applications to prevent loss of content nested within an element in an ignorable namespace when processed
48、 by consuming applications that do not understand that namespace but do understand the namespace(s) of the nested content. Namespaces can be declared that must be understood by consuming applications in order to process the document. This allows producing applications to set minimum compatibility requirements for consuming applications. Alternative representations of document content can be specified. This allows producing applications to include content a
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1