At last a Life Paul David EpubFinally a life Paul David Epub
The Snijders ("CC")
Dean of the Agrotechnology & Food Sciences Group, specialised in collections and the EndNote and Mendeley references programmes and literary research. I' m also one of the EndNote instructors and I give regular presentations of the Mendeley programme. Questions about these programmes can also be directed to me.
Prior to my work as an information expert, I worked as a library assistant at the Agrotechnological Research Institute, which later became known as Food and Biobased Research. I have a lot of experiance in assisting the employees in their research and working with references managment programmes.
Open Container Format (OCF) 3.1
3. 1 specifies a data type and process to encapsulate a related resource packet into a single-file containment. 3. 1 specifies a data type and a handling style for the encapsulation of the associated ressources that make up an EPUB publication into a EPUB containment.
These specifications define the regulations for the structure of the abstracts files in the abstracts (the "abstract container") and the regulations for the presentation of this abstracted containers within a compressed archives (the "ZIP container"). The OCF also specifies a default obscuring methodology for those EPUB publications that need this feature, such as type.
It is one of a series of EPUB 3.1 formats, an exchange and supply standard for electronic publication using standard web and standard formats. This is to be interpreted together with the other EPUB 3.1 spec. Words with EPUB-specific meaning are written in capital letters in this manual (e.g. "author", "reading system").
For a full listing of these words and definition, see[EPUB 3.1]. The codec relates to contents that have inherent digital formats, such as those of videos and audiomedia that are already optimally compressed or offer optimised encoding capability. Rendition of the rendition specified in the first item of the contain. nml-files.
Name of any kind of files within an OCF Abstract Container, be it a folder or a folder name. Non codec relates to contents that profit from compressing due to their inherent information structures, such as files using a string of characters (e.g. HTML, CSV, etc.).
OCF Abstract Container specifies a filesystem template for the content of the OCF Abstract Container, as specified in the OCF Abstract Container. This is the ZIP-based packing and distributing standard for EPUB publications, as specified in the OCF-zipper. The OCF and EPUB containers are the same. In the OCF Abstract Container, the complete filename in the complete pathname is linked to a / (U+002F) sign that separates the filename folder.
The pathname of a given filename within the OCF Abstract Container is the path name of the path containing all filenames of the folder, along with a / sign that separates the folder filename, followed by a / sign, and then the filename of the filename. This is the basis of the OCF Abstract Container filesystem.
A EPUB read system can create a directories for the content of the OCF Abstract Container or not when the content is unpacked. A OCF Abstract Container MUST fulfill the performance constraints specified in the OCF Abstract Container. The OCF ZIP Container MUST comply with the compliance requirements of the OCF ZIP Container.
The EPUB reader system MUST fulfil all of the following criteria: He MUST handle the OCF ZIP container in accordance with all read system restrictions specified in the OCF ZIP container. OCF Abstract Container filesystem models use a shared root folder for all content. Any local resources for the EPUB publication are in the root folder hierarchy, but no special filesystem architecture for them is required by this specificat.
There is also a required folder called META-INF in the filesystem schema, which is a parent of the root folder and is used to save the following specific files: Identify the package documents that defines each rendition of the EPUB publication. Incorporates digitally signed documents for various types of asset. Provides information about the encoding of publication resources.
It is obligatory if the scrambling is used. Is used to save meta data via the OCF ZIPtainer. Manifesto of the content of the containers, as permitted by the Open Document Format[ODF]. The conformity of the different META -INF directories is specified in the META -INF directories. For the OCF Abstract Containers, the OCF Abstract Filesystem MUST have a shared root folder for all content in the containers.
OCF Abstract Containers MUST contain a folder called META-INF, which is a directly parent of the root folder of the abstract-containers. The META-INF list describes the content requirement for this list. In the Root Folder, the filename is reserved for use by OCF ZIP Containers, as described in OCF ZIP Containers.
You can locate all other OCF Abstract Container data in any place that originates from the root folder, provided they are not in the META-INF folder. We recommend that you store the content of the EPUB publication in a separate folder in the root folder. In the OCF Abstract Container, data MUST be referenced by means of related IRIs ([RFC3987] and[RFC3986]).
This example shows how a filename image1.jpg in the same folder as an XHTML content doc can be referred to by an impg element[HTML]. In the case of relational IRI credentials, the Base IRI[RFC3986] is defined by the corresponding linguistic specification for the specified data-format. In contrast to most linguistic specification, Base IRIs use the root folder of the OCF Abstract Container as the standard Base IRI for all META-INF folder directories.
"1 "1. 0" "1. 0" "urn:oasis:names:tc:opendocument:xmlns:container" "EPUB/Great_Expectations. opf" "application/oebps-package+xml" then the thread EPUB/Great Expectations. opf is in relation to the OCF Abstract Containers folder and not in relation to the META-INF one. You MUST resolving all related IRI reference to ressources within the OCF Abstract Containers (i.e., on or under the roots directory).
In this section, file name limitations are intended to allow pathnames and file names to be used without changes on most popular OS. However, this specifier does not indicate how an OCF processor that is not able to display OCF file and path names would offset this compatibility.
With an OCF Abstract Container, filenames and pathnames are case-sensitive and MUST satisfy all of the following criteria: Filenames MUST be UTF-8[Unicode] coded. Filenames must not be greater than 255 byte. A path name for a folder or data within the OCF Abstract Container must not be greater than 65535 byte.
Filenames DO NOT MUST use the following[Unicode] signs, as these signs may not be consistent on all common OS:: After a case normalisation as described in section 3, all file names within the same folder MUST be unambiguous. Any filenames in the same folder should be unambiguous after NFC or NFD normalization[TR15].
A number of commercially available zipped utilities do not fully unicode and may only provide [US-ASCII] for filenames. Writers who want to use these limitations should best limit their filenames to the[US-ASCII] section. When the file name cannot be retained during unpacking, it is necessary to offset any name translations that occurred when the URI file is referred to from the contents.
Each OCF Abstract Containers MUST add a folder named META-INF to their root folder. The folder contains the META-INF Reserved files. You may add to the META INF folder other than those mentioned in this section; OCF processors MUST NOT failure when they encounter such data. This is the desired containment. The EPUB packages in the OCF Abstract Containers are identified by an xml-file in the META-INF-directory.
You MUST have the content of this filename applicable to the scheme in the scheme for containers. After you remove all items and attribute from other name spaces (including all attribute and content of such items), you must remove them. Every ROOTSFILE item MUST be used to determine the storage path of a package document that represents a rendition of the EPUB publication.
The OCF processor MUST consider the first role within the role that represents the default rendering for the included EPUB publication. Read systems are required to present the standard rendition, but can also present other renditions in the contain. This example shows an example of an EPUB publication with the master EPUB/My Crazy Life. opf (the package document):
"1. 0" "1. 0" "urn:oasis:names:tc:opendocument:xmlns:container" "EPUB/My_Crazy_Life. opf" "application/oebps-package+xml" The following example shows SVG and XHTML renditions in the same container: opf" "application/oebps-package+xml" "XHTML/Sandman. OPTIONAL left item identified the necessary ressources for the OCF ZIPtainer. Every shortcut MUST also contain a relative attribute whose value indicates the relation of the constraint, and MUST contain a media-like attribut whose value must be a medium type[RFC2046] that indicates the nature and style of the constraint referred to by the constraint.
Root component is related to the root folder. ocf-processors MUST disregard external items and properties within a contain. xml-file. Optionally encryption.xml in the META-INF folder contains all encoding information about the contain. There must be an encoding if a ressource is encoded within the contain. To indicate that the ressource is encoded and provides information about how it is encoded, there must be one. iml.
³This filename is an HTML template whose source item is cipher. This encrypting item contains EncryptedKey and EncryptedData subitems as per the definition of[XML ENC Core]. A EncryptedKey item specifies each EncryptedKey used in the containers, while an EncryptedData item specifies each encoded data item. Every EncryptedData item relates to an EncryptedKey item as described in EncryptedData encoding.
Content of the encoding. The. zml must be applicable to the scheme in Scheme for encryption.xml. The OCF encrypt single data independent of each other, which provides some level of protection for better system operation and allows the content of the containers to be gradually encrypted. By encrypting the whole packet, the folder tree and filenames become visible.
The OCF uses SSL [XML ENC Core] encoding to deliver an encoding frame that allows the use of a wide range of algorithm. Schematic Editor defines a method for encoding any kind of information and displaying the results in it. Although an OCF Abstract Container may contain non-XML information, you can use encrypted text to encode all the information in an OCF Abstract Container.
The OCF encoding only allows the encoding of whole documents within the containers, not parts of them. It is NOT necessary to encrypt the encoding. xml-file, if available. Enciphered and unenciphered information in an OCF Abstracttainer. If, for example, an encoded picture with the name picture. jump is encoded, the content of the picture should be substituted. jump resources should be substituted by its encoded content.
Inside the zipped folder you should save encoded data instead of deflate-compressed. Notice that in some cases the saving of embeded ressources referred to in a replay version must be disguised to bind them to the "parent" EPUB republication and make their extraction more complicated for unlimited use (e.g. fonts). Even thoughbfuscation isn't cryptography, the encoding. ml is used in combination with the IDPF ressource scrambling algorithms to detect ressources that need to be decompressed before they can be used.
It is NOT necessary to encrypt the following documents, regardless of whether a standard or a special type of encoding is required: Use this procedure to ensure that the data records saved in the compressed archive are smaller in number. This would cause unneeded manufacturing effort (especially with large resources ) and affect audio/video output at the point of use.
Sometimes the use of some encoding scheme in conjunction with aggregation can even affect the capability of reading systems to process sub-contents (.e.g. HTTP bytes ) because it is technically impossible to specify the length of the entire asset before it plays back again (e.g. HTTP contents length headers).
EncryptionProperties should supply extra EncryptionProperties subnetwork to specify the original ressource sizes (i.e. before compressing and encrypting) according to the XML compressing item specified below. EncryptionProperties can supply the extra EncryptionProperties method information that is not collapsed before it is encoded to determine the original resourcesize ("pre-encryption").
In the following example, an MP3 4-document is shown, which was originally sized 3500000 byte. A manifesto of data in the container is provided by the database EXPTIONAL manifest. ×ml in the META-INF folder. OCF does not prescribe a manifesto style. Additional Manifesto information included in the OLAP archives or the optimal manifold. You may NOT use binary data to process the playback.
OPTIONAL META-INF/metadata. The OPTIONAL META-INF/metadata. xml in the folder META-INF, if available, MUST be used for meta data at content layer. When the. XMLml is present, its content should be only namespace-qualified elements[XMLNS]. SHOULD contain the meta data of the source item in the http://www.idpf. org/2013/metadata name space, but other source items are permitted for backward compatability reasons.
Read systems should disregard meta data. undetected roots in XLMldfiles. The OCF standard does not specify a meta data for use in the meta data xml format. Containerspecific metadata can be specified in subsequent releases of this standard and in IDPF-defined EPUB enhancement specifi cations. OPTIONAL rights.xml in the META-INF folder is reserved for information on DRM for the trustworthy sharing of EPUB publications between right owners, brokers and end-customers.
There is no need for a DRM information specifically for this OCF specifications, but it may be a prospective one. XMLNS ] should be namespaces only to prevent collisions with a possible language. If the permissions. xtml is not available, no part of the package is controlled at the package layer.
No part of the OCF Abstract Containers is right controlled if the permissions. xtml is not available. OPTIONAL signature. nml in the META-INF folder contains a set of electronic signature files for the contain. You MUST have the content of this MUST apply to the scheme in Scheme for signatures.xml.
This is the signature elements roots of the signature. The signature elements are the. zml-files. A signature can be used on an EPUB publication as a whole or on parts of it and can specify the signature of any kind of data and not only the signature of any kind (i.e. XML). If the. xtml files do not exist, no part of the containers is digital signposted at skip-tier.
The EPUB publication may contain digital signs. If you create a datasignature for the location, the last subordinate signatur item of the feature should be added. Every shelfmark in the shelfmarks. By IRI, specifies the information to which the shelfmark refers, using the[XML DSIG Core] manifest and its reference sub-elements.
You can sign separate or combined included documents. The separate signatures of each document generate a digital value for the resources, which can be verified independent of each other. Each time a document is autographed together, the amount of autographed documents can be enumerated in a unique markup manifest item and referred to by one or more of them.
Each or all data within the containers can be completely autographed, with the exceptions of digital signing. This is because this data contains the calculated digital signing information. If and how the signing. zml-document is to be autographed will depend on the target of the sender. When the signatory wants to allow the addition or removal of a signature from the recipient without overriding the signatory's own digital signing, the signing must NOT be made.
The[ SDIG Core XML] can be used to digitally characterize the whole of the already exists digital signing files, except for the digital signing to be made. That transformation would mark all prior signs, and it would become null if a succeeding one were added to the packet. When the signatory wants to remove an already signed document to void the signatory's own digital signing, but also allow signing to be added, an X-Path transformation can be used to do so.
This is an example of the contents of an example digital signing. The following schema is a. nd is derived from the samples in section 2 of[XML DSI Core]. Contains a shelf mark and the shelf mark is valid for two ressources, EPUB/book. xtml and EPUB/images/cover. xpeg, in the contain. The OCF ZIP Containers is a natural demonstration of an OCF Abstracttainer.
It is used to share current EPUB publications between different persons and/or organisations; to supply EPUB publications to EPUB reading systems or people. The OCF. An OCF ZIP container uses the file type specified in[ZIP APPNOTE 6.3. 3], but with the following restrictions and clarifications: OCF Abstract Container content MUST be a compliant OCF Abstract Container.
The OCFZIP containers must NOT use the functions in the APPNOTE 6.3.3 Notes [ZIP APPNOTE 6.3.3] that allow the distribution of zipped data to more than one medium. All OCF processors MUST handle all OCFs that specify that the zipped is distributed across more than one medium as corrupt.
The OCF Cipher Container MUST NOT use the cryptographic functions specified by the CSV files and the functions described in the cryptographic files (encryption.xml) MUST be used instead. All other OCF Zip servers that use IP encrypting functions MUST be treated as corrupt. OCF processors do not need to retain information from an OCF ZIP container through loading and saving processes that are not specified in the OCF Abstract Container; in particular, an OCF processor does not need to contain CRCs, comments boxes, or boxes that contain filesystem information that corresponds to a particular OS (for example, Remote Data Attribute and Additional Box).
The OCF ZIP container MUST code filesystem names with UTF-8[Unicode]. These restrictions are valid for certain areas in the OCF ZIP container archive: MUSS OCF ZIP Container must specify in the MUST OCF ZIP Container files headers that is needed to extend a field to 10, 20 or 45 to reach the max. release required by the specified document (e.g. 20 if Deflate is needed, 45 if ZIP64 is needed).
Specify the value 0 or 8 in the CSV format in the OCF ZIP Container OCF ZIP format. In the OCF ZIP container, the first filename MUST be the meta-data. Content of this MIME MUST be the MIME medium type[RFC2046] stringent application/epub+zip coded in US-ASCII[US-ASCII].
There MUST NOT be a lead or blank character in the content of the medium format data record, MUST NOT start with the Unicode signatures (or the byte order mark), and the case of the medium format character chain MUST be exactly as shown above. In addition, the medium format may NOT be encoded or collapsed, and there must be no additional fields in the headers of the files.
Because an OCF zip is basically a zipped archive, common zipped utilities can be used to remove any uncrypted streams from the packet. Also, the character of the zipped archive means that its data may appear on some machines (e.g. a folder) like any other local containers.
Whilst this easiness of zipped is very useful, it also presents a dilemma when the simple extracting resource is not a desirable side effect of not encrypt. Even more critical, many commercially available typefaces allow you to embed, but to embed a typeface means that it is an integrated part of the EPUB publication and does not just provide the source typeface together with its contents.
These uncertainties can erode the otherwise very useful embedded nature of typefaces in EPUB Publications. To prevent re-use of the typeface, some type manufacturers only allow their typefaces to be used in EPUB publications if they are in some way linked to the EPUB publication. This means that the character string cannot be directly imported for use on an OS with the built-in tool of this computer and cannot be used directly by other EPUB publications.
Please be aware that neither this and the IDPF claims that this is encrypted, nor does it warrant that the asset is protected from infringing copyrights. However, it is the IDPF' s hopes that this algorithms will satisfy the needs of most providers who need some certainty that their ressources cannot be easily unpacked by the container.
With an OCF container it is possible to use the predefined routines to retrieve the unformatted data. Obfuscation is based on changing the first 1040 byte (.1KB) of the filename. The unlikely case that the size of the data is less than 1040 byte, the whole data will be changed.
In order to disguise the source files, the results of executing a Boolean or (.xor) are saved to the first bytes of the source files and the first bytes of the encryption keys are saved as the first bytes of the imbedded resourc. You MUST disguise your ressources before they are collapsed and added to the OCF container.
Notice that this request is not an encoding, as the encoding is not a breach of the encoding filename (encryption.xml) to encrypt the resource before it is encrypted. In order to get the initial fonts back, the reverse is simple: the root files become the hidden files and the target files contain the unprocessed one.
Font disguising was permitted before EPUB 3.0. However, this specifications does not need to be supported for this search methodology because it does not match this release of this specifications, but it must be taken into account in the general EPUB 3 contents. Even though the information is not physically encoded, all encoded sources MUST have an item in the encoding. zml files included with the EPUB release (see encoding files (encryption.xml)).
In the following example you can see an item for an obscured typeface in the encoding. nml-Datei. In order to avoid trite copy of the imbedded resources to other EPUB publications, the scrambling code must NOT be specified in the encoding. nml-Datei. You can find the scheme for containers. You can find xml-files at http://www.idpf.org/epub/31/schema/ocf-container-31.rnc.
Scheme for the encoding. The[ML Sec RNG Schemas] contains ml-data. Signature scheme. The[ML Sec RNG Schemas] contains schemas in ml-data. This example shows how to use this OCF file to contain a autographed and encoded EPUB publication in an OCF ZIP container. png" "image/png" "nav" "nav. html" "application/xhtml+xml" "nav" "r4915" This attachment records the EPUB Open Container Open Container File/Folder ( "OCF") EPUB Open File/Folder.
A OCF document is a package technique using the zipped archiving method. This is used to capsule the renditions of EPUB publications. The OCFs are binaries in zipped form (http://www.iana. org/assignments/media types/applications/zip). Any processor that reads OCFs should carefully verify the volume and validation of the requested information. Furthermore, due to the different kinds of contents that can be embeded in OCFs, it is possible that application/epub+zip describes contents that go beyond the safety aspects described here.
Concerns about safety that are valid for the application/zip file also hold true for OCFs. For the EPUB Open Container Format (OCF), as described in the EPUB Open Container Format (OCF) 3.0 at www.idpf.org/epub/30/spec/epub30-ocf.html., this medium class registry is used for the EPUB Open Container Format (OCF). EPUB OCF 3.0 replaces Open Container Format 2.0.
It is a widely used medium for the sale of EPUB e-books. filename extension(s): The most common suffix for OCFs is . epub. The Macintosh file-typecode( s): The EPUB was created by the International Digital Publishing Forum in collaboration with publishing houses, manufacturers, application engineers and specialists for the corresponding standard.
EPUB 3.1 specification has been developed by the EPUB Maintenance Working Group of the International Digital Publishing Forum under a July 2015 membership-approved charta led by: You can find more information on the individual EPUB versions under Thanks and Contributors[EPUB3 Overview].
[ EPUB 3. 1] EPUB 3. 1 . XSL Encryption Syntax and Processing Version 1.1.1. ZIP APPNOTE 6.3. 3] ZIP file format specification . EPUB 3. 1 Difference to EPUB 3.0.