NCX-004
Updated:
EPUBCheck NCX-004 is a usage message: “NCX identifier ("dtb:uid" metadata) should not contain leading or trailing whitespace.” The NCX's dtb:uid value has spaces or line breaks before or after it.
The official message
NCX identifier ("dtb:uid" metadata) should not contain leading or trailing whitespace.
- Default severity
- Usage. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.
- EPUBCheck version
- 5.4.0
Typical causes
- Pretty-printed XML that put the value on its own line.
How to fix it
- Remove the whitespace around the value of dtb:uid.
Terms used here
Other NCX messages
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.