Lỗi the selected layout has an invalid media configuration

EPUB® 3 defines a distribution and interchange format for digital publications and documents. The EPUB format provides a means of representing, packaging, and encoding structured and semantically enhanced web content — including HTML, CSS, SVG, and other resources — for distribution in a single-file container.

This specification defines the authoring requirements for and represents the third major revision of the standard.

Status of This Document

This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.

This document was published by the EPUB 3 Working Group as a Recommendation using the .

W3C recommends the wide deployment of this specification as a standard for the Web.

A W3C Recommendation is a specification that, after extensive consensus-building, is endorsed by W3C and its Members, and has commitments from Working Group members to for implementations. Future updates to this Recommendation may incorporate .

This document was produced by a group operating under the W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains must disclose the information in accordance with .

This document is governed by the 2 November 2021 W3C Process Document.

Table of Contents

This section is non-normative.

EPUB 3 has been widely adopted as the format for digital books (ebooks), and this revision continues to increase the format's capabilities to better support a wider range of publication requirements, including complex layouts, rich media and interactivity, and global typography features. The expectation is that publishers will utilize the EPUB 3 format for a broad range of content, including books, magazines, and educational, professional, and scientific publications.

This specification represents the core of EPUB 3 and includes the conformance requirements for — the product of the standard. The other specifications that comprise EPUB 3 are as follows:

  • [] — defines the processing requirements for — the applications that consume EPUB publications and present their content to users.
  • [] — defines accessibility conformance and discovery requirements for EPUB publications.

These specifications represent the formal list recognized as belonging to EPUB 3 and that contain functionality normatively referenced as part of the standard. The development of extension specifications periodically adds new functionality to EPUB publications. Features and functionality defined outside of core revisions to the standard, while not formally recognized in this specification, are nonetheless available for and reading system developers to use.

The non-normative [] provides a general introduction to EPUB 3. A list of technical changes from the previous version is also available in the .

This section is non-normative.

This section reviews the organization of this specification through the central product it defines: the .

An EPUB publication is, in its most basic sense, a bundle of resources with instructions on how to render those resources to present the content in a logical order. The types of resources that are allowed in EPUB publication, as well as restrictions on their use, are defined in .

A ZIP-based archive with the file extension


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

00 bundles the EPUB publication's resources for distribution. As conformant ZIP archives, EPUB publications can be unzipped by many software programs, simplifying both their production and consumption.

The container format not only provides a means of determining that the zipped content represents an EPUB publication (the


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

01 file), but also provides a universally named directory of non-normative resources (


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

02). Key among these resources is the


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

9 file, which directs reading systems to the available . Refer to for more information about the container format.

An EPUB publication is typically represented by a single package document. This document includes metadata used by to present the content to the user, such as the title and author for display in a bookshelf as well as rendering metadata (e.g., whether the content is reflowable or has a fixed layout). It also provides a manifest of resources and includes a that lists the default sequence in which to render documents as a user progresses through the content. Refer to for the requirements for the package document.

The actual content of an EPUB publication — what users are presented with when they begin reading — is built on the Open Web Platform and comes in two flavors: XHTML and SVG. Called , these documents typically reference many additional resources required for their proper rendering, such as images, audio and video clips, scripts, and style sheets.

Refer to for detailed information about the rules and requirements to produce EPUB content documents, and [] for accessibility requirements.

An EPUB publication also includes another key file called the . This document provides critical navigation capabilities, such as the table of contents, that allow users to navigate the content quickly and easily. The navigation document is a specialized type of which also allows EPUB creators to use it in the content (i.e., avoiding one table of contents for machine processing and another for user consumption). Refer to for more information about this document.

EPUB publications by default are intended to reflow to fit the available screen space. It is also possible to create publications that have pixel-precise fixed layouts using images and/or CSS positioning. The metadata to control layouts are defined in .

complement EPUB content documents. They provide declarative markup for synchronizing the text in EPUB content documents with prerecorded audio. The result is the ability to create a read-aloud experience where highlight the text as it is narrated. Refer to for the definition of media overlay documents.

While conceptually simple, an EPUB publication is more than just a collection of HTML pages and dependent assets in a ZIP package as presented here. Additional information about the primary features and functionality that EPUB publications provide to enhance the reading experience is available from the referenced specifications, and a more general introduction to the features of EPUB 3 is provided in the non-normative [].

Refer to [] for the processing requirements for reading systems. Although it is not necessary that read that document to create EPUB publications, an understanding of how reading systems present the content can help craft publications for optimal presentation to users.

This section is non-normative.

Caution

The technologies EPUB 3 builds on are constantly evolving. Some, typically referred to as "living" or "evergreen" standards, are subject to change daily and their impact on the validity of EPUB publications is immediate. Others are updated less frequently and the changes may not affect until EPUB 3 undergoes a new revision.

In all cases, it is possible that previously valid features may become obsolete (e.g., due to a lack of support or because of security issues). should therefore be cautious about using any feature without broad support and keep their up to date.

The [] standard is continuously evolving — there are no longer versioned releases of it. That standard, in turn, references various technologies that continue to evolve, such as MathML, SVG, CSS, and JavaScript.

The benefit of this approach for EPUB is that always keep pace with changes to the web without the need for new revisions. , however, must keep track of the various changes to HTML and the technologies it references to ensure they keep their processes up to date.

The inherits all definitions of semantics, structure and processing behaviors from HTML unless otherwise specified.

In addition, this specification to the [] document model that EPUB creators may include in .

This specification does not reference a specific version of [], but instead uses an undated reference. Whenever there is any ambiguity in this reference, the latest recommended specification is the authoritative reference.

This approach ensures that EPUB will always keep pace with changes to the SVG standard. , however, must keep track of changes to the SVG standard to ensure they keep their processes up to date.

EPUB 3 supports CSS as defined by the CSS Working Group Snapshot []. EPUB 3 also maintains some prefixed CSS properties, to ensure consistent support for global languages.

EPUB 3 only supports Presentation Markup []. Content Markup is only allowed in .

This specification relies on a subset of [], from which the media overlays elements and attributes defined in are derived.

This specification refers to the [] standard for terminology and processing related to URLs expressed in . It is anticipated that new and revised web formats will adopt this standard, but until then this may put this specification in conflict with the internal requirements for some formats (e.g., valid relative paths), specifically with respect to the use of internationalized URLs. If a format does not allow internationalized URLs (i.e., URLs must conform to [] or earlier), that requirement takes precedence within those resources.

This specification defines the following terms specific to EPUB 3.

Note

Only the first instance of a term in a section links to its definition.

codec

Codec refers to content that has intrinsic binary format qualities, such as video and audio media types designed for optimum compression or that provide optimized streaming capabilities.

container resource

A that is located within the , as opposed to a which is not.

Refer to for media type-specific rules for resource locations.

container root URL

The [] of the representing the . It is implementation specific, but EPUB creators must assume it has properties defined in .

content URL

The of a file or directory in the , defined in .

core media type resource

A that conforms to one of the MIME media types [] listed in and, therefore, does not require the provision of a (cf. ).

The designation "core media type resource" only applies when a resource is used in the rendering of and . A core media type resource cannot be used in the , for example, without a fallback unless it also has the media type of an EPUB content document.

EPUB conformance checker

An application that verifies the requirements of this specification against and reports on their conformance.

EPUB container OCF ZIP container

The ZIP-based packaging and distribution format for defined in .

EPUB container and OCF ZIP container are synonymous.

EPUB content document

A referenced from the or a that conforms to either the or definitions.

EPUB content documents contain all or part of the content of an (i.e., the textual, visual and/or audio content).

can include EPUB content documents in the spine without the provision of .

EPUB creator

An individual, organization, or process that produces an .

Note

The creation of an EPUB publication often involves the work of many individuals, and may be split across multiple organizations (e.g., when a publisher outsources all or part of the work). Depending on the process used to produce an EPUB publication, responsibilities may fall on the organization (e.g., the publisher), the individuals preparing the publication (e.g., technical editors), or automatic procedures (e.g., as part of a publication pipeline). As a result, not every party or process may be responsible for ensuring every requirement is met, but there is always an EPUB creator responsible for the conformance of the final EPUB publication.

Previous versions of this specification referred to the EPUB creator as the Author.

EPUB manifest (or manifest)

The section of the that lists the .

Refer to for more information.

EPUB navigation document

A specialization of the that contains human- and machine-readable global navigation information. The EPUB navigation document conforms to the constraints expressed in .

EPUB publication

A logical document entity consisting of a set of interrelated packaged in an .

An EPUB publication typically represents a single intellectual or artistic work, but this specification does not restrict the nature of the content.

EPUB reading system (or reading system)

A system that processes for presentation to a user in a manner conformant with this specification.

EPUB spine (or spine)

The section of the that defines an ordered list of and . This list represents the default reading order of the .

Refer to for more information.

exempt resource

Exempt resources are a special class of that reading systems are not required to support the rendering of, but do not have to provide for.

Refer to for more information.

file name

The name of any type of file within an , whether a directory or a file within a directory.

file path

The file path of a file or directory is its full path relative to the , as defined by the algorithm specified in .

fixed-layout document

An with fixed dimensions directly referenced from the . Fixed-layout documents are designated


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

06 in the , as defined in .

foreign content document

Any referenced from a element, or a , that is not an .

When a foreign content document is referenced from a spine


    

3 attribute of an []


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

11 element) are not publication resources.

are also not publication resources — they are considered part of the resource they are embedded in.

remote resource

A that is located outside of the , typically, but not necessarily, on the web.

Publication resources within the EPUB container are referred to as .

Refer to for media type specific rules for resource locations.

root directory

The root directory represents the base of the file system. This directory is .

scripted content document

An that includes scripting or an that contains []


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

12 elements.

Refer to for more information.

SVG content document

An that conforms to the constraints expressed in .

synthetic spread

The rendering of two adjacent pages simultaneously on a device screen.

top-level content document

An or referenced from the , whether directly or via a .

unique identifier

The primary identifier for an . The unique identifier is the of the element specified by the in the .

Significant revision, abridgement, etc. of the content requires a new unique identifier.

viewport

The region of an in which an is rendered visually to a user.

XHTML content document

An that conforms to the profile of [] defined in .

XHTML content documents use the defined in [].

As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.

The key words MAY, MUST, MUST NOT, OPTIONAL, RECOMMENDED, REQUIRED, SHOULD, and SHOULD NOT in this document are to be interpreted as described in BCP 14 [] [] when, and only when, they appear in all capitals, as shown here.

All algorithm explanations are non-normative.

This section is non-normative.

In metadata examples, are used without declaration.

References to Dublin Core elements [] use the


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

15 prefix. This prefix must be declared in the for their use to be valid (


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

16)

The


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

17 namespace prefix [] is also used on elements and attributes without always having an explicit declaration (


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

18).

An :

  • MUST define at least one rendering of its content as follows:
    • MUST contain a that conforms to and meet all requirements for the package document.
    • MUST contain an that conforms to .
  • SHOULD conform to the accessibility requirements defined in [].
  • MUST be packaged in an as defined in .

In addition, all publication resources MUST adhere to the requirements in .

The rest of this specification covers specific conformance details.

This section is non-normative.

Due to the complexity of this specification and number of technologies used in , are advised to use an to verify the conformance of their content.

EPUBCheck is the de facto EPUB conformance checker used by the publishing industry and has been updated with each new version of EPUB. It is integrated into a number of authoring tools and also available in alternative interfaces and other languages (for more information, refer to its Apps and Tools page).

When verifying their EPUB publications, EPUB creators should ensure they do not violate the requirements of this specification (practices identified by the keywords "MUST", "MUST NOT", and "REQUIRED"). These types of issues will often result in EPUB publications not rendering or rendering in inconsistent ways. These issues are typically reported as errors or critical errors.

EPUB creators should also ensure that their EPUB publications do not violate the recommendations of this specification (practices identified by the keywords "SHOULD", "SHOULD NOT", and "RECOMMENDED"). Failure to follow these practices does not result in an invalid EPUB publication but may lead to interoperability problems and other issues that impact the user reading experience. These issues are typically reported as warnings.

Note

Vendors, distributors, and other retailers of EPUB publications should consider the importance of recommended practices before basing their acceptance or rejection on a zero-issue outcome from an EPUB conformance checker. There will be legitimate reasons why EPUB creators cannot follow recommended practices in all cases.

This section is non-normative.

An is made up of many different categories of resources, not all of which are mutually exclusive. Some resources are , some are not. Some publication resources are allowed in the by default, while all others require fallbacks. Some resources can be used in rendering , while others can only be used with fallbacks.

Trying to understand these differences by reading the technical definitions of each category of resource can be complex. To make the categorizations easier to understand, this introduction uses the concept of different planes to explain how resources are grouped and referred to.

The three planes are:

  • The — The manifest plane holds all the resources of the EPUB publication (namely, publication resources and ).
  • The — The spine plane holds only the resources used in rendering the spine (namely, EPUB content documents and ).
  • The — The content plane holds only the resources used in the rendering of EPUB and foreign content documents (namely, , and ).

The same resource may exist on more than one plane and will be referred to differently in this specification depending on which plane is being discussed. For example, a core media type resource used in the rendering of an EPUB content document (on the content plane) may also be a foreign content document if it is also listed in the spine (the spine plane).

The following sections describe these planes in more detail.

Note

Refer to for a detailed example showing how resources fit into the different planes.

To manifest plane defines all the resources of an . It is analogous to the , but includes resources not present in that list.

The primary resources in this group are designated , which are all the resources used in rendering an EPUB publication to the user. always have to list these resources in the element.

Publication resources are further classified by their use(s) in the and .

The manifest plane also contains a set of . These resources are tangential to the direct rendering. They include, for example, metadata records and links to external content (e.g., where to purchase an EPUB publication).

Unlike publication resources, they are not listed in the package document manifest (i.e., because they are not essential to rendering the EPUB publication). They are instead defined in elements in the package document metadata. These elements define their nature and purpose similar to how manifest elements define publication resource. (In this way, they are like an extension of the manifest.)

Refer to for more information about linked resources.

Resources in the manifest plane are also sometimes broken down by where they are located. Although most publication resources have to be located in the EPUB container (called ), EPUB 3 allows to be hosted outside the container. These exceptions were made to speed up the download and loading of EPUB publications, as these resources are typically quite large, and, in the case of fonts, not essential to the presentation. When remotely hosted, these publication resources are referred to as .

Since linked resources are not essential to the rendering of an EPUB publication, there are no requirements on where they are located and consequently no special naming of them based on their location. They may be located within the EPUB container or outside it.

Note

Hyperlinked content outside the EPUB container (e.g., web pages) are not publication resources, and consequently are not listed in the manifest. Reading systems will normally open these links in a separate browser instance, not as part of the EPUB publication.

The spine plane defines resources used in the default reading order established by the , which includes both . The spine instructs on how to load these resources as the user progresses through the . Although many resources may be bundled in an , they are not all allowed by default in the spine.

EPUB 3 defines a special class of resources called that can use in the spine without any restrictions. EPUB content documents encompass both and .

To use any other type of resource in the spine, called a , requires including a fallback to an EPUB content document. This extensibility model allows EPUB creators to experiment with formats while ensuring that reading systems are always able to render something for the user to read, as there is no guarantee of support for foreign content documents.

A mechanism called allows EPUB creators to provide fallbacks for foreign content documents. In this model, the entry for the foreign content document must include a that points to the next possible resource for reading systems to try when they do not support its format. Although not common, a fallback resource can specify another fallback, thereby making chains many resources deep. The one requirement is that there must be at least one EPUB content document in a .

Although they are not directly listed in the spine, all of the resources in the fallback chain are considered part of the spine, and by extension part of the spine plane, since any may be used by a reading system.

