Skip to content

Allowing role on dc:publisher #1583

@acabal

Description

@acabal

Tangentially related to #1129. With the release of epubcheck 4.2.5 the Standard Ebooks corpus is now throwing errors because we attach a role to <dc:publisher>, and that appears to be no longer allowed.

I would suggest including <dc:publisher> in the list of allowed elements that may have a role attached. Many MARC roles apply to organizations, not just individuals, and it is often useful to include such metadata: for example, which organization is the Metadata Contact (mdc)? That might often be the publisher!

For example, this is the standard boilerplate that has been included in all Standard Ebooks for years, which all of a sudden fails epubcheck:

<dc:publisher id="publisher">Standard Ebooks</dc:publisher>
<meta property="role" refines="#publisher" scheme="marc:relators">bkd</meta>
<meta property="role" refines="#publisher" scheme="marc:relators">mdc</meta>
<meta property="role" refines="#publisher" scheme="marc:relators">pbl</meta>

This indicates that Standard Ebooks is the Book Designer (bkd), Markup Contact (mdc), and Publisher (pbl). One could argue that pbl is redundant but I think the rest are valid roles to attach to an organization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPUB33Issues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions