EPUBCheck OPF-025: list where one value needed
Updated:
EPUBCheck OPF-025 is an error message: “Property value list "…" is not allowed, only one value must be specified.” A metadata property that takes a single value was given a list of values. EPUBCheck names the list it found, and reading apps would not know which of the values to use.
The official message
Property value list "%1$s" is not allowed, only one value must be specified.
- Default severity
- Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
- EPUBCheck version
- 5.4.0
%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.
Typical causes
- Several space-separated values in a property meant to hold one, for example two layout values in one rendition meta element.
- Two values merged into one element when combining metadata from different sources.
- A value with a stray space that splits it in two.
How to fix it
When it's not this
If the single value is malformed rather than doubled, that is OPF-026.
Terms used here
Other OPF messages
OPF-026Found malformed property value: "…".OPF-027Undefined property: "…".OPF-028Undeclared prefix: "…".OPF-021Use of non-registered URI scheme type in href: "…".OPF-029The file "…" does not appear to match the media type …, as specified in the OPF file.OPF-030The unique-identifier "…" was not found.
Sources
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.