mxp1988 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

'clr' MARC relator code should not be flagged as error #205

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

The OPF 2.0.1 specs report that the `creator` and `contributor` element have 
the option attribute `role`, and the "normative list of values used for the 
role attribute is defined by the MARC relator code list 
(http://www.loc.gov/marc/relators/)."

"clr" (meaning "Colorist") is reported as an invalid value:

    role value 'clr' is not valid

METHOD:

What steps will reproduce the problem?
1. Add this line to the OPF metadata section

        <dc:creator opf:role="clr" opf:file-as="Crabtree, Bill">Bill Crabtree</dc:creator>

2. Build the epub
3. Run epubcheck 3.0b5

RESULT:

Output is:

    ERROR: file_es.epub/content.opf(13,63): role value 'clr' is not valid

EXPECTED:

No such error.

PLATFORM:

epubcheck 3.0b5, Mac OS X 10.6.8

Original issue reported on code.google.com by elmi...@gmail.com on 30 Aug 2012 at 2:00

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 1 Oct 2012 at 8:01

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r344.

Original comment by markus.g...@gmail.com on 10 Oct 2012 at 6:22