-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updated list of allowed values for the OPF 2.0.1
role
attribute
Updated the hard-coded list with latest values from https://www.loc.gov/marc/relators/relacode.html Fix #1521
- Loading branch information
Showing
3 changed files
with
296 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/test/resources/epub2/files/opf-document/metadata-creator-role-edc-valid.opf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uid"> | ||
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:epub="http://www.idpf.org/2007/opf"> | ||
<dc:title id="title">Minimal EPUB 2.0</dc:title> | ||
<dc:language>en</dc:language> | ||
<dc:identifier id="uid">NOID</dc:identifier> | ||
<dc:creator id="creator" epub:role="edc">Jane Doe</dc:creator> | ||
</metadata> | ||
<manifest> | ||
<item id="c001" href="content_001.xhtml" media-type="application/xhtml+xml"/> | ||
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/> | ||
</manifest> | ||
<spine toc="ncx"> | ||
<itemref idref="c001"/> | ||
</spine> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters