Skip to content

Nav elements containing multiple images generating FATAL(RSC-016) #1476

@nekennedy

Description

@nekennedy

I'm seeing the below message in epubcheck 5.0.0 (run via terminal, Mac OS Monterey) when there are multiple images in a nav entry. The file has no errors in epubcheck 4.2.6.

As far as impact goes, it's unusual to have images in a nav, it's even more unusual to have 2. This affects 2 out of the +6000 recent files I checked. It's also unusual to have the message duplicated, we don't usually see fatal errors so not sure if that's normal.

Validating using EPUB version 3.3 rules.
A sequence of more than one item is not allowed as the second argument of concat() (@alt="", @alt="") . Found while atomizing the first argument of fn:concat()
FATAL(RSC-016): [file path on my computer]/OEBPS/nav.xhtml(-1,-1): Fatal Error while parsing file: A sequence of more than one item is not allowed as the second argument of concat() (@alt="", @alt="") . Found while atomizing the first argument of fn:concat()

Check finished with errors
Messages: 1 fatal / 0 errors / 0 warnings / 0 infos

EPUBCheck completed
<nav epub:type="toc" role="doc-toc" aria-labelledby="toc">
	<h1 id="toc">Contents</h1>
	<ol>
		<li><a href="xhtml/title_page.xhtml">Some text <img class="inline1" width="9" height="13" src="images/an_image.png" alt="" /> some text <img class="inline1" width="9" height="13" src="images/a_second_image.png" alt="" /></a></li>
	</ol>
</nav>

Metadata

Metadata

Assignees

Labels

priority: highTo be processed and published in the next releasestatus: has PRThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions