10-03-2024, 07:01 AM | #1 |
Member
Posts: 13
Karma: 10
Join Date: May 2024
Device: none
|
Google doc - validation errors
Hey,
So I've just formatted my second ebook, the first time I did it, I used indesign and sigil. This time I have used Google Docs. All seems fine in the kindle previewer. I ran it through an epub validator and got these errrors/warning _____ ERROR(RSC-005): /GoogleDoc/ebookLetsNotSugarcoatIt.xhtml(104,59): Error while parsing file: element "hr" not allowed here; expected the element end-tag, text, element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "input", "ins", "kbd", "label", "link", "map", "mark", "meta", "meter", "ns1:switch", "ns2:math", "ns3:svg", "object", "output", "picture", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "template", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/1998/Math/MathML" xmlns:ns3="http://www.w3.org/2000/svg") or an element from another namespace ERROR(RSC-006): /GoogleDoc/ebookLetsNotSugarcoatIt.xhtml(5,9): Remote resource reference is not allowed in this context; resource "https://themes.googleusercontent.com/fonts/css?kit=fpjTOVmNbO4Lz34iLyptLUXza5VhXqVC6o75Eld_V9 8" must be located in the EPUB container. WARNING(RSC-017): /GoogleDoc/nav.xhtml(2,9): Warning while parsing file: The "head" element should have a "title" child element. __________ Can anyone give me some help on getting these fixed? Cheers |
10-03-2024, 07:29 AM | #2 | |||
A Hairy Wizard
Posts: 3,220
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
It looks like you are trying to put an <hr/> tag somewhere it is not allowed...like inside of a <p> etc. I would check on/around line 104, column 59 of the ebookLetsNotSugarcoatIt.xhtml file. Here is a tutorial page on <hr/> Quote:
You can't have an external reference to a Font...all files are supposed to be contained inside the ePub (zip file) so that you do not need internet access to read the book. I'd recommend putting a copy of the font file (make sure you follow any/all licensing requirements) inside the ePub and then reference the proper location inside your css file. Quote:
It looks like your nav.xhtml file is missing the <title> from the header section. A Proper xhtml file has a document title in the header section at the top of each file...something like this: Code:
<head> <title>This is the name of your document/chapter/book</title> </head> Cheers! Last edited by Turtle91; 10-03-2024 at 07:47 AM. |
|||
10-04-2024, 05:02 AM | #3 |
Member
Posts: 13
Karma: 10
Join Date: May 2024
Device: none
|
Thanks. I ended up changing the font, and adding the file to sigal, and made my way through the errors.
Google Doc was great for formatting, then I used Sigal to tidy things up. Got there in the end. |
10-04-2024, 07:03 AM | #4 |
Wizard
Posts: 1,609
Karma: 8399999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
For your words, I'm afraid of you are not formatting your epub by mean of css styles. If that is your case (and I believe it is) then you'll have a lot of issues if in a future you want to modify your formats.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Validation errors | azupak | Sigil | 23 | 05-05-2015 10:43 AM |
Epub validation errors | adetutuijose | ePub | 19 | 11-11-2013 08:36 PM |
Validation Errors | mpresley | ePub | 7 | 10-27-2011 03:41 AM |
Help with validation errors | AThirstyMind | ePub | 2 | 05-13-2011 07:08 PM |
Validation Errors | luthar28 | ePub | 13 | 08-10-2010 01:24 PM |