I do have an EPUB with an Index as extra file. This is how that file is tagged:
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="de">
<head>
<meta charset="utf-8" />
<meta name="source-dir-uri" content="..." /><title>EPUB3 Testprojekt</title>
<link href="styles/epub3-stylesheet.css" type="text/css" rel="stylesheet" />
</head>
<body epub:type="index backmatter">
<section class="index" id="Ind1" aria-labelledby="d1373e4585a1103" role="doc-index">
<header id="d47286e4190">
<h1 id="d1373e4585a1103" class="index part-level" title="Sachregister"><a id="d1373e4585"></a><span title="50" id="page_50" epub:type="pagebreak" role="doc-pagebreak" aria-label="Seite 50" class="pagenumber">50</span>Sachregister
</h1>
</header>
According to https://www.w3.org/TR/epub-ssv-11/#h_indexes which cites https://idpf.org/epub/idx/#s2.2.1 (citated below) we tagged the body as epub:type=index" and the index section as role="doc-index" (not allowed on -elements).
Checking this with ACE 1.3.2 throws an epub-type-has-matching-role . Is it possible to make exceptions to this to rule to minimize false positive matches?
Wherever it occurs, an index must be wrapped in an element whose epub:type attribute has the value index. If the index is made up of one or more entire content documents, the body element must be used ( ).
I do have an EPUB with an Index as extra file. This is how that file is tagged:
According to https://www.w3.org/TR/epub-ssv-11/#h_indexes which cites https://idpf.org/epub/idx/#s2.2.1 (citated below) we tagged the body as
epub:type=index"and the index section as role="doc-index" (not allowed on -elements).Checking this with ACE 1.3.2 throws an
epub-type-has-matching-role. Is it possible to make exceptions to this to rule to minimize false positive matches?