OCF201draft.docx

上传人:b****3 文档编号:10466519 上传时间:2023-05-26 格式:DOCX 页数:43 大小:44.46KB
下载 相关 举报
OCF201draft.docx_第1页
第1页 / 共43页
OCF201draft.docx_第2页
第2页 / 共43页
OCF201draft.docx_第3页
第3页 / 共43页
OCF201draft.docx_第4页
第4页 / 共43页
OCF201draft.docx_第5页
第5页 / 共43页
OCF201draft.docx_第6页
第6页 / 共43页
OCF201draft.docx_第7页
第7页 / 共43页
OCF201draft.docx_第8页
第8页 / 共43页
OCF201draft.docx_第9页
第9页 / 共43页
OCF201draft.docx_第10页
第10页 / 共43页
OCF201draft.docx_第11页
第11页 / 共43页
OCF201draft.docx_第12页
第12页 / 共43页
OCF201draft.docx_第13页
第13页 / 共43页
OCF201draft.docx_第14页
第14页 / 共43页
OCF201draft.docx_第15页
第15页 / 共43页
OCF201draft.docx_第16页
第16页 / 共43页
OCF201draft.docx_第17页
第17页 / 共43页
OCF201draft.docx_第18页
第18页 / 共43页
OCF201draft.docx_第19页
第19页 / 共43页
OCF201draft.docx_第20页
第20页 / 共43页
亲,该文档总共43页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

OCF201draft.docx

《OCF201draft.docx》由会员分享,可在线阅读,更多相关《OCF201draft.docx(43页珍藏版)》请在冰点文库上搜索。

OCF201draft.docx

OCF201draft

OpenContainerFormat(OCF)2.0.1v1.0

WORKINGDRAFTSPECIFICATIONMay9,2010

Thisversion

http:

//www.idpf.org/doc_library/epub/OCF_2.0.1_draft.doc

Latestversion

http:

//www.idpf.org/doc_library/epub/OCF_2.0_latest.doc

Previousversion

http:

//www.idpf.org/ocf/ocf1.0/download/ocf10.htm

Diffstopreviousversion

http:

//www.idpf.org/doc_library/epub/OCF_2.0.1_diffs_to_2.0.doc

Copyright©2010byInternationalDigitalPublishingForum™.

Allrightsreserved.ThisworkisprotectedunderTitle17oftheUnitedStatesCode.ReproductionanddisseminationofthisworkwithchangesisprohibitedexceptwiththewrittenpermissionoftheInternationalDigitalPublishingForum.

TABLEOFCONTENTS

TABLEOFCONTENTSii

1Overview1

1.1PurposeandScope1

1.2Definitions1

1.3RelationshiptoOtherSpecifications3

1.4Conformance4

1.4.1ConformingContainers4

1.4.2ConformingReadingSystems4

1.5Accessibility5

1.6FutureDirections5

2OCFOverview6

2.1OCF:

AGeneralContainerTechnology6

2.2“AbstractContainer”vs.“PhysicalContainer”6

2.3Examples6

2.3.1ExampleofasimplePublication,AbstractContainer,andZIPContainer6

2.3.2Single-publicationcontainers,butwithalternaterenditions8

3OCFContainerContents9

3.1Fileanddirectorystructure9

3.2RelativeIRIsforreferencingothercomponents9

3.3FileNames10

3.4Containermediatypeidentification11

3.5META-INF11

3.5.1Container–META-INF/container.xml(Required)11

3.5.2Manifest–META-INF/manifest.xml(Optional)13

3.5.3Metadata–META-INF/metadata.xml(Optional)14

3.5.4DigitalSignatures–META-INF/signatures.xml(Optional)14

3.5.5Encryption–META-INF/encryption.xml(Optional)15

3.5.6RightsManagement–META-INF/rights.xml(Optional)17

4ZIPContainer17

APPENDIXA:

RELAXNGOCFSchema19

APPENDIXB:

Example20

APPENDIXC:

CONTRIBUTORS24

Overview

Thisspecification,theOpenContainerFormat(OCF),isonethirdofatriumvirateofmodularspecificationsthatmakeuptheEPUBpublicationformat.EPUBenablesthecreationandtransportofreflowabledigitalbooksandothertypesofcontentassingle-filedigitalpublicationsthatareinteroperablebetweendisparateEPUB-compliantreadingdevicesandapplications.EPUBencompassesacontentmarkupstandard(OpenPublicationStructure–OPS),apackagingstandard(OpenPackagingFormat–OPF),andthisspecification,acontainerstandard.

