Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiples roles for creator, contributor and publisher #1591

Merged
merged 1 commit into from
Mar 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions epub33/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,6 @@ <h6>The <code>contributor</code> Element</h6>
<p>The requirements for the <code>contributor</code> element are identical to those for
the <a href="#sec-opf-dccreator"><code>creator</code> element</a> in all other
respects.</p>

</section>

<section id="sec-opf-dccreator">
Expand Down Expand Up @@ -2164,7 +2163,6 @@ <h6>The <code>type</code> Element</h6>
element is maintained in the [[TypesRegistry]], but EPUB Creators MAY use any text
string as a <a>value</a>.</p>
</section>

</section>

<section id="sec-meta-elem">
Expand Down Expand Up @@ -9413,8 +9411,12 @@ <h3>Substantive Changes since the <a href="https://www.w3.org/TR/2021/WD-epub-33
-->

<ul>
<li>26-Mar-2021: Allowed <code>creator</code> and <code>contributor</code> elements to have multiple
roles and allowed roles for <code>publisher</code>. See <a
href="https://github.com/w3c/epub-specs/issues/1129">issue 1129</a> and <a
href="https://github.com/w3c/epub-specs/issues/1583">issue 1583</a></li>
<li>23-Mar-2021: Clarified the requirements for the use of data URLs in EPUB Publications. See <a
href="https://github.com/w3c/epub-specs/issues/1564">issue 1564</a></li>
href="https://github.com/w3c/epub-specs/issues/1564">issue 1564</a>.</li>
<li>17-Mar-2021: Include non characters at the end of the supplementary planes in list of characters
not allowed in file names. See <a href="https://github.com/w3c/epub-specs/issues/1538">issue
1538</a>.</li>
Expand Down
40 changes: 29 additions & 11 deletions epub33/core/vocab/meta-property.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3>Meta Properties Vocabulary</h3>
element's</a>
<code>property</code> attribute.</p>

<p>Unless indicated otherwise in its Extends field, the properties defined in this section are used to define
<p>Unless indicated otherwise in its "Extends" field, the properties defined in this section are used to define
<a href="#subexpression">subexpressions</a>: in other words, a <code><a href="#elemdef-meta"
>meta</a></code> element carrying a property defined in this section MUST have a <code><a
href="#attrdef-refines">refines</a></code> attribute referencing a resource or expression being
Expand Down Expand Up @@ -112,7 +112,7 @@ <h5>authority</h5>
<tr>
<th>Extends:</th>
<td>
<code>subject</code>
<a href="#sec-opf-dcsubject"><code>subject</code></a>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -454,7 +454,8 @@ <h5>identifier-type</h5>
<tr>
<th>Extends:</th>
<td>
<code>identifier</code>, <code>source</code>
<a href="#sec-opf-dcidentifier"><code>identifier</code></a>,
<a href="#sec-opf-dcmes-optional-def"><code>source</code></a>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -493,12 +494,16 @@ <h5>role</h5>
<tr>
<th>Description:</th>
<td>
<p>The <code>role</code> property describes the nature of work performed by a
<code>creator</code> or <code>contributor</code> (e.g., that the person is the
author or editor of a work).</p>
<p>The <code>role</code> property describes the role of a <code>creator</code>,
<code>contributor</code> or <code>publisher</code> in the creation of an EPUB
Publication.</p>
<p>When the <code>role</code> value is drawn from a code list or other formal enumeration,
the <a href="#attrdef-scheme"><code>scheme</code> attribute</a> SHOULD be attached to
identify its source.</p>
<p>When attaching multiple roles to an individual or organization, the importance of the
roles should match the document order of their containing <code>meta</code> elements
(i.e., the first <code>meta</code> element encountered should contain the most important
role).</p>
</td>
</tr>
<tr>
Expand All @@ -510,13 +515,15 @@ <h5>role</h5>
<tr>
<th>Cardinality:</th>
<td>
<code>zero or one</code>
<code>zero or more</code>
</td>
</tr>
<tr>
<th>Extends:</th>
<td>
<code>contributor</code>, <code>creator</code>
<a href="#sec-opf-dccontributor"><code>contributor</code></a>,
<a href="#sec-opf-dccreator"><code>creator</code></a>,
<a href="#sec-opf-dcmes-optional-def"><code>publisher</code></a>
</td>
</tr>
</tbody>
Expand All @@ -532,6 +539,17 @@ <h5>role</h5>
&lt;dc:creator id="creator02">John Tenniel&lt;/dc:creator>
&lt;meta refines="#creator02" property="role" scheme="marc:relators">ill&lt;/meta>
&lt;/metadata></pre>
</aside>
<aside class="example">
<p>The following example shows that an individual was both the author and
illustrator of a work.</p>
<pre>&lt;metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
&lt;dc:creator id="creator01">Maurice Sendak&lt;/dc:creator>
&lt;meta refines="#creator01" property="role" scheme="marc:relators">aut&lt;/meta>
&lt;meta refines="#creator01" property="role" scheme="marc:relators">ill&lt;/meta>
&lt;/metadata></pre>
</aside>
</section>
Expand Down Expand Up @@ -573,7 +591,7 @@ <h5>source-of</h5>
<tr>
<th>Extends:</th>
<td>
<code>dc:source</code>
<a href="#sec-opf-dcmes-optional-def"><code>dc:source</code></a>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -628,7 +646,7 @@ <h5>term</h5>
<tr>
<th>Extends:</th>
<td>
<code>subject</code>
<a href="#sec-opf-dcsubject"><code>subject</code></a>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -685,7 +703,7 @@ <h5>title-type</h5>
<tr>
<th>Extends:</th>
<td>
<code>title</code>
<a href="#sec-opf-dctitle"><code>title</code></a>
</td>
</tr>
</tbody>
Expand Down