Hello dears
passing my e-books in the Epub validator for submission on Smashwords, I'm getting the following error message:
Error while parsing file 'element "nav" incomplete; missing required element "ol"'.
Here is the content of my nav.xhtml file (the ebook doesn't have a toc as it is very small, just one page):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="fr-FR" xml:lang="fr-FR">
<head>
<meta charset="utf-8"/>
<style type="text/css">
nav#landmarks, nav#page-list { display:none; }
ol { list-style-type: none; }
</style>
<title></title></head>
<body epub:type="frontmatter">
<nav epub:type="toc" id="toc">
</nav>
<nav epub:type="landmarks" id="landmarks" hidden="">
</nav>
</body>
</html>
I deleted the
Code:
nav#landmarks, nav#page-list { display:none; }
ol { list-style-type: none; }
</style>
but then get another error message

... any idea how to solve that one ?
thanks