PurposeandScope

ThisspecificationdefinestheOpenContainerFormat(OCF).OCFisageneral-purposecontainertechnology.Thisspecificationdescribesthegeneral-purposecontainertechnologyinthecontextofencapsulatingEPUBpublicationsandOPTIONALalternaterenditionsthereof.Itishoweveranticipatedthatthegeneral-purposecontainertechnologydescribedhereinmayultimatelybeusedinotherbundlingapplications.

Asageneralcontainerformat,OCFcollectsarelatedsetoffilesintoasingle-filecontainer.OCFcanbeusedtocollectfilesinvariousdocumentformatsandforclassesofapplications.Thesingle-filecontainerenableseasytransportof,managementof,andrandomaccessto,thecollection.

OCFdefinestherulesforhowtorepresentanabstractcollectionoffiles(the“abstractcontainer”)intophysicalrepresentationwithinaZIParchive(the“physicalcontainer”).TherulesforZIPcontainersbuilduponandarebackwardcompatiblewiththeZIPtechnologiesusedbyOpenDocumentFormat(ODF)1.0.

OCFistheREQUIREDsingle-filecontainertechnologyforEPUBpublications.OCFMAYplayaroleinthefollowingworkflows:

Duringthepreparationstepsinproducinganelectronicpublication,OCFisusedasthesingle-fileformatwhenexchangingin-progresspublicationsbetweendifferentindividualsand/ordifferentorganizations.

Whenprovidinganelectronicpublicationfrompublisherorconversionhouse(ContentProvider)tothedistributionorsaleschannel,OCFistheRECOMMENDEDsingle-fileformattobeusedasthetransportformat.

WhendeliveringthefinalpublicationtoanEPUBReadingSystemorend-user,OCFistheREQUIREDformatforthesingle-filecontainerthatholdsalloftheassetsthatmakeupthepublication.

Definitions

ASCII

AmericanStandardCodeforInformationInterchange–a7-bitcharacterencodingbasedontheEnglishalphabet(ANSIX3.4-1986).Whenusedinthisdocument,ASCIIreferstotheprintablegraphiccharactersintherange33(decimal)through126(decimal)andthenonprintablespacecharacter32(decimal).

ContentProvider

Apublisher,author,individual,orotherinformationsourcethatprovidesapublicationtodistributionorsaleschannelsordirectlytooneormoreEPUBReadingSystemsusingOCFasdescribedinthisspecification.

EPUB

ThepublicationformatasdefinedbytheOCF2.0.1,OPF2.0.1andOPF2.0.1specifications.

EPUBPublication

AcollectionofOPSDocuments,anOPFPackagefile,andotherfiles,typicallyinavarietyofmediatypes,includingstructuredtextandgraphics,packagedinanOCFcontainerthatconstituteacohesiveunitforpublication,asdefinedbytheEPUBstandards.

EPUBReadingSystem(orReadingSystem)

Acombinationofhardwareand/orsoftwarethatacceptsEPUBPublicationsandmakesthemavailabletoconsumersofthecontent.GreatvarietyispossibleinthearchitectureofReadingSystems.AReadingSystemMAYbeimplementedentirelyononedevice,oritMAYbesplitamongseveralcomputers.Inparticular,areadingdevicethatisacomponentofaReadingSystemneednotdirectlyacceptOCF-PackagedEPUBPublications,butallReadingSystemsMUSTdoso.ReadingSystemsMAYincludeadditionalprocessingfunctions,suchascompression,indexing,encryption,rightsmanagement,anddistribution.

IRI

