1、BSI Standards PublicationBS ISO/IEC 26300-1:2015Information technology Open Document Formatfor Office Applications(OpenDocument) v1.2Part 1: OpenDocument SchemaBS ISO/IEC 26300-1:2015 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO/IEC 26300-1:2015. Together wi
2、th BS ISO/IEC 26300-2:2015 and BS ISO/IEC 26300-3:2015 it supersedes BS ISO/IEC 26300:2006+A1:2012, which is withdrawn.The UK participation in its preparation was entrusted to Technical Committee IST/41, Document description and processing language.A list of organizations represented on this committ
3、ee 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 Standards Institution 2015.Published by BSI Standards Limited 2015ISBN 978 0 580 86554 1 ICS 35.240.3
4、0 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 July 2015.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dInformation technology O
5、pen Document Format for Office Applications (OpenDocument) v1.2 Part 1: OpenDocument SchemaTechnologies de linformation Format de document ouvert pour applications de bureau (OpenDocument) v1.2 Partie 1: Titre manqueINTERNATIONAL STANDARDISO/IEC 26300-1Reference number ISO/IEC 26300-1:2015(E)First e
6、dition 2015-07-01 ISO/IEC 2015BS ISO/IEC 26300-1:2015ii ISO/IEC 2015 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2015All 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,
7、 including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCase postale 56 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax +
8、41 22 749 09 47E-mail copyrightiso.orgWeb www.iso.orgPublished in SwitzerlandISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015Open Document Format for Office Applications (OpenDocument) Version 1.2Part 1: OpenDocument SchemaOASIS Standard29 September 2011Specification URIs:This version:http:/docs.oasis
9、-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.odt (Authoritative)http:/docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.pdfhttp:/docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.htmlPrevious version:http:/docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-p
10、art1.odt (Authoritative)http:/docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.pdfhttp:/docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.htmlLatest version:http:/docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.odt (Authoritative)http:/docs.oasis-open.org
11、/office/v1.2/OpenDocument-v1.2-part1.pdfhttp:/docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.htmlTechnical Committee:OASIS Open Document Format for Office Applications (OpenDocument) TCChairs:Rob Weir, IBMMichael Brauer, Oracle CorporationEditors:Patrick Durusau Michael Brauer, Oracle Corpo
12、rationRelated work:OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 1 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015This document is part of the OASIS Open Document Format for Office App
13、lications (OpenDocument) Version 1.2 specification.The OpenDocument v1.2 specification has these parts:OpenDocument v1.2 part 1: OpenDocument Schema (this part)OpenDocument v1.2 part 2: Recalculated Formula (OpenFormula) FormatOpenDocument v1.2 part 3: PackagesOpenDocument v1.2 part 1 defines these
14、schemas and ontologies:OpenDocument v1.2 Relax NG SchemaOpenDocument v1.2 Metadata Manifest OntologyDeclared XML namespaces:urn:oasis:names:tc:opendocument:xmlns:animation:1.0urn:oasis:names:tc:opendocument:xmlns:chart:1.0urn:oasis:names:tc:opendocument:xmlns:config:1.0urn:oasis:names:tc:opendocumen
15、t:xmlns:database:1.0urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0urn:oasis:names:tc:opendocument:xmlns:drawing:1.0urn:oasis:names:tc:opendocument:xmlns:form:1.0urn:oasis:names:tc:opendocument:xmlns:manifest:1.0urn:oasis:names:tc:opendocument:xmlns:meta:1.0urn:oasis:names:tc:opendocument:xmlns:data
16、style:1.0urn:oasis:names:tc:opendocument:xmlns:office:1.0urn:oasis:names:tc:opendocument:xmlns:presentation:1.0urn:oasis:names:tc:opendocument:xmlns:script:1.0urn:oasis:names:tc:opendocument:xmlns:table:1.0urn:oasis:names:tc:opendocument:xmlns:text:1.0urn:oasis:names:tc:opendocument:xmlns:style:1.0u
17、rn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0urn:oasis:names:tc:opendocument:xmlns:of:1.2http:/docs.oasis-open.org/ns/office/1.2/meta/odf#Abstract:This document is part of th
18、e Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.It defines an XML schema for office applications and its semantics. The schema is suitable for office documents, including text documents, spreadsheets, charts and graphical documents like drawings or presentatio
19、ns, but is not restricted to these kinds of documents.Status:This document was last revised or approved by the OASIS Open Document Format for Office Applications (OpenDocument) TC on the above date. The level of approval is also listed above. Check the “Latest version“ location noted above for possi
20、ble later revisions of this document.Technical Committee members should send comments on this specification to the Technical Committees email list. Others should send comments to the Technical Committee by using the “Send A Comment” button on the Technical Committees web page at http:/www.oasis-open
21、.org/committees/office/.For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (http:/www.oasis-open.or
22、g/committees/office/ipr.php).OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 2 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015Citation format:When referencing this specification the foll
23、owing citation format should be used:OpenDocument-v1.2-part1Open Document Format for Office Applications (OpenDocument) Version 1.2 Part 1: OpenDocument Schema. 29 September 2011. OASIS Standard. http:/docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html.OpenDocument-v1.2-os-part1 29 S
24、eptember 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 3 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015NoticesCopyright OASIS Open 20022011. All Rights Reserved.All capitalized terms in the following text have the meanings
25、assigned to them in the OASIS Intellectual Property Rights Policy (the “OASIS IPR Policy“). The full Policy may be found at the OASIS website.This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its impl
26、ementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, includin
27、g by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to
28、translate it into languages other than English.The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.This document and the information contained herein is provided on an “AS IS“ basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
29、INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.OASIS requests that any OASIS Party or any other party that believes it has patent claims that woul
30、d necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committe
31、e that produced this specification.OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to suc
32、h patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.OASIS takes no position regarding the validity or scope of any intellectual property or othe
33、r rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on
34、OASIS procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain
35、 a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will a
36、t any time be complete, or that any claims in such list are, in fact, Essential Claims.The names “OASIS“, “OpenDocument”, “Open Document Format”, and “ODF” are trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official ou
37、tputs. OASIS welcomes reference to, and implementation and use OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 4 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015of, specifications, while
38、reserving the right to enforce its marks against misleading uses. Please see http:/www.oasis-open.org/who/trademark.php for above guidance.OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 5 of 846BS ISO/IEC 26300-1:2
39、015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:2015Table of Contents1 Introduction791.1 Introduction.791.2 Terminology.791.3 Normative References791.4 Non Normative References.821.5 Namespaces.822 OpenDocument Documents, Consumers and Producers852.1 Introduction.852.2 Documents852.2.1 OpenDocument Do
40、cument852.2.2 OpenDocument Extended Document862.2.3 OpenDocument Text Document.862.2.4 OpenDocument Spreadsheet Document.872.2.5 OpenDocument Drawing Document872.2.6 OpenDocument Presentation Document.872.2.7 OpenDocument Chart Document882.2.8 OpenDocument Image Document.882.2.9 OpenDocument Formula
41、 Document882.2.10 OpenDocument Database Front End Document.882.3 Producers.892.3.1 OpenDocument Producer892.3.2 OpenDocument Extended Producer892.4 Consumer.893 Document Structure.903.1 Document Representation .903.1.1 General903.1.2 (Single OpenDocument XML Files)903.1.3 Package OpenDocument Files9
42、03.1.3.1 General.903.1.3.2 .903.1.3.3 913.1.3.4 .913.1.3.5 913.1.4 Summary of Document Representation.913.2 92OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 6 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS
43、 ISO/IEC 26300-1:20153.3 923.4 933.5 933.6 933.7 943.8 943.9 943.10 953.10.1 General953.10.2 953.10.3 953.10.4 .963.10.5 .963.10.6 963.11 Cursor Position Setting963.12 973.13 973.14 .973.15 Styles973.15.1 General973.15.2 983.15.3 .983.15.4 983.16 Document Signatures.993.17 Foreign Elements and Attri
44、butes.993.18 White Space Processing and EOL Handling.1003.19 MIME Types and File Name Extensions1004 Metadata1014.1 General.1014.2 RDF Metadata.1014.2.1 In Content Metadata (RDFa)1014.2.2 manifest.rdf1014.2.2.1 General.1014.2.2.2 odf:ContentFile.1014.2.2.3 odf:StylesFile1024.2.2.4 odf:Element1024.2.
45、2.5 odf:prefix.1024.2.2.6 odf:suffix.102OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 7 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:20154.3 Non-RDF Metadata.1024.3.1 General1024.3.2 Pre
46、-Defined Metadata Elements1034.3.2.1 .1034.3.2.2 .1034.3.2.3 .1034.3.2.4 .1044.3.2.5 .1044.3.2.6 1044.3.2.7 .1044.3.2.8 1044.3.2.9 .1054.3.2.10 1054.3.2.11 .1054.3.2.12 .1054.3.2.13 1064.3.2.14 .1064.3.2.15 1064.3.2.16 1064.3.2.17 .1074.3.2.18 .1074.3.3 1075 Text Content.1085.1 Headings, Paragraphs
47、and Basic Text Structure.1085.1.1 General1085.1.2 1085.1.3 1095.2 .1115.2.1 General1115.2.2 1115.3 Lists.1115.3.1 1115.3.2 Default List Style .1125.3.3 .1125.3.4 1125.3.5 List Item Style Rules1135.3.6 1135.3.7 Numbered Paragraph Style Rules1135.4 114OpenDocument-v1.2-os-part1 29 September 2011Copyri
48、ght OASIS Open 2002 - 2011. All Rights Reserved. Standards Track Work Product Page 8 of 846BS ISO/IEC 26300-1:2015 ISO/IEC 26300-1:2015(E)BS ISO/IEC 26300-1:20155.4.1 General1145.4.2 .1155.5 Change Tracking.1155.5.1 .1155.5.2 .1155.5.3 1165.5.4 .1165.5.5 .1175.5.6 1175.5.7 Change Marks1175.5.7.1 Gen
49、eral.1175.5.7.2 .1185.5.7.3 1185.5.7.4 .1185.6 1185.7 Document Declarations.1196 Paragraph Elements Content.1206.1 Basic Text Content1206.1.1 General1206.1.2 White Space Characters1206.1.3 1216.1.4 .1216.1.5 1216.1.6 Soft Hyphens, Hyphens, and Non-breaking Spaces1216.1.7 1226.1.8 1236.1.9 1246.1.10 .1256.2 Bookmarks and References1266.2.1 Bookmarks1266.2.1.1 General.1266.2.1.2 .1266.2.1.3 .1266.2.1.4 1266.2.2 References1276.2.2.1 General.1276.2.2.2 1276.2.2.3 127OpenDocument-v1.2-os-part1 29 September 2011Copyright OASIS Open 200