Refer to for more information.

Caution

Although manifest fallbacks fulfill the technical requirements of EPUB, there is little practical support for them in reading systems. Their use is strongly discouraged as it can lead to unreadable publications.

Note

It is possible to provide manifest fallbacks for EPUB content documents, but this is not required or common. For example, a could have a fallback to an unscripted alternative for reading systems that do not support scripting.

The content plane classifies resources that are used when rendering and . These types of resources include embedded media, CSS style sheets, scripts, and fonts. These resources fall into three categories based on their reading system support: , , and .

A core media type resource is one that have to support, so it can be used without restriction in EPUB or foreign content documents. For more information about core media type resources, refer to .

Note

Being a core media type resource does not mean that reading systems will always render the resource, as not all reading systems support all features of EPUB 3. A reading system without a , for example, will not render visual content such as images.

The opposite of core media type resources are foreign resources. These are resources that reading systems are not guaranteed to support the rendering of. As a result, similar to how using foreign content documents in the spine requires fallbacks to ensure their rendering, using foreign resources in content documents also requires fallbacks. These fallbacks are provided in one of two ways: using the capabilities of the host format or via manifest fallbacks.

The preferred method is to use the fallback capabilities of the host format. Many HTML elements, for example, have intrinsic fallback capabilities. One example is the


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

24 element [], which allows to specify multiple alternative image formats.

If an intrinsic fallback method is not available, it is also possible to use manifest fallbacks, but this method, as in the previous section, is discouraged. For more information about foreign resources, refer to .

Falling between core media type resources and foreign resources are exempt resources. These are most closely associated with foreign resources, as there is no guarantee that reading systems will render them. But like core media types, they do not require fallbacks.

Exempt resources tend to address specific cases for which there are no core media types defined, but for which providing a fallback would prove cumbersome or unnecessary. These include embedding video, adding accessibility tracks, and linking to resources from the [] element.

Refer to for more information about these exceptions.

Note

A common point of confusion arising from core media type resources is the listing of XHTML and SVG as core media type resources with the requirement the markup conform to their respective EPUB content document definitions. This allows EPUB creators to embed both XHTML and SVG documents in EPUB content documents while keeping consistent requirements for authoring and reading system support.

In practice, it means that EPUB creators can put XHTML and SVG core media type resources in the spine without any modification or fallback (they are also conforming XHTML and SVG content documents), but this is a unique case. All other core media type resources become foreign content documents when used in the spine (i.e., foreign content documents include all foreign resources and all core media type resources except for XHTML and SVG).

MAY include that conform to the MIME media type [] specifications defined in the following table without fallbacks when they are used in and . These resources are classified as .

With the exception of and , EPUB creators MUST provide for core media type resources referenced directly from the . In this case, they are .

The columns in the table represent the following information:

  • Media Type—The MIME media type [] used to represent the given publication resource in the . If the table lists more than one media type, the first one is the preferred media type. EPUB creators should use the preferred media type for all new EPUB publications.
  • Content Type Definition—The specification to which the given core media type resource must conform.
  • Applies to—The publication resource type(s) that the Media Type and Content Type Definition applies to. Media Type Content Type Definition Applies to Images


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

26 [] GIF Images


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

27 [] JPEG Images


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

28 [] PNG Images


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

29 SVG documents


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

30 [], [] WebP Images Audio


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

31 [] MP3 audio


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

32 [], [] AAC LC audio using MP4 container


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

33 [] OPUS audio using OGG container Style


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

34 CSS Style Sheets. Fonts

  1.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    35
  2.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    36 [] TrueType fonts
  3.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    37
  4.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    36
  5.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    39 [] OpenType fonts
  6.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    40
  7.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    41 [] WOFF fonts


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

42 [] WOFF2 fonts Other


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

43 HTML documents that use the [].

  1.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    44
  2.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    45
  3.    THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    46 [] Scripts.


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

47 [] The NCX.


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

48 EPUB media overlay documents

Note

Inclusion as a core media type resource does not mean that all reading systems will support the rendering of a resource. Reading system support also depends on the capabilities of the application (e.g., a reading system with a must support image core media type resources, but a reading system without a viewport does not). Refer to [] for more information about which reading systems rendering capabilities require support for which core media type resources.

The Working Group typically only includes formats as core media type resources when they have broad support in web browser cores — the rendering engines that EPUB 3 reading systems build upon. They are an agreement between reading system developers and EPUB creators to ensure the predictability of rendering of EPUB publications.

A , unlike a is one which is not guaranteed support when used in an or .

MUST provide fallbacks for foreign resources, where fallbacks take one of the following forms:

  • intrinsic fallback mechanisms provided by the host format (e.g., [] elements often provide the ability to reference more than one media type or to display an alternate embedded message when a media type cannot be rendered); or
  • defined on elements in the .

Note

Refer to the [] and [] specifications for the intrinsic fallback capabilities their elements provide.

also provides additional information about how fallbacks are interpreted for specific elements.

An shares properties with both and . It is most similar to a in that it is not guaranteed support, but, like a core media type resource, does not require a fallback.

There are only a small set of special cases for exempt resources. Video, for example, are exempt from fallbacks because there is no consensus on a core media type video format at this time (i.e., there is no format to fallback to). Similarly, audio and video tracks are exempt to allow to meet accessibility requirements using whatever format reading systems support best.

The following list details cases of content-specific exempt resources, including any restrictions on where EPUB creators can use them.

Fonts

All font resources not already covered as are exempt resources.

This exemption allows EPUB creators to use any font format without a fallback, regardless of reading system support expectations, as CSS rules will ensure a fallback font in case of no support.

Refer to the [] for more information.

Linked resources

Any resource referenced from the [] element that is not already a core media type resource (e.g., CSS style sheets) is an exempt resource.

Tracks

All audio and video tracks (e.g., [] captions, subtitles and descriptions) referenced from the []


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

51 element are exempt resources.

Video

All video codecs referenced from the []


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

52 — including any child


   
       THE LORD OF THE RINGS, Part One:
       The Fellowship of the Ring
   

53 elements — are exempt resources.

Note

Although reading systems are encouraged to support at least one of the H.264 [] and VP8 [] video codecs, support for video codecs is not a conformance requirement. EPUB creators must consider factors such as breadth of adoption, playback quality, and technology royalties when deciding which video formats to include.

Note

The exemptions made above do not apply to the . If an exempt resource is used in the spine, and it is not also an , it will require a fallback in that context.

In addition to the content-specific exemptions, a resource is classified as an exempt resource if:

  • it is not referenced from a spine element (i.e., used as a ); and
  • it is not embedded directly in EPUB content documents (e.g., via [] and [] and elements).

This exemption allows EPUB creators to include resources in the that are not for use by EPUB reading systems. The primary case for this exemption is to allow data files to travel with an , whether for scripts to use in their constituent EPUB content documents or for external applications to use (e.g., a scientific journal might include a data set with instructions on how to extract it from the EPUB container).

It also allows EPUB creators to use foreign resources in foreign content documents without reading systems or having to understand the fallback capabilities of those resources (i.e., the requirement for a fallback for the foreign content document covers any rendering issues within it). As the resource is not referenced from an EPUB content document, it automatically becomes exempt from fallbacks.

Manifest fallbacks are a feature of the that create a manifest fallback chain for a , allowing to select an alternative format they can render.

Fallback chains are created using the on elements. This attribute references the [] of another manifest

  
  