InternationalizedResourceIdentifier(http:

//www.ietf.org/rfc/rfc3987.txt).

OCF

TheOpenContainerFormatdefinedbythisspecification.

OCFContainer

Acontainerfilethatiscompliantwiththeformatdefinedinthisspecification.

ODF

OpenDocumentFormat(http:

//www.oasis-open.org/committees/download.php/12572/OpenDocument-v1.0-os.pdf).

OPF

OpenPackagingFormat(http:

//www.idpf.org/doc_library/epub/OPF_2.0.1_draft.htm).

OPFPackage

AnXMLdocumentthatdescribestheOPScontentsofanEPUBPublicationprovidingmetadata,manifest,reading-orderandnavigationinformationforthepublication.

OPS

OpenPublicationStructure(http:

//www.idpf.org/doc_library/epub/OPS_2.0.1_draft.htm).

OPSDocument

AnXMLdocumentthatconformstotheOPS2.0.1specification–generallycontainingthetextualcontentofanEPUBPublication.

MIME

MultipurposeInternetMailExtensions(http:

//www.isi.edu/in-notes/rfc2045.txt).“MIMEmediatypes”provideastandardmethodologyforspecifyingthecontenttypeofobjects.

RFC

Literally“RequestForComments”,butmoregenerallyadocumentpublishedbytheInternetEngineeringTaskForce(IETF).Seehttp:

//www.ietf.org/rfc.html.

ReadingSystem

SeeEPUBReadingSystem.

RelaxNG

AschemalanguageforXML(http:

//www.relaxng.org/).

Rootfile

Thetop-levelfileofarenditionofapublication;eitherthe“root”fromwhichallothercomponentscanbefoundorthelonefileencapsulatingtherendition.TheEPUBrootfileistheOPFPackagefile.APDFfilecontainingthePDFrenditioncouldalsobearootfile.

XML

ExtensibleMarkupLanguage(http:

//www.w3.org/TR/2006/REC-xml-20060816/).

ZIP

Adefactoindustrystandardbundlingandcompressionformat(

RelationshiptoOtherSpecifications

Thisspecificationcombinessubsetsandapplicationsofotherspecifications.Together,thesefacilitatetheconstruction,organization,presentation,andunambiguousinterchangeofelectronicdocuments:

1.TheXML1.0ExtensibleMarkupLanguagespecification(FourthEdition)(http:

//www.w3.org/TR/2006/REC-xml-20060816/);and

2.TheOPF2.0.1OpenPackagingFormatspecification(http:

//www.idpf.org//doc_library/epub/OPF_2.0.1_draft.htm);and

3.TheOPS2.0.1OpenPublicationStructurespecification(http:

//www.idpf.org/doc_library/epub/OPS_2.0.1_draft.htm);and

4.TheXML1.0namespacespecification(SecondEdition)(http:

//www.w3.org/TR/2006/REC-xml-names-20060816/);and

5.TheUnicodeStandard,Version4.0.Reading,Mass.:

Addison-Wesley,2003,asupdatedfromtimetotimebythepublicationofnewversions.(Seehttp:

//www.unicode.org/unicode/standard/versionsforthelatestversionandadditionalinformationonversionsofthestandardandoftheUnicodeCharacterDatabase).;and

6.ParticularMIMEmediatypes(http:

//www.ietf.org/rfc/rfc4288.txtandhttp:

//www.iana.org/assignments/media-types/index.html);and

7.OpenDocumentFormatforOfficeApplications(OpenDocument)v1.0(http:

//www.oasis-open.org/committees/download.php/12572/OpenDocument-v1.0-os.pdf);and

8.ZIPformat(and

9.XML-SignatureSyntaxandProcessing(http:

//www.w3.org/TR/2002/REC-xmldsig-core-20020212);and

10.XMLEncryptionSyntaxandProcessing(http:

//www.w3.org/TR/2002/REC-xmlenc-core-20021210).

11.WebContentAccessibilityGuidelines1.0(http:

//www.w3.org/TR/WCAG10/).

EPUBReadingSystemsMAYsupportXML1.1,butthisfeatureisdeprecatedinversion2.0.1(infavorofXML1.0).SupportforXML1.1willberemovedinthenextversionofthespecification.

Conformance

Thekeywords"MUST","MUSTNOT","REQUIRED","SHALL","SHALLNOT","SHOULD","RECOMMENDED","MAY",and"OPTIONAL"inthisdocumentMUSTbeinterpretedasdescribedin(http:

//www.ietf.org/rfc/rfc2119.txt).

ThissectiondefinesconformancerequirementsforOCF.

ConformingContainers

Theterm“ConformingOCFAbstractContainer”indicatesanOCFAbstractContainer(SeeSection2.2)thatconformstoalloftherelevantconformancecr

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

当前位置:首页 > 小学教育 > 数学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2