View Single Post
Old 03-07-2019, 09:15 AM   #1
blackrock36
Member
blackrock36 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Feb 2019
Device: None
Html text not passing EpubCheck validation

I though the previous discussions on my ebook had solved my epub book errors, but on updating the epub version of my book via Smashwords Switch, the epubcheck tool (at http://validator.idpf.org/application/validate) failed my epub version giving me multiple errors (see attached screenshot). The four errors for each split html file are always the same, namely text, link, vlink and dir. I have included the code for split_001.html segment to show the code as written:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Unknown</title>
    <meta name="GENERATOR" content="OpenOffice 4.1.6  (Win32)"/>
    <meta name="AUTHOR" content="op_client2"/>
    <meta name="CREATED" content="20190222;15380000"/>
    <meta name="CHANGEDBY" content="S Ve"/>
    <meta name="CHANGED" content="20190222;15380000"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css"/>
</head>
  <body lang="en-GB" text="#000000" link="#0563c1" vlink="#954f72" dir="LTR" class="calibre">
<h1 lang="en-US" class="western1" id="calibre_pb_0"></h1>
<p lang="en-US" class="western2">
<i class="calibre7">To Patricia,</i></p>
<p lang="en-US" class="western2">
<i class="calibre7">without her, the sky would be less blue and the Sun less bright.</i></p>
</body>
</html>
BTW, the Calibre epub version of this code also failed epubcheck verification. I also opened the original .doc in Open Office 4.1.6 and saved as to html but had the same errors.

Any help as to how to get an epub book uploaded without errors PLEASE!

Thanks in advance (again),
Andy
Attached Thumbnails
Click image for larger version

Name:	ERROR Codes - Sigil version.png
Views:	176
Size:	113.4 KB
ID:	170072  
blackrock36 is offline   Reply With Quote