View Full Version : ePub validation error Filename contains spaces - help

09-19-2012, 09:23 PM
I validated my ePub via Sigil. It said no problems.
I submitted my book to Book baby and it came back with a bunch of the following errors

BK00009767/original/BK00009767.epub/OEBPS/Text/MUTATIONS EBOOK Format16Sept UPDATED_split_000.htm: Filename contains spaces.

Can anyone help me solve this.

The code for split 000.htm is below.
thank you

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<html xmlns="">
<meta content="Microsoft Word 14 (filtered)" name="Generator" />

<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css" />
<style type="text/css">

:link { color: blue }
:visited { color: purple }
p.sgc-1 {font-weight: bold}

<body class="calibre">
<div class="WordSection">
<p class="MsoNormal"><span class="calibre1"><img alt="" class="calibre2" id="Picture_1" src="../Images/image001.jpg" /></span></p>

<p class="MsoNormal"><span class="calibre1" xml:lang="EN-US">&nbsp;</span></p>

<p class="MsoNormal"><span class="calibre1" xml:lang="EN-US">&nbsp;</span></p>

<p class="MsoNormal"><span class="calibre3" xml:lang="EN-US">Presented by</span></p>

<p class="MsoNormal"><span class="calibre3" xml:lang="EN-US">Susanne Russo</span></p>

<p class="MsoNormal"><span class="calibre3" xml:lang="EN-US">&nbsp;</span></p>

<p class="MsoNormal calibre4 sgc-1"><span class="calibre3" xml:lang="EN-US">Copyright 2001-2012 Susanne Russo, all rights reserved.</span></p>

<p class="MsoNormal"><span class="calibre1" xml:lang="EN-US">No portion of this book may be reproduced or distributed without the permission of Susanne Russo. Feel free to email me:</span> <span class="calibre1" xml:lang="EN-US"><a class="calibre1" href=""><span class="calibre1">cockatiel.mutations</span></a></span></p>

09-20-2012, 05:27 AM
As the message says, the problem is not in the code, but in the filenames. Filenames with spaces are a source of headaches and Book baby is plainly rejecting them, it seems.

09-20-2012, 06:05 PM
Dump the eBook as text and use Sigil to fix it up. The code you have from Word is atrocious. I know you'll lose styles and formatting starting with a text file, but it may be a lot easier to fix all that then it is to fix the code. Especially for someone who is learning.

Don't ever use Word in the production of an eBook. It's not worth the hassle.