3 attributes in the package document — this applies both to manifest` elements and metadata ` elements;
  • in the

      
          
      
          
          
          
          
          
          
          
          
          
          
          
          
      
          
    
      
          
        …  
      
      
          
        …  
          
              
            
    Lỗi the selected layout has an invalid media configuration

    3 attribute on [] or []

       THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    94 elements, except when inside an

       THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    95 element [];
  • in the

      
          
      
          
          
          
          
          
          
          
          
          
          
          
          
      
          
    
      
          
        …  
      
      
          
        …  
          
              
            
    Lỗi the selected layout has an invalid media configuration

    3 attribute on []

       THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    97 elements, except when inside an

       THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    98 element;
  • in calls to []

       THE LORD OF THE RINGS, Part One:  
       The Fellowship of the Ring  
    

    99 or

    xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    00.
  • Note

    These restrictions on the use of data URLs are to prevent security issues and also to ensure that can determine where to take a user next (i.e., because data URLs cannot be referenced from the ).

    The list of prohibited uses for data URLs is subject to change as the respective standards that allow their use evolve.

    A consequence of embedding is that the data in a data URL is not considered its own unique for manifest reporting purposes (i.e., only its containing publication resource gets listed). As this data has its own media type, however, it is still subject to . EPUB creators MUST therefore encode data URLs as or provide a fallback using the intrinsic fallback mechanisms of the host format.

    The is defined in [] as "identifying an object (a 'file') stored in a structured object naming and accessing environment on a host (a 'file system')." It is typically used to retrieve files from the local operating system.

    Using a file URL in an , which can be transferred among different hosts, represents a security risk and is also non-interoperable. As a consequence, MUST NOT use file URLs in EPUB publications.

    Any that is an XML-based media type []:

    • MUST be a conformant XML 1.0 Document as defined in [].
    • MAY only specify a that references an appropriate for its media type — as defined in — or that omits external identifiers [].
    • MUST NOT contain declarations in the internal DTD subset [].
    • MUST NOT make use of XInclude [].
    • MUST be encoded in UTF-8 or UTF-16 [], with UTF-8 as the RECOMMENDED encoding.

    The above constraints apply regardless of whether the given publication resource is a or a .

    Note

    [] and [] are removing support for the XML

    0 attribute []. EPUB creators should avoid using this feature.

    This section is non-normative.

    OCF is the required container technology for . OCF may play a role in the following workflows:

    • During the preparation steps in producing an EPUB publication, OCF may be used as the container format when exchanging in-progress publications between different individuals and/or different organizations.
    • When providing an EPUB publication from publisher or conversion house to the distribution or sales channel, OCF is the recommended container format to be used as the transport format.
    • When delivering the final EPUB publication to an or user, OCF is the required format for the container that holds all of the assets that make up the publication.

    This section defines the rules for structuring the file collection in the abstract: the "abstract container". It also defines the rules for the representation of this abstract container within a ZIP archive: the "physical container". The rules for ZIP physical containers build upon the ZIP technologies used by [].

    OCF also defines a standard method for for those EPUB publications that require this functionality.

    This section is non-normative.

    The file system model uses a single common . All are located within the directory tree headed by the root directory, but no specific file system structure for them is mandated by this specification.

    The file system model also includes a mandatory directory named

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 that is a direct child of the root directory and stores the following special files:

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    9

    05

    Identifies one or more that define the .

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0

    07

    Contains digital signatures for various assets.

    5

    07

    Contains information about the encryption of . This file is mandatory when use .

    8

    07

    Used to store metadata about the .

    9

    07

    Used to store information about digital rights.

    7

    07

    A manifest of container contents as allowed by Open Document Format [].

    Refer to for conformance requirements for the various files in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory.

    The virtual file system for the MUST have a single common for all the contents of the container.

    The OCF abstract container MUST include a directory for configuration files named

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 that is a direct child of the container's root directory. Refer to for the requirements for the contents of this directory.

    The file name

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    01 in the root directory is reserved for use by , as explained in .

    Files in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory and the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    01 file are not so MUST NOT be listed in the .

    MAY locate all other files within the OCF abstract container in any location descendant from the root directory, provided they are not within the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory. EPUB creators MUST NOT reference files in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory from an .

    In the context of the , and are [] (i.e., their values are case sensitive).

    In addition, the following restrictions are designed to allow file paths and file names to be used without modification on most operating systems:

    • File names MUST NOT exceed 255 bytes.
    • The file paths for any directory or file within the OCF abstract container MUST NOT exceed 65535 bytes.
    • File names MUST NOT use the following [] characters, as commonly used operating systems may not support these characters consistently:
      • SOLIDUS:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        25 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • QUOTATION MARK:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        27 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • ASTERISK:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        29 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • FULL STOP as the last character:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        31 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • COLON:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        33 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • LESS-THAN SIGN:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        35 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • GREATER-THAN SIGN:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        37 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • QUESTION MARK:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        39 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • REVERSE SOLIDUS:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        41 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • VERTICAL LINE:

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        43 (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • DEL (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • C0 range (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • C1 range (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • Private Use Area (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • All Unicode Non Characters, specifically:
        • The 32 contiguous characters in the Basic Multilingual Plane (
                 
        • The last two code points of the Basic Multilingual Plane ( 50 and
        • The last two code points at the end of the Supplementary Planes (
      • Specials (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • Supplementary Private Use Area-A (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      • Supplementary Private Use Area-B (

        xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        55)
    • For compatibility with older , file names SHOULD NOT contain SPACE (U+0020) characters.
    • All file names within the same directory MUST be unique following Unicode canonical normalization [] and then full case folding []. (Refer to [] for more information.)

    Note

    If dynamically integrate resources (i.e., where the naming is beyond their control), they should be aware that automatic truncation of file names to keep them within the 255 bytes limit can lead to corruption. This is due to the difference between bytes and characters in multibyte encodings such as UTF-8; it is, therefore, important to avoid mid-character truncation. See the section on in [] for more information.

    Note

    EPUB creators should use an abundance of caution in their file naming when interoperability of content is key. The is intended to help avoid some known problem areas, but it does not ensure that all other Unicode characters are supported. Although Unicode support is much better now than in earlier iterations of EPUB, older tools and toolchains may still be encountered (e.g., ZIP tools that only support []).

    To derive the file path, given a file or directory file in the , apply the following steps (expressed using the terminology of []):

    1. Let path be an empty .
    2. Let current be file.
    3. While current is not the :
      1. the of current to path;
      2. set current to the parent directory of current.
    4. Return the of path using the

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      56 character.

    The is the [] of the . It is implementation-specific, but MUST assume it has the following properties:

    • The result of "

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      25" with the as is the .
    • The result of "

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      58" with the as is the .

    The of a file or directory in the is the result of the file's with the container root URL as .

    Note

    The container root URL is the URL assigned by the to the root of the . It typically depends on how the reading system internally implements the container file system.

    However, a reading system cannot arbitrarily use any URL, but one that honors the constraints defined above. These constraints ensure that any relative URL string found in the EPUB will always be parsed to a URL of a resource within the container (which may or may not exist). The primary reason for these constraints is to avoid potential run-time security issues that would be caused by parsed URLs "leaking" outside the container files.

    For example, URLs like

    59 or

    60 honor these properties. But URLs like

    61,

    62, or

    63 do not (parsing the URL string "

    58" with these three examples as base would return

    65,

    66, and a parsing error, respectively). It is the responsibility of the reading system to assign a URL to the root directory that complies with the properties defined above.

    Note

    Parsing may replace some characters in the file path by their alternative. For example,

    67 becomes

    68.

    A string url is a valid-relative-ocf-URL-with-fragment string if it is a , optionally followed by

    69 and a , and if the following steps return true:

    1. Set the to

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    2. Explanation The goal of the algorithm is to detect whether url could be seen as "leaking" outside the container. To do that, the standard is used with an artificial root URL; the detection of the "leak" is done by comparing the result of the parsing with the presence of the first test path segment (

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      71). (Note that the artificial container root URL wilfully violates, for the purpose of this algorithm, the by using that first test path segment.)
    3. Let base be the that must be used to parse url as defined by the context (document or environment) where url is used, and according to the content URL of the (see ).

      Explanation In the case of a URL in the package document the base variable is set to the content URL of the package document. In the case of a document within the

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      7 directory, the base variable is set to the container root URL (see ). In the case of a URL in an , the base URL used for parsing is defined by the . Typically, it will be the content URL of the content document (unless the

      0 element is used).
    4. Let testURLRecord be the result of applying the to url, with base.
    5. Let testURLStringA be the result of applying the to testURLRecord.
    6. Set the to

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    7. Explanation The reasons to repeat the same steps twice with different, and artificial, settings of the container root URL is to avoid collision which may occur if the url string also includes

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      76. Consider, for example, the case where url is

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      77.
    8. Set base to be the that must be used to parse url as defined by the context (document or environment) where url is used, and according to the content URL of the package document (see ).
    9. Set testURLRecord to be the result of applying the to url, with base.
    10. Let testURLStringB be the result of applying the to testURLRecord.
    11. If testURLStringA does not start with

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      78 or testURLStringB does not start with

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      79, return true. Explanation If any of the result does not share the test URL host, it means that url, or its base URL (for example, in HTML, if it is explicitly set with the

      0 element), was absolute and points outside the container. This is acceptable.
    12. If testURLStringA starts with

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      70 and testURLStringB starts with

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      75, return true. Explanation The presence of the first test path segments (

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      71, respectively

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    13. indicate that the URL doesn't leak outside the container.
    14. Return false.

    In the OCF abstract container, any URL string MUST be an or a .

    In addition, all [] MUST, after , be equal to the content URL of an existing file in the OCF abstract container.

    Note

    These constraints on URL strings mean that:

    • relative URL strings starting with a

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      25 (

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    • (for example,

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    • are disallowed;
    • relative URL strings containing more than needed to reach the target file (for example,

      xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

    • are disallowed;
    • any other absolute or relative URL string is allowed.

    Note that in any case, even the disallowed URL strings described above will not "leak" outside the container after parsing (as explained in the of this section). They are nevertheless disallowed for better interoperability with non-conforming or legacy reading systems and toolchains.

    All MUST include a directory called

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 in their .

    This directory is reserved for configuration files, specifically those defined in .

    To parse a URL string url used in files located in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory the MUST be applied to url, with the as .

    The REQUIRED

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    9 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory identifies the available in the .

    All [] elements defined in this section are in the

    93 namespace [] unless specified otherwise.

    The contents of this file MUST be valid to the definition in this section after removing all elements and attributes from other namespaces (including all attributes and contents of such elements).

    Note

    An also informally defines the content of this file.

    The

    0 element encapsulates all the information in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    9 file.

    Element Name:

    0

    Usage:

    REQUIRED [] of the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    9 file.

    Attributes:

    98

    05 This attribute MUST have the value "

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    00". Content Model:

    In this order:

    • [exactly one]
    • [0 or 1]

    The

    1 element contains a list of available in the .

    Element Name:

    1

    Usage:

    REQUIRED first child of .

    Attributes:

    None

    Content Model:

    • [1 or more]

    Each

    2 element identifies the location of one in the .

    Element Name:

    2

    Usage:

    As child of the element. Repeatable.

    Attributes:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    10

    05

    Identifies the location of a package document.

    The value of the attribute MUST be a []. The path is relative to the .

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    5

    05

    Identifies the media type of the package document.

    The value of the attribute MUST be "

    
    
       
          
       
    

    8".

    Content Model:

    Empty

    If an defines more than one

    2 element, each MUST reference a package document that conforms to the same version of EPUB. Each package document represents one rendering of the .

    Note

    Although the EPUB container provides the ability to reference more than one package document, this specification does not define how to interpret, or select from, the available options. Refer to [] for more information on how to bundle more than one rendering of the content.

    The

    3 element identifies resources necessary for the processing of the .

    Element Name:

    3

    Usage:

    OPTIONAL second child of . Repeatable.

    Attributes:

    None

    Content Model:

    • [1 or more]

    Note

    This specification currently does not define uses for the

    3 element. Refer to [] for an example of its use.

    Element Name:

    4

    Usage:

    As child of the element. Repeatable.

    Attributes:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    3

    05

    Identifies the location of a resource.

    The value of the

    4 element

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    3 attribute MUST be a []. The path is relative to the .

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    5

    07

    Identifies the type and format of the referenced resource.

    The value of the attribute MUST be a media type [].

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    29

    05

    Identifies the relationship of the resource.

    The value of the attribute MUST be a space-separated list of tokens.

    Content Model:

    Empty

    This section is non-normative.

    The OPTIONAL

    5 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory holds all encryption information on the contents of the container. If an encrypts any resources within the container, they MUST include an

    5 file to provide information about the encryption used.

    Element Name:

    6

    Namespace:

    93

    Usage:

    REQUIRED [] of the

    5 file.

    Attributes:

    None

    Content Model:

    In any order:

    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      37 [1 or more]
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      38 [1 or more]

    The

    6 element contains child elements of type

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    37 and

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    38 as defined by [].

    An

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    37 element describes each encryption key used in the container, while an

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    38 element describes each encrypted file. Each

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    38 element refers to an

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    37 element, as described in XML Encryption.

    Note

    An also informally defines the content of the

    5 file.

    OCF encrypts individual files independently, trading off some security for improved performance, allowing the container contents to be incrementally decrypted. Encryption in this way exposes the directory structure and file naming of the whole package.

    OCF uses XML Encryption [] to provide a framework for encryption, allowing a variety of algorithms to be used. XML Encryption specifies a process for encrypting arbitrary data and representing the result in XML. Even though an may contain non-XML data, can use XML Encryption to encrypt all data in an . OCF encryption supports only the encryption of entire files within the container, not parts of files. EPUB creators MUST NOT encrypt the

    5 file when present.

    Encrypted data replaces unencrypted data in an OCF abstract container. For example, if an EPUB creator encrypts an image named

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    48, they should replace the contents of the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    48 resource with its encrypted contents. Within the ZIP directory, EPUB creators SHOULD store encrypted files rather than Deflate-compress them.

    Note that some situations require obfuscating the storage of embedded fonts referenced by an to make them more difficult to extract for unrestricted use. Although obfuscation is not encryption, reading systems use the

    5 file in conjunction with the to identify fonts to deobfuscate.

    EPUB creators MUST NOT encrypt the following files:

    •    THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      01
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      52
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      53
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      54
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      55
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      56
    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      57
    • [=

        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      58 =]

    EPUB creators MAY subsequently encrypt signed resources using the Decryption Transform for XML Signature []. This feature enables a to distinguish data encrypted before signing from data encrypted after signing.

    When stored in an , SHOULD compress streams of data with content types before encrypting them. EPUB creators MUST use Deflate compression. This practice ensures that file entries stored in the ZIP container have a smaller size.

    EPUB creators SHOULD NOT compress streams of data with content types before encrypting them. In such cases, additional compression introduces unnecessary processing overhead at production time (especially with large resource files) and impacts audio/video playback performance at consumption time. In some cases, the combination of compression with some encryption schemes might even compromise the ability of to handle partial content requests (e.g. HTTP byte ranges), due to the technical impossibility to determine the length of the full resource ahead of media playback (e.g. HTTP Content-Length header).

    When EPUB creators compress streams of data before encrypting, they SHOULD provide additional

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    59 metadata to specify the size of the initial resource (i.e., before compression and encryption), as per the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    60 XML element defined below. When EPUB creators do not compress streams of data before encrypting, they MAY provide the additional

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    59 metadata to specify the size of the initial resource (i.e., before encryption).

    Element Name:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    60

    Namespace:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    63

    Usage:

    OPTIONAL child of

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    64.

    Attributes: Method

    05

    Identifies the compression method used.

    Value is either "

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    66" (no compression) or "

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    67" (Deflate algorithm).

    OriginalLength

    05

    Represents the size of the initial resource (number of bytes).

    Value is a positive integer.

    Content Model:

    Empty

    The OPTIONAL

    7 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory provides a manifest of files in the container.

    The OCF specification does not mandate a format for the manifest.

    Note that specify the only manifests used for processing . Reading systems do not use this file.

    Note

    This feature exists only for compatibility with [].

    The OPTIONAL

    8 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory is only for container-level metadata.

    If include a

    8 file, they SHOULD use only namespace-qualified elements [] in it. The file SHOULD contain the []

    
            
            
        
        
            

    0 in the namespace

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    75, but this specification allows other root elements for backwards compatibility.

    This version of the specification does not define metadata for use in the

    8 file. Future versions of this specification MAY define container-level metadata.

    This specification reserves the OPTIONAL

    9 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory for the trusted exchange of among rights holders, intermediaries, and users.

    When do not include a

    9 file, no part of the is rights governed at the container level. Rights expressions might exist within the EPUB publications.

    Note

    Adding a digital signature is not a guarantee that a malicious actor cannot tamper with an as do not have to check signatures.

    The OPTIONAL

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    7 directory holds digital signatures for the container and its contents.

    Element Name:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    1

    Namespace:

    93

    Usage:

    REQUIRED [] of the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    84 file.

    Attributes:

    None

    Content Model:

    •   
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      85 [1 or more]

    The

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    86 element contains child elements of type

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    85, as defined by []. can apply signatures to an EPUB publication as a whole or to its parts, and can specify the signing of any kind of data (i.e., not just XML).

    Note

    An also informally defines the content of the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file.

    When an EPUB creator does not include a

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file, they are not signing any part of the at the container level. Digital signing might exist within the EPUB publication.

    When an EPUB creator creates a data signature for the OCF abstact container, they SHOULD add the signature as the last child

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    85 element of the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    1 element.

    Note

    Each

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    85 in the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file identifies by URL [] the data to which the signature applies, using the []

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    94 element and its

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    95 sub-elements. EPUB creator may sign individual container files separately or together. Separately signing each file creates a digest value for the resource that reading systems can validate independently. This approach might make a Signature element larger. If EPUB creators sign files together, they can list the set of signed files in a single XML Signature

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    94 element and reference them by one or more

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    85 elements.

    EPUB creators can sign any or all files in the OCF abstract container in their entirety, except for the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file since that file will contain the computed signature information. Whether and how EPUB creators sign the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file depends on their objective.

    If the EPUB creator wants to allow signatures to be added or removed from the OCF abstract container without invalidating their signature, they SHOULD NOT sign the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    0 file.

    If the EPUB creator wants any addition or removal of a signature to invalidate their signature, they can use the Enveloped Signature transform defined in of [] to sign the entire pre-existing signature file excluding the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    85 being created. This transform would sign all previous signatures, and it would become invalid if a subsequent signature were added to the package.

    Note

    If the EPUB creator wants the removal of an existing signature to invalidate their signature, but also wants to allow the addition of signatures, they could use an XPath transform to sign just the existing signatures. The details of such a transform are outside the scope of this specification, however.

    The [] specification does not associate any semantics with a signature; an agent might include semantic information, for example, by adding information to the Signature element that describes the signature. The [] specification describes how additional information can be added to a signature, such as by use the

    
            
            
        
        
            

    02 element.

    This section is non-normative.

    An is a physical single-file manifestation of an . The container allows:

    • the exchange of in-progress between different individuals and/or different organizations;
    • the transfer of EPUB publications from a publisher or conversion house to the distribution or sales channel; and
    • the delivery of EPUB publications to or users.

    An uses the ZIP format as specified by [], but with the following constraints and clarifications:

    • The contents of the OCF ZIP container MUST be a conforming .
    • OCF ZIP containers MUST NOT use the features in the ZIP application note [] that allow ZIP files to be spanned across multiple storage media or be split into multiple files.
    • OCF ZIP containers MUST include only stored (uncompressed) and Deflate-compressed ZIP entries within the ZIP archive.
    • OCF ZIP containers MAY use the ZIP64 extensions defined as "Version 1" in section V, subsection G of the application note [] and SHOULD use only those extensions when the content requires them.
    • OCF ZIP containers MUST NOT use the encryption features defined by the ZIP format; instead, encryption MUST be done using the features described in .
    • OCF ZIP containers MUST encode file system names using UTF-8 [].

    The following constraints apply to specific fields in the OCF ZIP container archive:

    • In the local file header table, MUST set the

        
            
            
        
        
          

      04 fields to the values

        
            
            
        
        
          

      05,

        
            
            
        
        
          

      06 or

        
            
            
        
        
          

      07 to match the maximum version level needed by the given file (e.g.,

        
            
            
        
        
          

      06 for Deflate,

        
            
            
        
        
          

      07 for ZIP64).
    • In the local file header table, EPUB creators MUST set the

        
            
            
        
        
          

      10 method field to the values

        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      66 or

        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
      
        
            
          …  
        
        
            
          …  
            
                
              
      Lỗi the selected layout has an invalid media configuration

      67.

    MUST include the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    01 file as the first file in the . In addition:

    • The contents of the

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      01 file MUST be the MIME media type [] string

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      9 encoded in US-ASCII [].
    • The

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      01 file MUST NOT contain any leading or trailing padding or white space.
    • The

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      01 file MUST NOT begin with the Unicode byte order mark U+FEFF.
    • EPUB creators MUST NOT compress or encrypt the

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      01 file.
    • EPUB creators MUST NOT include an extra field in its ZIP header.

    Caution

    Better methods of protecting fonts exist. Both [] and [] fonts, for example, allow the embedding of licensing information and provide some protection through font table compression. The use of remotely hosted fonts also allows for font subsetting. are advised to use font obfuscation as defined in this section only when no other options are available to them. See also the .

    This section is non-normative.

    Since an is fundamentally a ZIP file, commonly available ZIP tools can be used to extract any unencrypted content stream from the package. Moreover, the nature of ZIP files means that their contents might appear like any other native container on some systems (e.g., a folder).

    While this simplicity of ZIP files is quite useful, it also poses a problem when ease of extraction of fonts is not a desired side-effect of not encrypting them. An who wishes to include a third-party font, for example, typically does not want that font extracted and re-used by others. More critically, many commercial fonts allow embedding, but embedding a font implies making it an integral part of the , not just providing the original font file along with the content.

    Since integrated ZIP support is so ubiquitous in modern operating systems, simply placing a font in the is insufficient to signify that the font cannot be reused in other contexts. This uncertainty can undermine the otherwise useful font embedding capability of EPUB publications.

    To discourage reuse of their fonts, some font vendors might only allow their use in EPUB publications if the fonts are bound in some way to the EPUB publication. That is, if the font file cannot be installed directly for use on an operating system with the built-in tools of that computing device, and it cannot be directly used by other EPUB publications.

    It is beyond the scope of this specification to provide a digital rights management or enforcement system for fonts. This section instead defines a method of obfuscation that will require additional work on the part of the final OCF recipient to gain general access to any obfuscated fonts.

    This section is non-normative.

    This specification does not claim that obfuscation constitutes encryption, nor does it guarantee that the resource will be secure from copyright infringement. The hope is only that this algorithm will meet the requirements of vendors who require some assurance that their fonts cannot be extracted simply by unzipping the and copying the resource.

    Obfuscation, like any protection scheme, cannot fully protect fonts from being accessed in their deobfuscated state. The mechanism only provides an obstacle for those who are unaware of the license details. It will not prevent a determined user from gaining full access to the font through such alternative means as:

    • applying the deobfuscation algorithm to extract the raw font file;
    • accessing the deobfuscated font through a that must dedobfuscate it to render the content (e.g., by accessing the resources through a browser-based reading system); or
    • accessing the deobfuscated font through authoring tools that provide the visual rendering of the content.

    As a result, whether this method of obfuscation satisfies the requirements of individual font licenses remains a question for the licensor and licensee. are responsible for ensuring their use of obfuscation meets font licensing requirements.

    EPUB creators should also be aware that obfuscation may lead to interoperability issues in reading systems as reading systems are not required to deobfuscate fonts. As a result, the visual presentation of their publications may differ from reading system to reading system.

    Also note that the algorithm is restricted to obfuscating fonts. It is not intended as a general-purpose mechanism for obfuscating any resource in the EPUB container.

    MUST derive the key used in the obfuscation algorithm from the .

    All white space characters, as defined in [], MUST be removed from this identifier — specifically, the Unicode code points

    
            
            
        
        
            

    19,

    
            
            
        
        
            

    20,

    
            
            
        
        
            

    21 and

    
            
            
        
        
            

    22.

    EPUB creators MUST generate a SHA-1 digest of the UTF-8 representation of the resulting string as specified by the Secure Hash Standard []. They can then use this digest as the key for the algorithm.

    The algorithm employed to obfuscate fonts consists of modifying the first 1040 bytes (~1KB) of the font file. (In the unlikely event that the font file is less than 1040 bytes, this process will modify the entire file.)

    To obfuscate the original data, store, as the first byte of the embedded font, the result of performing a logical exclusive or (XOR) on the first byte of the raw font file and the first byte of the .

    Repeat this process with the next byte of source and key and continue for all bytes in the key. At this point, the process continues starting with the first byte of the key and 21st byte of the source. Once 1040 bytes are encoded in this way (or the end of the source is reached), directly copy any remaining data in the source to the destination.

    MUST obfuscate fonts before compressing and adding them to the . Note that as obfuscation is not encryption, this requirement is not a violation of the one in to compress fonts before encrypting them.

    The following pseudo-code exemplifies the obfuscation algorithm.

    1. set ocf to OCF ZIP container file
    2. set source to font file
    3. set destination to obfuscated font file
    4. set keyData to key for file
    5. set outer to 0
    6. while outer < 52 and not (source at EOF)
      1. set inner to 0
      2. while inner < 20 and not (source at EOF)
        1. read 1 byte from source (Assumes read advances file position)
        2. set sourceByte to result of read
        3. set keyByte to byte inner of keyData
        4. set obfuscatedByte to (sourceByte XOR keyByte)
        5. write obfuscatedByte to destination
        6. increment inner end while
      3. increment outer end while
    7. if not (source at EOF) then
      1. read source to EOF
      2. write result of read to destination end if
    8. Deflate destination
    9. store destination as source in ocf

    Although not technically encrypted data, all obfuscated fonts MUST have an entry in the

    5 file accompanying the (see ).

    MUST specify an

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    38 element for each obfuscated font. Each

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    38 element MUST contain a child

    
            
            
        
        
            

    28 element whose

    
            
            
        
        
            

    29 attribute has the value

    
            
            
        
        
            

    30. The presence of this attribute signals the use of the algorithm described in this specification.

    EPUB creators MUST list the path to the obfuscated font in the

    
            
            
        
        
            

    31 child of the

    
            
            
        
        
            

    32 element. As the obfuscation algorithm is restricted to fonts, the

    
            
            
        
        
            

    33 attribute of the

    
            
            
        
        
            

    31 element MUST reference a .

    To prevent trivial copying of the embedded font to other EPUB publications, EPUB creators MUST NOT provide the in the

    5 file.

    All [] elements defined in this section are in the

    
            
            
        
        
            

    36 namespace [] unless otherwise specified.

    This section is non-normative.

    The is an XML document that consists of a set of elements that each encapsulate information about a particular aspect of an . These elements serve to centralize metadata, detail the individual resources, and provide the reading order and other information necessary for its rendering.

    The following list summarizes the information found in the package document:

    • — mechanisms to include and/or reference information about the EPUB publication.
    • A — identifies via URL [], and describes via MIME media type [], the set of .
    • A — an ordered sequence of ID references to top-level resources in the manifest from which can reach or utilize all other resources in the set. The spine defines the default reading order.
    • — a method of encapsulating and identifying subcomponents within the EPUB publication.
    • — a mechanism that defines an ordered list of top-level resources as content equivalents. A reading system can then choose between the resources based on which it is capable of rendering.

    To parse a URL string url used in the , the [] MUST be applied to url, with the of the package document as base.

    This section provides definitions for shared attributes (i.e., attributes allowed on two or more elements).

    Note

    The

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    2 attribute is marked as often only support a single default directionality for text display. are still strongly encouraged to set the proper directionality of text values in the to ensure proper rendering once this situation improves.

    Specifies the [] of the textual content and attribute values of the carrying element and its descendants.

    Allowed values are:

    •   
            
            
        
        
          

      38 — left-to-right base direction;
    •   
            
            
        
        
          

      39 — right-to-left base direction; and
    •   
            
            
        
        
          

      40 — base direction is determined using the Unicode Bidi Algorithm [].

    Reading systems will assume the value

    
            
            
        
        
            

    40 when EPUB creators omit the attribute or use an invalid value.

    Note

    The base direction specified in the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    2 attribute does not affect the ordering of characters within directional runs, only the relative ordering of those runs and the placement of weak directional characters such as punctuation.

    Allowed on: , , , , , , , , , , and .

    A [] that references a resource.

    The URL string MUST NOT reference resources via elements in the package document (e.g., via a manifest or spine declaration).

    Allowed on: and .

    The [] of the element, which MUST be unique within the document scope.

    Allowed on: , , , , , , , ,, , , , , , ,, , , , , , and.

    A media type [] that specifies the type and format of the referenced resource.

    Allowed on: and .

    A space-separated list of values.

    Refer to each element's definition for the for the attribute.

    Allowed on: , and .

    Establishes an association between the current expression and the element or resource identified by its value. MUST use as the value a , optionally followed by

    69 and a that references the resource or element they are describing.

    The

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    7 attribute is OPTIONAL depending on the type of metadata expressed. When omitted, the element defines a .

    When creating expressions about a , the

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    7 attribute SHOULD specify a fragment identifier that references the [] of the resource's .

    Refinement chains MUST NOT contain circular references or self-references.

    Allowed on: and .

    Specifies the language of the textual content and attribute values of the carrying element and its descendants, as defined in section of []. The value of each

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    8 attribute MUST be a [].

    Allowed on: , , , , , , , , , , and .

    The

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    9 element encapsulates all the information expressed in the .

    Element Name:

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    9

    Usage:

    REQUIRED [] of the package document.

    Attributes:

    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      05
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      05 Content Model:

    In this order:

    • `

      
          
      

      4 attribute whose value is referenced from the element's .

      Although not static, EPUB creators should make changes to the unique identifier for an EPUB publication as infrequently as possible. Unique Identifiers should have maximal persistence both for referencing and distribution purposes. EPUB creators should not issue new identifiers when making minor revisions such as updating metadata, fixing errata, or making similar minor changes.

      EPUB creators MAY specify additional identifiers. The identifiers should be fully qualified URIs.

      EPUB creators MAY use the to indicate that the value of a

      
              
              
          
          
              

      1 element conforms to an established system or an issuing authority granted it.

      The

      
              
              
          
          
              

      2 element [] represents an instance of a name for the .

      Element Name:

      
              
              
          
          
              

      2

      Namespace:

        
        
      

      7 attribute to enhance its meaning. A subexpression might refine a media clip, for example, by expressing its duration, or refine a creator or contributor expression by defining the role of the person.

    EPUB creators MAY use subexpressions to refine the meaning of other subexpressions, thereby creating chains of information.

    Note

    All the [] elements represent primary expressions, and permit refinement by meta element subexpressions.

    The is the for use with the

    72 attribute.

    EPUB creators MAY add terms from other vocabularies as defined in .

    The

    76 attribute identifies the system or scheme the EPUB creator obtained the element's from. The value of the attribute MUST be a that resolves to the resource that defines the scheme. The

    76 attribute does not have a (i.e., all values require a ).

    The

    
            
            
        
        
            

    0 section MUST contain exactly one

    91 property [] containing the last modification date. The of this property MUST be an [] dateTime conformant date of the form:

    92

    MUST express the last modification date in Coordinated Universal Time (UTC) and MUST terminate it with the "

    93" (Zulu) time zone indicator.

    EPUB creators should update the last modified date whenever they make changes to the .

    EPUB creators MAY specify additional modified properties in the metadata, but they MUST have a different subject (i.e., they require a

    
        
            
        
            
            
            
            
            
            
            
            
            
            
            
            
        
            
    
            
            …
        
        
            
            …
            
                
                
    Lỗi the selected layout has an invalid media configuration

    7 attribute that references an element or resource).

    Note

    The requirements for the last modification date are to ensure compatibility with earlier versions of EPUB 3 that defined a [] for EPUB publications.

    The

    4 element associates resources with an , such as metadata records.

    Element Name:

    4

    Usage:

    As a child of . Repeatable.

    Attributes:

    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      05
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

      07
    • 
          
      

      3 attribute.

      Resources referenced from the

      4 element are only when they are:

      • referenced from the ; or
      • included or embedded in an (e.g., a metadata record serialized as RDFa [] or as JSON-LD [] embedded in an []

           THE LORD OF THE RINGS, Part One:  
           The Fellowship of the Ring  
        

        84 element).

      In all other cases (e.g., when linking to standalone [] records), the resources referenced are not (i.e., are not subject to ) and MUST NOT list them in the .

      EPUB creators MAY locate linked resources within the or externally, but should consider that are not required to retrieve resources outside the EPUB container.

      The is OPTIONAL when a linked resource is located outside the EPUB container, as more than one media type could be served from the same URL []. EPUB creators MUST specify the attribute for all linked resources within the EPUB container.

      The OPTIONAL

      mimetype
      META-INF/container.xml
      META-INF/signatures.xml
      META-INF/encryption.xml
      EPUB/As_You_Like_It.opf
      EPUB/book.html
      EPUB/nav.html
      EPUB/images/cover.png

      00 attribute identifies the language of the linked resource. The value MUST be a [].

      The REQUIRED

      
          
              
          
              
              
              
              
              
              
              
              
              
              
              
              
          
              
      
              
              …
          
          
              
              …
              
                  
                  
      Lỗi the selected layout has an invalid media configuration

      29 attribute takes a space-separated list of values that establish the relationship the linked resource has with the EPUB publication.

      The value of the

      
          
              
          
              
              
              
              
              
              
              
              
              
              
              
              
          
              
      
              
              …
          
          
              
              …
              
                  
                  
      Lỗi the selected layout has an invalid media configuration

      5 attribute is not always sufficient to identify the type of linked resource (e.g., many XML-based record formats use the media type "

      mimetype
      META-INF/container.xml
      META-INF/signatures.xml
      META-INF/encryption.xml
      EPUB/As_You_Like_It.opf
      EPUB/book.html
      EPUB/nav.html
      EPUB/images/cover.png

      21"). To aid reading systems in the identification of such generic resources, EPUB creators MAY specify a semantic identifier in the

      
          
              
          
              
              
              
              
              
              
              
              
              
              
              
              
          
              
      
              
              …
          
          
              
              …
              
                  
                  
      Lỗi the selected layout has an invalid media configuration

      6 attribute.

      The is the for the

      
          
              
          
              
              
              
              
              
              
              
              
              
              
              
              
          
              
      
              
              …
          
          
              
              …
              
                  
                  
      Lỗi the selected layout has an invalid media configuration

      29 and

      
          
              
          
              
              
              
              
              
              
              
              
              
              
              
              
          
              
      
              
              …
          
          
              
              …
              
                  
                  
      Lỗi the selected layout has an invalid media configuration

      6 attributes.

      EPUB creators MAY add relationships and properties from other vocabularies as defined in .

      EPUB creators MAY provide one or more .

      Note

      Due to the variety of metadata record formats and serializations that an EPUB creator can link to an EPUB publication, and the complexity of comparing metadata properties between them, this specification does not require reading systems to process linked records.

      In addition to full records, EPUB creators MAY also use the

      4 element to identify individual metadata properties available in an alternative format.

      The

      
          
      

      6 attribute.

      MUST set the following properties whenever a resource referenced by an

      
          
      

      6 attribute will have the

      mimetype
      META-INF/container.xml
      META-INF/signatures.xml
      META-INF/encryption.xml
      EPUB/As_You_Like_It.opf
      EPUB/book.html
      EPUB/nav.html
      EPUB/images/cover.png

      77 value.

      EPUB creators MUST declare exactly one

      
          
      

      6 attribute.

      EPUB creators MAY add terms from other vocabularies as defined in .

      The

      
          
      

      9. Repeatable.

      Attributes:

      • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        07
      • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        07
      • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        05
      • xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

        07 Content Model:

      In this order:

      
              
              
          
          
              

      0

        
        
      

      3 attribute of the

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      94 element:

      • MUST, in the case of the , and , resolve to a or fragment therein.
      • MAY, for all other

        3 types, also reference content outside the (e.g., web-hosted resources).
    • An

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      59 (ordered list) element representing a subsidiary content level (e.g., all the subsection headings of a section) MAY follow an

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      94 element.
    • An

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      59 (ordered list) element MUST follow a

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      62 element (

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      62 elements cannot occur in "leaf"

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      81 elements).
    • Regardless of whether an

         THE LORD OF THE RINGS, Part One:  
         The Fellowship of the Ring  
      

      94 or

      version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

          
      

      62 element precedes it, every sublist MUST adhere to the content requirements defined in this section for constructing the primary navigation list.

    Caution

    Although the headings and links in

    3 elements allow any [] , app-based reading systems often only support simple text labels. Because these apps create their own navigation widgets that are not based on HTML rendering, they often cannot retain embedded images and multimedia, MathML, inline styling and other element- and attribute-based rendering instructions. EPUB creators should avoid using these types of elements where their absence may lead to usability issues.

    As a conforming , EPUB creators MAY include the EPUB navigation document in the .

    In the context of this specification, the default display style of list items within

    3 elements is equivalent to the []. EPUB creators MAY specify alternative list styling using CSS for rendering of the document in the spine.

    This section is non-normative.

    The

    3 elements defined in an are distinguished semantically by the value of their attribute.

    This specification defines three types of navigation aid:

    Identifies the

    3 element that contains the table of contents. The

    5 is the only navigation aid that must include in the EPUB navigation document.

    Identifies the

    3 element that contains a list of pages for a print or other statically paginated source.

    Identifies the

    3 element that contains a list of points of interest.

    An EPUB navigation document may contain at most one navigation aid for each of these types.

    The EPUB navigation document may include additional navigation types. See for more information.

    The

    5 element defines the primary navigational hierarchy. It conceptually corresponds to a table of contents in a printed work (i.e., it provides navigation to the major structural sections of the publication).

    SHOULD order the references in the

    5 element such that they reflect both:

    • the order of the in the ; and
    • the order of the targeted elements within their respective .

    The

    
    
       
          
       
    

    93 element provides navigation to static page boundaries in the content. These boundaries may correspond to a statically paginated source such as print or may be defined exclusively for the .

    The

    6 element is OPTIONAL in and MUST NOT occur more than once.

    The

    6 element SHOULD contain only a single

    
    
       
          
       
    

    59 descendant (i.e., no nested sublists).

    MAY identify the destinations of the

    
    
       
          
       
    

    93 references in their respective using the [].

    The

    7 element identifies fundamental structural components in the content to enable to provide the user efficient access to them (e.g., through a dedicated button in the user interface).

    The

    7 element is OPTIONAL in and MUST NOT occur more than once.

    The

    7 element SHOULD contain only a single

    
    
       
          
       
    

    59 descendant (i.e., no nested sublists).

    The attribute is REQUIRED on

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    94 element descendants of the

    7 element. The structural semantics of each link target within the

    7 element is determined by the value of this attribute.

    The

    7 MUST NOT include multiple entries with the same

    mimetype
    META-INF/container.xml
    META-INF/signatures.xml
    META-INF/encryption.xml
    EPUB/As_You_Like_It.opf
    EPUB/book.html
    EPUB/nav.html
    EPUB/images/cover.png

    9 value that reference the same resource, or fragment thereof.

    should limit the number of items they define in the

    7 to only items that a reading system is likely to use in its user interface. The element is not meant to repeat the table of contents.

    The following landmarks are recommended to include when available:

    • [] — Reading systems often use this landmark to automatically jump users past the front matter when they begin reading.
    • [] — If the table of contents is available in the spine, reading systems may use this landmark to take users to the document containing it.

    Other possibilities for inclusion in the

    7 are key reference sections such as indexes and glossaries.

    Although the

    7 is intended for reading system use, EPUB creators should still ensure that the labels for the

    7 are human readable. Reading systems may expose the links directly to users.

    MAY contain one or more

    3 elements in addition to the

    mimetype
    META-INF/container.xml
    META-INF/signatures.xml
    META-INF/encryption.xml
    EPUB/As_You_Like_It.opf
    EPUB/book.html
    EPUB/nav.html
    EPUB/images/cover.png

    92,

    
    
       
          
       
    

    93, and

    7 elements defined in the preceding sections. If these

    3 elements are intended for processing, they MUST have an attribute and are subject to the content model restrictions defined in .

    This specification imposes no restrictions on the semantics of any additional

    3 elements: they MAY represent navigational semantics for any information domain, and they MAY contain link targets with homogeneous or heterogeneous semantics.

    This section is non-normative.

    Although it is possible to reuse the in the , it is often the case that not all of the navigation structures, or branches within them, are needed. will often want to hide the and navigation elements or trim the branches of the table of contents for books that have many levels of subsections.

    While the [] controls the visual rendering of EPUB navigation documents in with , reading systems without viewports may not support CSS. To better ensure the proper rendering in these reading systems, EPUB creators should use the []

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    031 attribute to indicate which (if any) portions of the navigation data are excluded from rendering in the content flow.

    The

    
    
       
          
       
    

    34 attribute has no effect on how reading systems render the navigation data outside of the content flow (such as in dedicated navigation user interfaces provided by reading systems).

    Note

    The

    
    
       
          
       
    

    34 attribute can be used together with the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    030 property to maximize interoperability across all reading systems.

    This section is non-normative.

    Not all rendering information can be expressed through the underlying technologies that EPUB is built upon. For example, although HTML with CSS provides powerful layout capabilities, those capabilities are limited to the scope of the document being rendered.

    This section defines properties that allow to express package-level rendering intentions (i.e., functionality that can only be implemented by the ). If a reading system supports the desired rendering, these properties enable the user to be presented the content as the EPUB creator optimally designed it.

    This section is non-normative.

    , unlike print books or PDF files, are designed to change. The content flows, or reflows, to fit the screen and to fit the needs of the user. As noted in "content presentation adapts to the user, rather than the user having to adapt to a particular presentation of content." []

    But this principle does not work for all types of documents. Sometimes content and design are so intertwined it is not possible to separate them. Any change in appearance risks changing the meaning or losing all meaning. give greater control over presentation when a reflowable EPUB is not suitable for the content.

    EPUB creators define fixed layouts using a to control the rendering in . In addition, they set in its respective .

    Note

    EPUB 3 affords multiple mechanisms for representing fixed-layout content. When fixed-layout content is necessary, the EPUB creator's choice of mechanism will depend on many factors including desired degree of precision, file size, accessibility, etc. This section does not attempt to dictate the EPUB creator's choice of mechanism.

    The

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    035 property specifies whether the content is reflowable or pre-paginated.

    When the is specified on a

    
            
            
        
        
            

    9 element, it indicates that the paginated or reflowable layout style applies globally (i.e., for all spine items).

    MUST use one of the following values with the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    035 property:

    reflowable

    The content is not pre-paginated (i.e., apply dynamic pagination when rendering). Default value.

    pre-paginated

    The content is pre-paginated (i.e., reading systems produce exactly one page per`` when rendering).

    Note

    Reading systems typically restrict or deny the application of user or user agent style sheets to pre-paginated documents because dynamic style changes are likely to have unintended consequence on the intrinsic properties of such documents. EPUB creators should consider the negative impact on usability and accessibility that these restrictions have when choosing to use pre-paginated instead of reflowable content. Refer to [] for related information.

    When the property is set to

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    06 for a spine item, its content dimensions MUST be set as defined in .

    EPUB creators MUST NOT declare the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    035 property more than once.

    They also MUST NOT declare the property using the . Refer to for setting the property for individual .

    MAY specify the following properties locally on elements to override the for the given spine item:

    rendition:layout-pre-paginated Specifies that the given spine item is pre-paginated. rendition:layout-reflowable Specifies that the given spine item is reflowable.

    EPUB creators MUST NOT use more than one of these overrides on any given spine item.

    The

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    044 property specifies which orientation the intends the content to be rendered in.

    When the is specified on a element, it indicates that the intended orientation applies globally (i.e., for all items).

    MUST use one of the following values with the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    044 property:

    landscape

    should render the content in landscape orientation.

    portrait

    Reading systems should render the content in portrait orientation.

    auto

    The content is not orientation constrained. Default value.

    EPUB creators MUST NOT declare the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    044 property more than once.

    They also MUST NOT declare the property using the . Refer to for setting the property for individual .

    MAY specify the following properties locally on elements to override the for the given spine item:

    rendition:orientation-auto Specifies that the determines the orientation to render the spine item in. rendition:orientation-landscape Specifies that reading systems should render the given spine item in landscape orientation. rendition:orientation-portrait Specifies that reading systems should render the given spine item in portrait orientation.

    EPUB creators MUST NOT use more than one of these overrides on any given spine item.

    The

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    051 property specifies the intended synthetic spread behavior.

    When the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    051 property is specified on a

    
            
            
        
        
            

    9 element, it indicates that the intended behavior applies globally (i.e., for all spine items).

    MUST use one of the following values with the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    051 property:

    none

    Do not incorporate spine items in a synthetic spread. Reading systems should display the items in a single positioned at the center of the screen.

    landscape

    Render a synthetic spread for spine items only when the device is in landscape orientation.

    portrait (deprecated)

    The use of spreads only in portrait orientation is .

    EPUB creators should use the value "

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    055" instead, as spreads that are readable in portrait orientation are also readable in landscape.

    both

    Render a synthetic spread regardless of device orientation.

    auto

    The EPUB creator is not defining an explicit synthetic spread behavior. Default value.

    EPUB creators MUST NOT declare the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    051 property more than once.

    They also MUST NOT declare the property using the . Refer to for setting the property for individual .

    Note

    Refer to the element for information about declaration of global flow directionality using the

    mimetype
    META-INF/container.xml
    META-INF/signatures.xml
    META-INF/encryption.xml
    EPUB/As_You_Like_It.opf
    EPUB/book.html
    EPUB/nav.html
    EPUB/images/cover.png

    90 attribute and that of local page-progression-direction within content documents.

    MAY specify the following properties locally on elements to override the for the given spine item:

    rendition:spread-auto Specifies the determines when to render a synthetic spread for the spine item. rendition:spread-both Specifies the reading system should render a synthetic spread for the spine item in both portrait and landscape orientations. rendition:spread-landscape Specifies the reading system should render a synthetic spread for the spine item only when in landscape orientation. rendition:spread-none Specifies the reading system should not render a synthetic spread for the spine item. rendition:spread-portrait

    The

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    061 property is .

    Refer to the in [] for more information.

    EPUB creators MUST NOT use more than one of these overrides on any given spine item.

    When a renders a , the default behavior is to populate the spread by rendering the next in the next available unpopulated , where the next available viewport is determined by the given or by local declarations within . An MAY override this automatic population behavior and force reading systems to place a document in a particular viewport by specifying one of the following properties on its spine

    
        
    

    6 attribute.

    Note

    This property was developed primarily to handle "Naka-Tobira (中扉)" (sectional title pages), in the absence of reliable centering control within the content rendering. As support for paged media evolves in CSS, however, this property is expected to be deprecated. are encouraged to use CSS solutions when effective.

    This section is non-normative.

    Mainstream ebooks, educational tools and ebooks formatted for persons with print disabilities are some examples of works that contain synchronized audio narration. In EPUB 3, can create these types of books using media overlay documents to describe the timing for the pre-recorded audio narration and how it relates to the markup. The specification defines the file format for media overlays as a subset of [], a W3C recommendation for representing synchronized multimedia information in XML.

    The text and audio synchronization enabled by media overlays provides enhanced accessibility for any user who has difficulty following the text of a traditional book. Media overlays also provide a continuous listening experience for readers who are unable to read the text for any reason, something that traditional audio embedding techniques cannot offer. They are even useful for purposes not traditionally considered accessibility concerns (e.g., for language learning).

    The media overlays feature is transparent to that do not support the feature. The inclusion of media overlays in an has no impact on the ability of media overlay-unaware reading systems to render the EPUB publication as though the media overlays are not present.

    Media overlays in EPUB are not an equivalent to audiobooks, as audiobooks are primarily audio-based with text occasionally provided as an alternate format. The W3C [] recommendation is for building audio publications.

    Although future versions of this specification might incorporate support for video media (e.g., synchronized text/sign-language books), this version supports only synchronizing audio media with the EPUB content document.

    A :

    • MUST be valid to the media overlays schema as defined in and conform to all content conformance constraints expressed in .
    • MAY refer to more than one , but more than one media overlay document MUST NOT reference the same EPUB content document.

    All elements [] defined in this section are in the

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    131 namespace [] unless otherwise specified.

    The

    mimetype
    META-INF/container.xml
    META-INF/signatures.xml
    META-INF/encryption.xml
    EPUB/As_You_Like_It.opf
    EPUB/book.html
    EPUB/nav.html
    EPUB/images/cover.png

    1 element encapsulates all the information in an .

    Element Name:

    mimetype
    META-INF/container.xml
    META-INF/signatures.xml
    META-INF/encryption.xml
    EPUB/As_You_Like_It.opf
    EPUB/book.html
    EPUB/nav.html
    EPUB/images/cover.png

    1

    Usage:

    REQUIRED [] of the media overlay document.

    Attributes:

    98

    05

    Specifies the version number of the [] specification to which the media overlay document adheres.

    This attribute MUST have the value "

    
        
    

    4

    07

    The [] of the element, which MUST be unique within the document scope.

    
       
           THE LORD OF THE RINGS, Part One:
           The Fellowship of the Ring
       

    139

    07

    Declares additional metadata vocabulary prefixes.

    Refer to for more information.

    Content Model:

    In this order:

    • `

      
          
      

      4

      07

      The [] of the element, which MUST be unique within the document scope.

      
         
             THE LORD OF THE RINGS, Part One:
             The Fellowship of the Ring
         

      169

      07

      Refers to the associated EPUB content document and, optionally, identifies a specific part of it.

      The value MUST be a , optionally followed by

      69 and a .

      Content Model:

      In any order:

      • `

        
            
        

        4

        07

        The [] of the element, which MUST be unique within the document scope.

        
           
               THE LORD OF THE RINGS, Part One:
               The Fellowship of the Ring
           

        169

        05

        Refers to the associated and, optionally, identifies a specific part of it.

        The value MUST be a , optionally followed by

        69 and a .

        Refer to for more information.

        Content Model:

        In any order:

        • `

          
              
          

          4

          07

          The [] of the element, which MUST be unique within the document scope.

          Content Model:

          In any order:

          • `

            
                
            

            4

            07

            The [] of the element, which MUST be unique within the document scope.

            Content Model:

            Empty

            Note

            [] no longer provides guidance for reading systems on the playback of timed media (i.e., the automatic starting of the referenced media). Although the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76 attribute of a

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            7 element may refer to embedded timed media (e.g., via an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            52 element), referencing such media may have unpredictable results.

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            3 element represents a clip of audio media.

            Element Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            3

            Usage:

            An OPTIONAL child of the element.

            Attributes:

            
                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
            
                    
                    …
                
                
                    
                    …
                    
                        
                        
            Lỗi the selected layout has an invalid media configuration

            4

            07

            The [] of the element, which MUST be unique within the document scope.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76

            05

            The or [] reference to an audio file. The audio file MUST be one of the audio formats listed in the table.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            229

            07

            A clock value that specifies the offset into the physical media corresponding to the start point of an audio clip.

            MUST be a [] .

            See .

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            231

            07

            A clock value that specifies the offset into the physical media corresponding to the end point of an audio clip.

            MUST be a [] .

            See .

            The chronological offset of the terminating position MUST be after the starting offset specified in the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            229 attribute.

            Content Model:

            Empty

            This section is non-normative.

            can represent a pre-recorded narration of a publication as a series of audio clips, each corresponding to part of an . A single audio clip, for example, typically represents a single phrase or paragraph, but infers no order relative to the other clips or to the text of a document. Media overlays solve this problem of synchronization by tying the structured audio narration to its corresponding text (or other media) in the EPUB content document using [] markup. Media overlays are, in fact, a simplified subset of SMIL 3.0 that define the playback sequence of these clips.

            The SMIL elements primarily used for structuring media overlays are (used for the main sequence), (sequence) and (parallel). (Refer to for more information on these and other SMIL elements.)

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 element is the basic building block of a media overlay and corresponds to a phrase in the EPUB content document. The element provides two key pieces of information for synchronizing content: 1) the audio clip containing the narration for the phrase; and 2) a pointer to the associated EPUB content document fragment. The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 element uses two media element children to represent this information: an element and a element. Because

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 elements' media object children are timed in parallel, reading systems render the audio clip and EPUB content document fragment at the same time, resulting in a synchronized presentation.

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            7 element

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76 attribute references the associated phrase, sentence, or other segment of the EPUB content document by its URL [] reference. The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            3 element

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76 attribute similarly references the location of the corresponding audio clip and adds the OPTIONAL and attributes to indicate a specific offset within the clip.

            EPUB creators place

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 elements together sequentially to form a series of phrases or sentences. Not every element of the EPUB content document will have a corresponding

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 element in a media overlay document, only those relevant to the audio narration.

            EPUB creators can also add

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 elements to

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 elements to define more complex structures such as parts and chapters (see ).

            Note

            In this section, the is assumed to be an . While may use media overlays with , playback behavior might not be consistent and therefore interoperability is not guaranteed.

            EPUB creators should also be aware that support for playback of both reflowable and fixed-layout EPUB content documents is not guaranteed. Differences in reading system pagination strategies mean that some reading systems will only support media overlays in one or the other layout format.

            The of a consists of two elements: the element and the element. The ordering of these elements represents how render the content in the corresponding during playback.

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 element represents a segment of content, such as a word, phrase, sentence, table cell, list item, image, or other identifiable piece of content in the markup. Each element identifies both the content to display (in the element) and audio to synchronize (in the element) during playback.

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 element represents sequences — sets of

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 and/or

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            6 elements that together represent a logical component of the content. can use it to represent nested containers such as sections, asides, headers, tables, lists, and footnotes. It allows EPUB creators to retain the structure inherent in these containers in the media overlay document.

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 element MUST contain an . As

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 elements do not provide synchronization instructions, this attribute allows a to match the fragment to a location in the text.

            Note

            The reason for grouping structures like sections, figures, tables, and footnotes in a

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            5 element is so that reading systems can identify their start and end positions during playback. Reading systems can then offer playback options tailored to the layout of the content, such as jumping past a long figure, turning off rendering of page break announcements (see ), or customizing the reading mode to suit structures such as tables.

            Both the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            169 attribute and the element's

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76 attribute may contain a that references a specific part (e.g., an element via its ID) of the associated .

            For and , the URL-fragment string SHOULD be a reference to a specific element via its ID, or an [], respectively.

            EPUB creators MAY use other fragment identifier schemes, but may not support such identifiers.

            This section is non-normative.

            The granularity level of the media overlay depends on how mark up the and the type of fragment identifier they use in the elements'

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            76 attributes and the elements'

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            169 attrbutes. For example, when referencing [] elements, if the finest level of markup is at the paragraph level, then that is the finest possible level for media overlay synchronization. Likewise, if sub-paragraph markup is available, such as []

            
            
               
                  
               
            

            50 element representing phrases or sentences, then finer granularity is possible in the media overlay. Finer granularity gives users more precise results for synchronized playback when navigating by word or phrase and when searching the text but increases the file size of the . Fragment identifier schemes that do not rely on the presence of elements could provide even finer granularity, where supported.

            This specification allows the use of text-to-speech (TTS) — the rendering of the textual content of an as artificial human speech using a synthesized voice — in addition to pre-recorded audio clips.

            When a media overlay element omits its element, its element may be rendered in reading systems via TTS. If the text fragment is not appropriate for TTS rendering (e.g., is not a text element and/or has no text fallback), this may produce unexpected results.

            To express in , MAY specify the attribute on , , and elements.

            The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            9 attribute facilitates behavior appropriate for the semantic type(s) indicated. Examples of these behaviors are and [].

            MAY use the applicable for the

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            9 attribute to define additional semantics.

            MAY express visual rendering information for the currently playing element in a CSS Style Sheet using author-defined classes.

            When used, EPUB creators MUST declare the class names in the using the and properties.

            EPUB creators MUST define exactly one CSS class name in each property they define. Each property MUST define a not including any selectors []. This specification does not reserve names for use with these properties.

            EPUB creators MAY define any CSS properties for the specified CSS classes but must ensure that each EPUB content document with an associated includes a CSS stylesheet (either embedded or linked) containing the class definitions. In the absence of such definitions might provide their own styling, or no styling at all.

            EPUB creators MUST NOT use the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            282 and

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            283 properties in conjunction with a as they always apply to the entire .

            If an is wholly or partially referenced by a , then its element MUST specify a

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            49 attribute. The attribute MUST reference the [] of the manifest

            
                
            

            29 attributes use the data type to define properties and relationships in the .

            A property value is like a CURIE [] — it represents a URL [] in compact form. The expression consists of a prefix and a reference, where the prefix — whether literal or implied — is a shorthand mapping of a URL that typically resolves to a term vocabulary. When a converts the prefix to its URL representation and combines with the reference, the resulting URL normally resolves to a fragment within that vocabulary that contains human- and/or machine-readable information about the term.

            To reduce the complexity for authoring, each attribute that takes a property data type also defines a . Terms and properties referenced from the default vocabularies do not include a prefix as the mapping reading systems use to map to a URL is predefined.

            The power of the property data type lies in its easy extensibility. To incorporate new terms and properties, only need to declare a . In another authoring convenience, this specification also for many commonly used publishing vocabularies (i.e., their declaration is optional).

            The following sections provide additional details on the property data type and vocabulary association mechanism.

            The property data type is a compact means of expressing a URL [] and consists of an OPTIONAL prefix separated from a reference by a colon.

            (EBNF productions ISO/IEC 14977) All terminal symbols are in the Unicode Block 'Basic Latin' (U+0000 to U+007F).

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 [ , ":" ] , ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 ? xsd:NCName ? ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 ? [] ? ; /* as defined in [] */

            This specification derives the property data type from the CURIE data type defined in []. A property represents a subset of CURIEs.

            There are two key differences from CURIEs, however:

            • an empty reference does not represent a valid property value even though it is valid to the definition above (i.e., a property value that only consists of a prefix and colon is invalid).
            • an empty string does not represent a valid property even though it is valid to the definition above.

            When an omits a prefix from a property value, the expressed reference represents a term from the for that attribute.

            A default vocabulary is one that do not have to declare a for in order to use its terms and properties where a is expected. EPUB creators MUST NOT add a prefix to terms and properties from a default vocabulary.

            EPUB creators MUST NOT assign a prefix to the URLs associated with these vocabularies using the attribute.

            Note

            Refer to the definition of each attribute that takes a for more information about its default vocabulary.

            The

            application/epub+zip

            0 attribute defines prefix mappings for use in .

            The value of the

            application/epub+zip

            0 attribute is a white space-separated list of one or more prefix-to-URL mappings of the form:

            (EBNF productions ISO/IEC 14977) All terminal symbols are in the Unicode Block 'Basic Latin' (U+0000 to U+007F).

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 , { , { } , } ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 , ":" , , { } , ? xsd:anyURI ? ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 ? xsd:NCName ? ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339

            x20 ;

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            339 (

            x20 |

            x9 |

            xD |

            xA) ;

            With the exception of , MUST declare all prefixes used in a document. MUST only specify the

            application/epub+zip

            0 attribute on the [] of the respective format.

            The attribute is not namespaced when used in the .

            EPUB creators MUST declare the attribute in the namespace

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            325 in and .

            Note

            Although the

            application/epub+zip

            0 attribute is modeled on the identically named

            application/epub+zip

            0 attribute in [], EPUB creators cannot use the attributes interchangeably. The

            application/epub+zip

            0 attribute without a namespace in EPUB content documents is the RDFa attribute.

            It is common for both attributes to appear in EPUB content documents that also specify RDFa expressions.

            Note that for , prefixes MUST be declared on the [] root

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            355 element.

            To avoid conflicts, EPUB creators MUST NOT use the

            application/epub+zip

            0 attribute to declare a prefix that maps to a .

            EPUB creators MUST NOT declare the prefix '_' as this specification reserves this prefix for future compatibility with RDFa [] processing.

            For future compatibility with alternative serializations of the package document, EPUB creators MUST NOT declare a prefix for the Dublin Core /elements/1.1/ namespace []. MUST use only the [] elements .

            Caution

            Although reserved prefixes are an authoring convenience, should avoid relying on them as they may cause interoperability issues. will often reject new prefixes until their developers update the tools to the latest version of the specification, for example. EPUB creators should declare all prefixes they use to avoid such issues.

            MAY use reserved prefixes in attributes that expect a without declaring them in a .

            EPUB creators SHOULD NOT override reserved prefixes in the .

            The reserved prefixes an EPUB creators can use depends on the context:

            Package document

            EPUB creators MAY use the following prefixes in attributes without having to declare them.

            Prefix URL a11y http://www.idpf.org/epub/vocab/package/a11y/# dcterms http://purl.org/dc/terms/ marc http://id.loc.gov/vocabulary/ media http://www.idpf.org/epub/vocab/overlays/# onix http://www.editeur.org/ONIX/book/codelists/current.html# rendition http://www.idpf.org/vocab/rendition/# schema http://schema.org/ xsd http://www.w3.org/2001/XMLSchema# Structural Semantics

            EPUB creators MAY use the following reserved prefixes in the without having to declare them.

            Prefix URL msv http://www.idpf.org/epub/vocab/structure/magazine/# prism http://www.prismstandard.org/specifications/3.0/PRISM_CV_Spec_3.0.htm#

            The fields in the vocabulary definition tables have the following implicit requirements:

            Allowed Values

            Specifies the REQUIRED type of value using [] datatypes.

            Applies To

            Specifies which publication resource type(s) MAY specify the property on.

            This field appears for properties used in the .

            Cardinality

            Specifies the number of times EPUB creators MAY specify the property, whether globally or attached to another element or property.

            Properties with a minimum cardinality of one MUST be specified.

            Description

            Describes the purpose of the property and specifies any additional usage requirements that EPUB creators must follow.

            Example

            Provides non-normative usage examples.

            Extends

            Identifies what EPUB creators MAY associate the property with.

            This field appears for properties that define and .

            Name

            Specifies the name of the property as it MUST appear in the metadata.

            The properties in this vocabulary are usable in the element's

            72 attribute.

            Unless indicated otherwise in its "Extends" field, the properties defined in this section are used to define : in other words, a element carrying a property defined in this section MUST have a

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            364 attribute referencing a resource or expression being augmented.

            The prefix URL for is

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            365.

            Name:

            49 Description:

            The

            49 property provides an alternate expression of the associated property value in a different language and/or script. The language tags of the alternate-script property and its associated property — as expressed by their respective in-scope xml:lang attributes — MUST NOT be the same.

            This property is typically attached to

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            368 and

            
            
               
                  
               
            

            08 properties for internationalization purposes.

            Allowed value(s):

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            370 Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            371 Extends: All properties.

            Name:

            58 Description:

            The

            58 property identifies the system or scheme the referenced element's value is drawn from.

            Allowed value(s):

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            370

            Note

            The former IDPF EPUB 3 Working Group maintained a registry of subject authorities for use with this property. This Working Group no longer maintains the registry.

            Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            375 Extends:

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            377 Description:

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            377 property identifies the name of a collection to which the belongs. An EPUB publication MAY belong to one or more collections.

            It is also possible to chain these properties using the to indicate that one collection is itself a member of another collection.

            To allow to organize collections and avoid naming collisions (e.g., unrelated collections might share a similar name, or different editions of a collection could be released), SHOULD provide an identifier that uniquely identifies the instance of the collection. The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            380 property must carry this identifier.

            The collection MAY more precisely define its nature by attaching a property.

            The position of the EPUB publication within the collection MAY be provided by attaching a .

            Allowed value(s):

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            370 Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            371 Extends: Applies to the EPUB publication and can refine other instances of itself.

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            381 Description:

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            381 property indicates the form or nature of a collection.

            When the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            381 value is drawn from a code list or other formal enumeration, SHOULD attach a to identify its source.

            This specification also defines the following collection types when no scheme is specified:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            389

            A sequence of related works that are formally identified as a group, typically open-ended with works issued individually over time.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            390

            A finite collection of works that together constitute a single intellectual unit, typically issued together and able to be sold as a unit.

            Note

            Although are not required to support these values, specifying them provides the option to group related in more meaningful ways.

            Allowed value(s):

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            370 Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            375 Extends:

            Name:

            
                
            

            29 and

            
                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
            
                    
                    …
                
                
                    
                    …
                    
                        
                        
            Lỗi the selected layout has an invalid media configuration

            6 attributes.

            The prefix URL for is

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            464.

            The following values can be used in the

            4 element to establish the relationship of the resource referenced in the .

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            468 Description:

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            468 keyword is a subset of the for links. It differs as follows:

            • It MUST NOT be paired with other keywords.
            • If an alternate link is included in the metadata, it identifies an alternate representation of the package document in the format specified in the

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              5 attribute.
            • If an alternate link is included in a element's metadata, it identifies an alternate representation of the `

                
                
              

              ` 5 attribute.
            • do not have to generate hyperlinks for alternate links. Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475 Extends: Only applies to the EPUB publication or collection. MUST NOT be used when the is present. Example:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            477

            Use of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            478 keyword is . It is replaced by the keyword with the value "

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            481".

            Refer to the in [] for more information.

            Use of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            483 keyword is . It is replaced by the keyword with the value "

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            486".

            Refer to the in [] for more information.

            Use of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            488 keyword is . It is replaced by the keyword with the value .

            Refer to the in [] for more information.

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            479 Description:

            Indicates that the referenced resource is a metadata record.

            The media type of the record MUST be identified in the when this keyword is specified.

            For a list of commonly linked metadata record types, refer to the EPUB Linked Metadata Guide

            If the type of record cannot be identified from the media type, an can be assigned in the .

            Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475 Extends: Only applies to the or collection. MUST NOT be used when the is present. Example:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            497

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            498 Description:

            Indicates that the referenced audio file provides an aural representation of the expression or resource (typically, the title or creator) specified by the refines attribute.

            The media type of the audio file MUST be identified in the when this keyword is specified.

            Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475 Extends: All properties. The MUST be present when this value is used. Example:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            502

            Use of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            503 keyword is . It is not replaced by another linking method.

            Refer to the in [] for more information.

            Use of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            505 keyword is .

            Refer to the in [] for more information.

            The following values can be used in the element's

            
                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
            
                    
                    …
                
                
                    
                    …
                    
                        
                        
            Lỗi the selected layout has an invalid media configuration

            6 attribute to establish the type of record a referenced resource represents. These values are provided for record formats that cannot be uniquely identified by their media type.

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            490 Description: The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            490 property indicates the referenced resource is an ONIX record []. Example:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            511

            The prefix URL for is

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            512.

            The "

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            513" prefix is with the package rendering properties and does not have to be declared in the .

            Note

            Unlike the other vocabularies in this appendix, the properties in the Package Rendering Vocabulary consist of a mix of properties (expressed in elements) and overrides (expressed on elements).

            The usage requirements are also defined in not in this appendix. The following table provides a map to the properties, overrides, and where they are defined.

            Property Overrides Defined in

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            035

            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              517
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              518

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            044

            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              520
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              521
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              522

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            051

            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              524
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              525
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              526
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              527
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              061 (Deprecated) —
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              064
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              067
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              070

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            085 (Deprecated) —

            9

            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              534
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              535
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              536
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              537 —
            • mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              0

            developers may introduce functionality not defined in this specification to address reading system-specific issues rendering .

            To facilitate this experimentation, MAY include custom properties and overrides for use in the provided they do not use the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            513 prefix.

            Note

            Custom properties should only address rendering issues specific to a particular reading system. This specification should be extended to provide extensions that multiple independent reading systems can use.

            The properties in this vocabulary are usable in the manifest element's .

            The prefix URL for is

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            544.

            Name:

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            80 Description: The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            80 property identifies the described as the cover image for the . Applies to: All Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            547

            Name:

            application/epub+zip

            90 Description: The

            application/epub+zip

            90 property indicates that the described contains one or more instances of MathML markup. Applies to: Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475

            Name:

            3 Description: The

            3 property indicates that the described publication resource constitutes the of the . Applies to: The EPUB navigation document Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            553

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            554 Description:

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            554 property indicates that the described contains one or more internal references to other publication resources that are located outside of the .

            Refer to for more information.

            Applies to: All publication resources with the capability of internal referencing (e.g., , , CSS style sheets and ). Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475

            Name:

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            77 Description: The

            mimetype
            META-INF/container.xml
            META-INF/signatures.xml
            META-INF/encryption.xml
            EPUB/As_You_Like_It.opf
            EPUB/book.html
            EPUB/nav.html
            EPUB/images/cover.png

            77 property indicates that the described is a (i.e., contains scripting and/or []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            12 elements). Applies to: Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475

            Name:

            application/epub+zip

            94 Description:

            The

            application/epub+zip

            94 property indicates that the described embeds one or more instances of SVG markup.

            This property MUST be set when SVG markup is included directly in the resource and MAY be set when the SVG is referenced from the resource (e.g., from an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            5,

            application/epub+zip

            93 or

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            98 element).

            Applies to: ; the value is implied for . Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475

            Name:

            application/epub+zip

            74 Description:

            The

            application/epub+zip

            74 property indicates that the described contains one or more instances of the .

            Applies to: . Cardinality:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            475

            The properties in this vocabulary are usable in the spine element's .

            The prefix URL for is

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            573.

            Name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            574 Description:

            The

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            574 property indicates that the first page of the associated

            
                
            

            The various resources in the can be categorized as follows. (Refer to for more information about these categories.)

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            677

            The resource is a metadata record, stored in the . It is linked via a`` element in the package document metadata. It is therefore a on the (i.e., is not listed in the ). It is not part on any other planes.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            679

            The resource is a metadata record, stored remotely. It is linked via a element in the package document metadata. It is therefore a linked resource on the manifest plane, (i.e., it is not listed in the manifest). It is not part on any other planes.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            681

            The resource is an XHTML document. It is listed in the [[EPUB spine | spine=]. It is a on the manifest plane, a , an on the , and is not present on the . No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            682

            The resource is the . It is not listed in the spine. It is a publication resource on the manifest plane, a container resource, and is not present on either the spine plane or the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            683

            The resource is a CSS file. It is not listed in the spine but is referenced from an [] element. It is a publication resource on the manifest plane, a container resource, is not present on the spine plane, and is a on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            685

            The resource is a TrueType font file. It is not listed in the spine but is referenced from a CSS file. It is a publication resource on the manifest plane, is a container resource, is not present on the spine plane, and is a core media type resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            686

            The resource is a TrueType font file. It is not listed in the spine but is referenced from a CSS file. It is a publication resource on the manifest plane, is a , is not present on the spine plane, and is a core media type resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            687

            The resource is a font file in Compact Font Format. It is not listed in the spine but is referenced from a CSS file. Its media type is not listed as a . It is a publication resource on the manifest plane, a container resource, is not present on the spine plane, and is an on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            688

            The resource is a Pronunciation Lexicon file. It is not listed in the spine but is referenced from an [] element. It is a publication resource on the manifest plane, a container resource, not present on the spine plane, and is an exempt resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            690

            The resource is a PNG image file. It is not listed in the spine but is referenced from an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            65 element. It is a publication resource on the manifest plane, a container resource, is not present on the spine plane, and is a core media type resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            692

            The resource is a PNG image file. It is referenced via an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            11 element. Because it is referenced from a hyperlink, it must be listed in the spine. It is a publication resource on the manifest plane, a container resource, a on the spine plane, and a core media type resource on the content plane. As a foreign content document, a fallback is required, which is provided via a .

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            694

            The resource is an XHTML document. It is the "target" of a manifest fallback so is not explicitly listed in the spine (but it "replaces" the existing spine item when needed). It is a publication resource on the manifest plane, a container resource, an EPUB content document on spine plane, and, because it is not "used" when rendering another EPUB content document, it is not present on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            695

            The resource is a High Efficiency (HEIC) image file. It is not listed in the spine but is referenced from an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            53 element. Its media type is not listed as a . It is a publication resource on the manifest plane, a container resource, is not present on the spine plane, and is a foreign resource on the content plane. As a foreign resource, a fallback is required, which is provided via the sibling []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            65 element in an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            24 element.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            699

            The resource is a PNG image file. It is not listed in the spine but is referenced from an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            65 element that is used as an intrinsic fallback of the []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            24 element. It is a publication resource on the manifest plane, a container resource, is not present on the spine plane, and is a core media type resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            702

            The resource is an XHTML document. It is not listed in the spine but is referenced from an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            95 element. It is a publication resource on the manifest plane, a container resource, is not present on spine plane, and, because it is "used" when rendering another EPUB content document, a core media type resource on the content plane. No fallback is necessary.

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            704

            The resource is referenced via an []

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            11 element and is not stored in the EPUB container. Reading systems will normally open this link via a separate browser instance. It is not on any planes defined by this specification.

            Additional examples on the usage of different types of resources can be found in .

            Consider the following example :

            
                    
                    
                
                
                    

            and the following file

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            706:

            
                
            

            52 file

            
            
               
                  
               
            

            The contents of the

            
                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
            
                    
                    …
                
                
                    
                    …
                    
                        
                        
            Lỗi the selected layout has an invalid media configuration

            57 file

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            0

            The contents of the

            
                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
            
                    
                    …
                
                
                    
                    …
                    
                        
                        
            Lỗi the selected layout has an invalid media configuration

            53 file

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            1

            The contents of the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            719 file

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            2

            The following are examples of allowed clock values:

            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              720 = 5 hours, 34 minutes, 31 seconds, and 396 milliseconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              721 = 124 hours, 59 minutes, and 36 seconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              722 = 5 minutes, 1 second, and 200 milliseconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              723 = 4 seconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              724 = 9 minutes and 58 seconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              725 = 56 seconds and 780 milliseconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              726 = 76.2 seconds = 76 seconds and 200 milliseconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              727 = 7.75 hours = 7 hours and 45 minutes
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              728 = 13 minutes
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              729 = 2345 milliseconds
            •    THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              730 = 12 seconds and 345 milliseconds

            This appendix registers the media type

            
            
               
                  
               
            

            8 for the EPUB package document. This registration supersedes RFC4839 (see https://www.rfc-editor.org/rfc/rfc4839).

            The package document is an XML file that describes an EPUB publication. It identifies the resources in the EPUB publication and provides metadata information. The package document and its related specifications are maintained and defined by the World Wide Web Consortium (W3C).

            MIME media type name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            732

            MIME subtype name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            733

            Required parameters:

            None.

            Optional parameters:

            None.

            Encoding considerations:

            8bit if UTF-8; binary if UTF-16.

            Package documents are in XML, represented either in UTF-8 or UTF-16. When the package document is written in UTF-8, the file is 8bit compatible. When it is written in UTF-16, the binary content-transfer-encoding must be used. For further details, see [].

            Security considerations:

            Package documents contain well-formed XML conforming to the XML 1.0 specification.

            Clearly, it is possible to author malicious files which, for example, contain malformed data. Most XML parsers protect themselves from such attacks by rigorously enforcing conformance.

            All processors that read package documents should rigorously check the size and validity of data retrieved.

            There is no current provision in the EPUB 3 specification for encryption, signing, or authentication within the package document format.

            Interoperability considerations:

            None.

            Published specification:

            This media type registration is for the EPUB package document, as described by the EPUB 3 specification located at https://www.w3.org/TR/epub-33/.

            The EPUB 3 specification supersedes the Open Packaging Format 2.0.1 specification, which is located at https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm and which also uses the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            734 media type.

            Applications which use this media type:

            This media type is in wide use for the distribution of ebooks in the EPUB format.

            Additional information: Magic number(s):

            none

            File extension(s):

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            735

            Macintosh File Type Code(s):

            TEXT

            Fragment identifiers:

            EPUB Canonical Fragment Identifiers are custom fragment identifiers defined for . They may be used to refer to an arbitrary content within any defined for the publication. These identifiers are defined at https://idpf.org/epub/linking/cfi/.

            Person & email address to contact for further information:

            EPUB 3 Working Group ([email protected])

            Intended usage:

            COMMON

            Author/Change controller:

            World Wide Web Consortium (W3C)

            This appendix registers the media type

            
            
               
                  
               
            

            9 for the EPUB Open Container Format (OCF).

            An OCF ZIP container, or EPUB container, file is a container technology based on the zip archive format (see https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT). It is used to encapsulate the EPUB publication. OCF and its related standards are maintained and defined by the World Wide Web Consortium (W3C).

            MIME media type name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            732

            MIME subtype name:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            738

            Required parameters:

            None.

            Optional parameters:

            None.

            Encoding considerations:

            OCF ZIP container files are binary files encoded in the

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            739 media type.

            Security considerations:

            All processors that read OCF ZIP container files should rigorously check the size and validity of data retrieved.

            In addition, because of the various content types that can be embedded in OCF ZIP container files,

            
            
               
                  
               
            

            9 may describe content that poses security implications beyond those noted here. However, only in cases where the processor recognizes and processes the additional content, or where further processing of that content is dispatched to other processors, would security issues potentially arise. In such cases, matters of security would fall outside the domain of this registration document.

            Security considerations that apply to

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            739 also apply to OCF ZIP container files.

            Interoperability considerations:

            None.

            Published specification:

            This media type registration is for the EPUB Open Container Format (OCF), as described by the EPUB 3 specification located at

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            742.

            The EPUB 3 specification supersedes both RFC 4839 and the Open Container Format 2.0.1 specification, which is located at

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            743, and which also uses the

            
            
               
                  
               
            

            9 media type.

            Applications that use this media type:

            This media type is in wide use for the distribution of ebooks in the EPUB format.

            Additional information: Magic number(s):

            0:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            745, 30:

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            01, 38:

            
            
               
                  
               
            

            9

            File extension(s):

            OCF ZIP container files are most often identified with the extension

            
               
                   THE LORD OF THE RINGS, Part One:
                   The Fellowship of the Ring
               

            00.

            Macintosh file type code(s):

            ZIP

            Fragment identifiers:

            EPUB Canonical Fragment Identifiers are custom fragment identifiers defined for . They may be used to refer to an arbitrary content within any defined for the publication. These identifiers are defined at https://idpf.org/epub/linking/cfi/.

            Person & email address to contact for further information:

            EPUB 3 Working Group ([email protected])

            Intended usage:

            COMMON

            Author/change controller:

            World Wide Web Consortium (W3C)

            • §9.2.2.8
            • §9.2.2.4
            • §1.4
            • §5.8.1
            • §4.2.6.3.2.2
            • §4.2.6.3.1.1
            • §1.4
            • §1.4
            • §3.1.3
            • §1.4
            • §1.4
            • §5.5.4.2
            • §5.5.4.3
            • §5.5.4.4
            • §5.5.3.1
            • §5.5.3.3
            • §5.5.4.5
            • §5.5.3.2
            • §5.5.4.6
            • §5.5.6
            • §4.2.6.3.2.1
            • §4.2.6.3.2.1
            • §4.2.6.3.2.1
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §C.2
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §1.4
            • §9.2.2.2
            • §5.6.2
            • §5.7.2
            • §5.5.7
            • §1.4
            • §4.2.6.3.1.4
            • §5.6.1
            • §3.5.1
            • §3.1.1
            • §1.4
            • §5.5.5
            • §5.5.1
            • §1.4
            • §1.4
            • §1.4
            • §5.4
            • §1.4
            • §9.2.2.6
            • §1.4
            • §1.4
            • §1.4
            • §4.2.6.3.1.3
            • §4.2.6.3.1.2
            • §1.4
            • §9.2.2.5
            • §4.2.6.3.6.1
            • §9.2.2.1
            • §5.7.1
            • §3.1.2
            • §1.4
            • §1.4
            • §9.2.2.7
            • §1.4
            • §1.4
            • §4.2.5
            • §5.5.2
            • §1.4
            • §1.4
            • [] defines the following:
              • well-formed language tag
            • [] defines the following:
              • base direction
            • [] defines the following:
              • Unicode Canonical Case Fold Normalization Step
            • [] defines the following:
              • hyphens property
              • line-break property
              • text-align-last property
              • text-transform property
              • word-break property
            • [] defines the following:
              • text-emphasis-color property
              • text-emphasis-position property
              • text-emphasis-style property
              • text-underline-position property
            • [] defines the following:
              • direction property
              • text-combine-upright property
              • text-orientation property
              • unicode-bidi property
              • writing-mode property
            • [] defines the following:
              • child text content
            • [] defines the following:
              • EPUB Accessibility
            • [] defines the following:
              • creating multiple renditions
            • [] defines the following:
              • EPUB 3 Overview
              • Rendering and CSS
            • [] defines the following:
              • Core media types
              • EPUB 3 Reading Systems
              • epubReadingSystem object
              • fixed-layout documents
              • Navigation document processing
              • processing
              • reading system support requirements for fonts
              • reflowable documents set to scroll
              • Scripting
              • security and privacy section
              • table reading mode
              • unique origin requirement
              • virtual in nature
            • [] defines the following:
              • aside
              • bodymatter
              • endnote
              • figure
              • footnote
              • list
              • pagebreak term
              • table
              • toc
            • [] defines the following:
              • EPUB 3 Text-to-Speech Support
            • [] defines the following:
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                94 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                97 element
              • audio
              • 0 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                786 element
              • body
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                787 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                663 attribute (for

                  
                         
                         
                     
                     
                       

                9 element)
              • cookies
              • data blocks
              •      
                         
                     
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                     
                         
                
                  
                         
                       …  
                     
                     
                         
                       …  
                         
                             
                           
                Lỗi the selected layout has an invalid media configuration

                2 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                791 element)
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                792 element
              • document base URL
              • 2 element
              • embedded content
              • flow content
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                794 element
              • h1-h6
              • head
              • version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                34 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                791 element)
              •      
                         
                     
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                         
                     
                         
                
                  
                         
                       …  
                     
                     
                         
                       …  
                         
                             
                           
                Lỗi the selected layout has an invalid media configuration

                3 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                94 element)
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                799 element
              • HTML alternate keyword
              • HTML standard
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                98 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                5 element
              • version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                81 element
              • link
              • media element
              • meta
              • metadata content
              • microdata attributes
              • application/epub+zip

                88 attribute (for

                  
                         
                         
                     
                     
                       

                9 element)
              • 3 element
              • application/epub+zip

                93 type
              • version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                59 element
              • origin
              • palpable content
              • phrasing content
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                808 element
              • restrictions on SVG
              • 46 attribute
              • 1 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                6 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                812 element
              • version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                62 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                76 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                812 element)
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                76 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                5 element)
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                77 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                812 element)
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                77 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                5 element)
              • top-level browsing context
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                822 element
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                823 attribute (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                812 element)
              • vendor-neutral extensions
              •     
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

                4 element
              • video
              • web storage
              • XML syntax
            • [] defines the following:
              • ascii whitespace
              • concatenation
              • HTML namespace
              • list
              • prepend (for

                    
                      THE LORD OF THE RINGS, Part One:  
                      The Fellowship of the Ring  
                  

              • scalar value strings
              • strip and collapse ascii whitespace
              • strip leading and trailing ascii whitespace
            • [] defines the following:
              • "Truncating or limiting the length of strings"
            • [] defines the following:
              • linked data
            • [] defines the following:
              • Content MathML
              • Presentation MathML
            • [] defines the following:
              • data: URL scheme
            • [] defines the following:
              • file: URL scheme
            • [] defines the following:
              • clock value
            • [] defines the following:
              • application/epub+zip

                94 element
              • version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                08 element
            • [] defines the following:
              • Guideline 1.4 - Provide text configuration
            • [] defines the following:
              • absolute-url string
              • absolute-url-with-fragment string
              • base
              • domain
              • double-dot URL path segments
              • path-relative-scheme-less-url string
              • percent encoded
              • relative-url string
              • relative-URL-with-fragment strings
              • URL
              • url parser
              • URL Serializer
              • url-fragment string
              • valid URL string
            • [] defines the following:
              • 2.12 Language Identification
              • document type declaration
              • external entity
              • external identifier
              • ID
              • IDREF
              • public
              • root element
              • section 2.3 of the XML 1.0 specification
              • system identifiers
              • whitespace normalization
            • [] defines the following:
              • Conformance of Documents
              • prefixed
            • [] defines the following:
              • Section 6.6.4
            • [] defines the following:
              • Section 2
            • [] defines the following:
              • Section 2.2.1

            This section is non-normative.

            Note that this change log only identifies substantive changes since EPUB 3.2 — those that affect the conformance of or are similarly noteworthy.

            For a list of all issues addressed during the revision, refer to the Working Group's issue tracker.

            • 17-March-2023: replaced the deprecated JavaScript attribute

              application/epub+zip

              88 by

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              830 in an example. See issue 2543.
            • 11-Jan-2023: Marked the

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              2 attribute under-implemented due to lack of support in reading systems. See pull request 2515.
            • 09-Jan-2023: Fixed incorrect OPUS media type. See issue 2516.
            • 05-Jan-2023: Removed the precedence rules for linked records as reading systems do not support their processing. See pull request 2512.
            • 16-Dec-2022: Clarified that the special files for processing the OCF container are not listed in the manifest, so the restriction that the manifest only list publication resources is not needed. See pull request 2506.
            • 12-Dec-2022: Clarified that fixed layout height and width declarations must be in the first

              version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                  
              

              4 tag. See pull request 2503.
            • 08-Dec-2022: Removed the

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              833 and

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              834 properties after finding no evidence these are used by publishers or reading systems. See issue 2489.
            • 29-Nov-2022: Clarified that data URLs are not unique publication resources, and not allowed in the package document, but are subject to fallback requirements. See issue 2485.
            • 29-Nov-2022: Clarified the

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 attribute is not allowed on the

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              2 element and metadata content in XHTML content documents. See issue 2486.
            • 17-Nov-2022: Updated file paths and names to identify that they are scalar value strings in the OCF abstract container, not just case sensitive. See issue 2461.
            • 11-Nov-2022: Added caution about reading systems not retaining HTML element-based rendering instructions in navigation document elements. See issue 2477.
            • 02-Nov-2022: Removed the restriction on deprecated characters in the Tags and Variation Selectors Supplement and replaced with a general note to avoid the use of characters already deprecated by the Unicode standard, as the list changes over time. See issue 2469.
            • 20-Oct-2022: Removed requirement to encode file names in abstract container in UTF-8 as it is not possible in the abstract and is already covered by a ZIP container requirement. See issue 2461.
            • 17-Oct-2022: Added recommendation against using spaces in file paths and names. See issue 2458.
            • 15-Oct-2022: Allow properties without values in

              version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                  
              

              4 tag definition. See pull request 2457.
            • 11-Oct-2022: Added additional requirement that

              version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                  
              

              4 height and width not be declared multiple times. See issue 2442.
            • 21-Sept-2022: Made the requirement to declare property prefixes explicit. See issue 2438.
            • 19-Sept-2022: Removed minor contradictions in the

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 attribute usage definitions. See issue 2434.
            • 14-Sept-2022: Combined the legacy feature section into the package document definition. See issue 2423.
            • 14-Sept-2022: Clarified that the

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              3 attribute in the package document must not be used to reference other package document elements (i.e., to indirectly reference a resource via its manifest or spine entry). See issue 2420.
            • 14-Sept-2022: Re-establish that empty reference and property values are not valid to ensure that metadata properties do not consist only of prefixes. See issue 2417.
            • 14-Sept-2022: Added a new section for expressing all the primary navigation document content requirements. See issue 2421.
            • 7-Sept-2022: Added clarifying requirement that the manifest only list publication resources. See issue 2413.
            • 28-Aug-2022: Added a note to Media Overlays

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              7 element definition regarding using embedded timed media. See issue 2397.
            • 02-Aug-2022: Updated the media type registrations, following the official IANA review comments on updating the previous registrations. See issue 1398.
            • 28-July-2022: The restrictions on the elements where

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 may be used has been made explicit. See issue 2377.
            • 18-July-2022: The viewport

                
                    
                    
                
                
                  

              9 element for specifying the initial containing boundary in fixed-layout documents is now formally defined. See issue 2292.
            • 14-July-2022: Clarified that the markup in the SVG

              version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                  
              

              08 element is restricted to HTML elements. See issue 2355.
            • 10-June-2022: Clarified that data blocks are exempt from fallback requirements. See issue 2331.
            • 07-June-2022: The usage of File URLs has been disallowed. See issue 2324.
            • 07-June-2022: Media type registration sections are now normative. See issue 2313.
            • 07-June-2022: Updated privacy and security recommendations to use normative language. See pull request 2297.
            • 27-May-2022: Added recommendation to only reference remote resources via https. See issue 2263.
            • 20-May-2022: Add recommendation not to store sensitive user data in persistent storage, and to encrypt it if there is no other choice. See issue 2264.
            • 17-May-2022: Added an index of terms. See issue 2260.
            • 12-Apr-2022: Added note about complexities of escaping from nested escapable structures and updated the list of semantics to use for escaping to match the guidance. See issue 2221.
            • 6-Apr-2022: Removed the restrictions on the value of the

              58 property and added a note referencing the old IDPF registry. See issue 2200.
            • 31-Mar-2022: Removed the restriction on deprecated MathML features and added a general caution that any technology may make changes that can cause an EPUB publication to become invalid. See issue 2118.
            • 31-Mar-2022: Reformulated custom attributes as a content authoring feature and added a new section on custom rendering properties. See issue 2134.
            • 25-Mar-2022: Fixed conflicting statements about the requirement for semantics in media overlay documents and clarified requirements for skippability and escapability. See issue 2066.
            • 22-Mar-2022: Removed the recommendation that reading systems recognize the built-in

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              381 values and replaced with a note about enabling improved handling of related content. See issue 2071.
            • 21-Mar-2022: Add a tolerance of one second for the sum of the individual media overlay docuemnts matching the total duration. See issue 2093.
            • 17-Mar-2022: Deprecate the creation of new collection types. See issue 2060.
            • 17-Mar-2022: Removed dated requirements on the use of

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 that suggest equivalence with ARIA roles. See issue 2070.
            • 16-Mar-2022: Add new section on conformance checking and definition for EPUB conformance checker. See pull request 2025.
            • 14-Mar-2022: Renamed the term "valid-relative-container-URL-with-fragment" to "valid-relative-ocf-URL-with-fragment string". See issue 2076.
            • 09-Mar-2022: Restore requirement that valid-relative-container-URL-with-fragment strings resolve to resources in the OCF abstract container. See issue 2024.
            • 09-Mar-2022: Added NCX doctype to allowed external identifiers. See issue 2045.
            • 08-Mar-2022: Require use of the fixed layout property values defined in this specification. See issue 2039.
            • 08-Mar-2022: Clarified that the refines attribute must not be used with global fixed layout property declarations. See issue 2036.
            • 07-Mar-2022: Consolidated the usage requirements for manifest properties into a new Resource Properties section. See issue 2030.
            • 05-Mar-2022: Forbid circular references and self-references in refinement chains. See issue 2031.
            • 19-Feb-2022: Clarified the element's definition by making it optional and adapted the specification's text elsewhere to address the situation when the element is indeed not present. See issue 1986.
            • 04-Feb-2022: Expanded the section on security and privacy to include new sections on the threat model for EPUB publications and additional recommendations for ensuring security and privacy. See issue 1871, issue 1872, issue 1875 and issue 1876.
            • 21-Jan-2022: term "risky", used for the class of unsupported features, has been renamed to "under-implemented". See the .
            • 08-Dec-2021: The

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              849 property is now an alias for

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              066. See issue 1929.
            • 03-Dec-2021: Added a new risky class for unsupported features. See issue 1944.
            • 03-Dec-2021: Remove the element-based restrictions on remote resources. See issue 1913.
            • 01-Dec-2021: Deprecated the use of

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              849. It is now an alias for

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              066. See issue 1929.
            • 26-Nov-2021: A requirement and an algorithm to detect out-of-container URLs has been added to the specification. See issue 1912.
            • 18-Nov-2021: Change to only disallow deprecated characters in the Tags and Variation Selectors Supplement. See issue 1885.
            • 12-Nov-2021: Change the recommendation to use SHA-1 to encrypt the obfuscation key to a requirement. See issue 1873.
            • 12-Nov-2021: Restrict the obfuscation algorithm to fonts and add caution to use better protection methods whenever possible. See issue 1873.
            • 12-Nov-2021: Removed the statement about rights.xml being reserved for future standardization of DRM information. See issue 1874.
            • 10-Nov-2021: Proper definition of the content URL and handling of relative URLs. See issue 1374 and issue 1888
            • 29-Oct-2021: Recommended that EPUB creators not use path-absolute-URL strings for referencing resources due to the lack of a consistent root. See issue 1681.
            • 18-Oct-2021: Clarified the contexts from which remote resources may be referenced. See issue 1857.
            • 12-Oct-2021: The Structure Semantics Vocabulary has been moved into a separate Working Group Note. See issue 1763.
            • 27-Aug-2021: Add clarifications for including landmarks, such as limiting the number, recommending known semantics, and ensuring the labels are human readable. Also added recommendation to not include nested lists to match the page list. See issue 1761.
            • 22-July-2021: Clarified TTS handling of images in media overlays. See issue 1745.
            • 09-July-2021: Restored the custom attributes section due to known usage but without reference to the attribute registry. See issue 1602.
            • 09-July-2021: Added the "Relationship to URL" section to explain the use of URL standard terminology in this document relative to resource formats that do not reference it. See issue 1726.
            • 05-July-2021: Removed the section on private use area characters from the XHTML restrictions. The issues are more complex than what is covered and not in scope of EPUB to define. See issue 1732.
            • 28-June-2021: Added a note discouraging EPUB creators from referencing resources outside the directory containing the package document to avoid interoperability issues. See issue 1687
            • 23-June-2021: Added the

              0 element to the list of discouraged XHTML constructs. See issue 1699.
            • 18-June-2021: Moved requirements for authoring SSML, PLS lexicons and CSS 3 Speech to the EPUB 3 Text-to-Speech Enhancements note. The ability to use these technologies in EPUB 3 publications remains unchanged. See issue 1690.
            • 16-June-2021: Absolute URLs with

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              854 scheme should not be used on manifest items. See issue 1688.
            • 31-May-2021: Require Unicode normalization and full case folding (in this order) for file name uniqueness comparisons. See issue 1631 and pull request 1648.
            • 31-May-2021: Confirmed that SVG content documents do not have to be valid to the SVG specification, only meet the well-formedness and ID requirements currently referenced and the restrictions imposed by this specification. See issue 1323.
            • 12-May-2021: Clarified that manifest items must not contain fragment identifiers. See issue 1303.
            • 12-May-2021: Changed all references to URIs/IRIs to URLs and references to RFCs 3986 and 3987 to the URL standard. See issue 808.
            • 08-May-2021: Added clarifying text that

              xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

              4 element can be used to link individual metadata properties in an alternative format. See issue 1666.
            • 06-May-2021: Noted that the working group will no longer maintain the publication type and collection role registries and removed dependence on the latter for validating collection types (use of NMToken values remains restricted to extension specifications). The registry of authority codes is now integrated into the property definition. See pull request 1664.
            • 06-May-2021: Added

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              45 as a core media type for scripts. See issue 1353.
            • 06-May-2021: Added new section on fragment identifiers to media overlays and now recommend HTML target element references and SVG fragment identifiers instead of requiring conformance to the incompatible XPointer Shorthand syntax. See issue 1586.
            • 28-Apr-2021: Drop requirement for resources referenced from HTML

              xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

              4 elements to have core media type fallbacks. See issue 1312.
            • 22-Apr-2021: The usage of UTF-16 for CSS and XML has been changed, UTF-8 is the recommended encoding. See issue 1628.
            • 19-Apr-2021: The use of custom attributes in EPUB content documents is no longer supported. See issue 1602.
            • 13-Apr-2021: Require path names in OCF to also be UTF-8 encoded. See issue 1630.
            • 12-Apr-2021: Added a reference to the SVG

              version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

                  
              

              09 attribute in . See issue 1614.
            • 09-Apr-2021: Added a new section dedicated to accessibility in EPUB publications.
            • 04-May-2021: Removed requirements around SVG

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              859 attribute. See issue 1087.
            • 26-Mar-2021: Removed requirement for page list ordering to reflect the order of page breaks in the content. See issue 1500.
            • 26-Mar-2021: Allowed

                
                    
                    
                
                
                  

              5 and

                
                    
                    
                
                
                  

              4 elements to have multiple roles and allowed roles for

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              424. See issue 1129 and issue 1583
            • 23-Mar-2021: Clarified the requirements for the use of data URLs in EPUB publications. See issue 1564.
            • 17-Mar-2021: Include non characters at the end of the supplementary planes in list of characters not allowed in file names. See issue 1538.
            • 15-Mar-2021: Removed the normative dependencies on XML schemas and added element and attribute definitions for the

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              9,

              xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

              5 and

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              0 files. All schemas are considered non-normative. See issue 1566.
            • 10-Mar-2021: Require that resources referenced from an EPUB publication not be located in the

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              7 directory. See issue 1205.
            • 08-Mar-2021: The fix for issue 1322 on 20-Jan-2021 incorrectly mentioned EPUB content documents having durations. Corrected to media overlay documents.
            • 08-Mar-2021: Added recommendation that

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              7 attribute use fragment identifiers to reference publication resources. See issue 1361.
            • 08-Mar-2021: Change requirement that media overlay document

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              6 and

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              5 ordering match the default reading order to guidance. See issue 1458
            • 05-Mar-2021: Clarified that whitespace within metadata element values is collapsed per the [] specification definition. See issue 1528.
            • 26-Feb-2021: Created a new section for describing general metadata value requirements, specifically whitespace handling. See issue 1528.
            • 17-Feb-2020: File extension recommendations have been removed (affects the package document, XHTML content documents, media overlay documents). See issue 1294.
            • 15-Feb-2021: Clarified that

              3 elements without an

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 attribute are not subject to the EPUB navigation document's content model restrictions. See issue 976.
            • 10-Feb-2021: A first draft of the has been added.
            • 04-Feb-2021: Clarify that the value of

                
                    
                    
                
                
                  

              3 elements must be well-formed language tags. See issue 1325.
            • 02-Feb-2021: Added

                
                    
                    
                
                
                  

              40 value for

                
                    
                
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
                    
              
                
                    
                  …  
                
                
                    
                  …  
                    
                        
                      
              Lỗi the selected layout has an invalid media configuration

              2 attribute and clarified the precedence of the attribute. See issue 1491 and issue 1494.
            • 02-Feb-2021: Added the

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              00 attribute to

              xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="…"> …

              4 elements to identify the language of linked resources. See issue 1488.
            • 20-Jan-2021: Clarified that user-defined media overlay style classes must be declared in the package document metadata. See issue 1319.
            • 20-Jan-2021: Add recommendation that the sum of the media overlay durations for each EPUB content document match the total duration specified for the EPUB publication. See issue 1322.
            • 20-Jan-2021: Clarified that the

              mimetype META-INF/container.xml META-INF/signatures.xml META-INF/encryption.xml EPUB/As_You_Like_It.opf EPUB/book.html EPUB/nav.html EPUB/images/cover.png

              9 attribute does not improve the accessibility of publications. Added pointers to the

              46 attribute and the DPUB-ARIA vocabulary for accessibility.
            • 13-Jan-2021: The requirement for progressive enhancement with spine-level scripting has been changed to a recommendation that top-level content documents remain consumable when scripting is not available. See issue 1444.
            • 24-Dec-2020: The specification no longer refers to a release identifier, but the requirement to include a last modification date remains for backwards compatibility. See issue 1440.
            • 16-Dec-2020: Terminology and requirements related to "renditions" of an EPUB publication have been simplified to improve the readability of the specifications (i.e., to align with the generally understood concept that an EPUB publication has only a single rendering described by a single package document). These changes do not affect the ability to include multiple renditions, which are now more fully covered in []. See issue 1436.
            • 14-Nov-2020: The term "semantic inflection" is no longer used to describe the process of adding structural semantics to elements. The term is not widely understood outside of EPUB and is unnecessarily complex. The specification now simply refers to "expressing" or "adding" structural semantics.
            • 09-Nov-2020: The requirement that the ordering of the

              5 match the ordering of EPUB content documents in the spine, and the elements within each file, has been reduced to a recommendation. See issue 1283.
            • 06-Nov-2020: Clarified that HTML

                 THE LORD OF THE RINGS, Part One:  
                 The Fellowship of the Ring  
              

              6 elements that contain . See issue 1352.
            • 06-Nov-2020: Added WebP to the . See issue 1344.
            • 06-Nov-2020: A are now allowed in publication resources. from the internal DTD subset remain restricted, however. See issue 1338.
            • 12-Oct-2020: Added OPUS to the with a warning that it is still subject to review depending on support in Mac/iOS. See issue 645.
            • 30-Sept-2020: The structure of the EPUB core specifications has been simplified to ease understanding and access to information. This specification now consolidates the authoring requirements from the EPUB 3.2 specification together with the Packages, Content Documents, OCF and Media Overlays specifications. A separate document, EPUB Reading Systems 3.3, consolidates the reading system requirements from those documents.

            This section is non-normative.

            Specifications, like art, are human creations. No human has done more for EPUB than Garth Conboy, who has been there every step of the way, from the very first OEB 1.0 in 1999 to today's EPUB 3.3. None of this would have happened without Garth's vision, knowledge, and preternatural good nature. We dedicate EPUB 3.3 to his memory. We are forever in your debt, Garth.

            The following members of the EPUB 3 Working Group contributed to the development of this specification: