![]() |
#1 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Epub validation error message
Hello,
I keep getting this error message from the Epub Validator: Error while parsing file: attribute "link" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang" Does anyone know what it is and how I might fix it? In advance. Thank you. Philip |
![]() |
![]() |
![]() |
#2 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,347
Karma: 20171571
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
|
It's telling you that there is a "link" attribute in the tag that shouldn't be there. It should also tell you the file name, line #, and column position to make it easier to find the offending tag. It is also telling you what things are allowed: "class", "dir", "id", "style", "title" or "xml:lang"
If you delete the link - and the other info associated with it (like link="......") - it should get better. If you have a screenshot of the tag we could help more. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
That sounds like a incorrectly formatted inline Style= for that tag
My personal preference is NO inline styling, only use a CSS with class=... in the tag. This allows a simple fix it once place ![]() |
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Quote:
I'm rather naive about this: I found ten links in the code. This is one. <head> <meta name=Title content="Philip Ogley"> <meta name=Keywords content=""> <meta http-equiv=Content-Type content="text/html; charset=macintosh"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="Philip%20Ogley_files/filelist.xml"> <title>Philip Ogley</title> <!--[if gte mso 9]><xml> <o ![]() <o:Author>Alain Karmitz</o:Author> <o:Template>Normal</o:Template> <o:LastAuthor>Alain Karmitz</o:LastAuthor> <o:Revision>2</o:Revision> Is this what I remove? |
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Quote:
How do I do that? I don't even know what inline style is? Sorry.... |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,347
Karma: 20171571
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
|
Oh dang...I'm sorry to tell you this, but you have Word Bloat!!! (Duh-duh duhhhh)
![]() The short answer is your header can be reduced to this: <head> <title>Philip Ogley</title> </head> That will fix your "link" problem. But you will have other errors due to Word inserting a bunch of Word specific tags such as "<o:></o>". I would recommend saving your word document as "Web Page, Filtered" -OR- use Toxaris' Word plugin to clean up and save the file as an ePub. Then you can open it with Sigil, or Calibre Editor, to do final cleaning. |
![]() |
![]() |
![]() |
#7 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Quote:
Thanks, so I put that code in the bit where it says: <head> <meta name=Title content="Philip Ogley"> <meta name=Keywords content=""> <meta http-equiv=Content-Type content="text/html; charset=macintosh"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="Philip%20Ogley_files/filelist.xml"> <title>Philip Ogley</title> <!--[if gte mso 9]><xml> <o ![]() <o:Author>Alain Karmitz</o:Author> <o:Template>Normal</o:Template> <o:LastAuthor>Alain Karmitz</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>1</o:TotalTime> <o:Created>2019-10-19T13:33:00Z</o:Created> <o:LastSaved>2019-10-19T13:34:00Z</o:LastSaved> <o:Pages>23</o:Pages> <o:Words>49254</o:Words> <o:Characters>280749</o:Characters> <o:Company>Les Costils</o:Company> <o:Lines>2339</o:Lines> <o:Paragraphs>561</o:Paragraphs> <o:CharactersWithSpaces>344779</o:CharactersWithSpaces> <o:Version>10.1316</o:Version> </o ![]() </xml><![endif]--> The problem I have is that i'm using an old mac (word 2000) and a chromebook, neither of which are compatible with Sigil or Calibre. Plus I'm in the middle of nowhere in rural France. I'm only planning to sell on Kindle and when I upload it to the viewer, it looks fine, but I'm worried it might not be when I publish it. What do you think? Thanks again |
|
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Quote:
Thanks for your help. So I would insert that piece of code you gave me, in where I had: <head> <meta name=Title content="Philip Ogley"> <meta name=Keywords content=""> <meta http-equiv=Content-Type content="text/html; charset=macintosh"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="Philip%20Ogley_files/filelist.xml"> <title>Philip Ogley</title> <!--[if gte mso 9]><xml> <o ![]() <o:Author>Alain Karmitz</o:Author> <o:Template>Normal</o:Template> <o:LastAuthor>Alain Karmitz</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>1</o:TotalTime> <o:Created>2019-10-19T13:33:00Z</o:Created> <o:LastSaved>2019-10-19T13:34:00Z</o:LastSaved> <o:Pages>23</o:Pages> <o:Words>49254</o:Words> <o:Characters>280749</o:Characters> <o:Company>Les Costils</o:Company> <o:Lines>2339</o:Lines> <o:Paragraphs>561</o:Paragraphs> <o:CharactersWithSpaces>344779</o:CharactersWithSpaces> <o:Version>10.1316</o:Version> </o ![]() </xml><![endif]--> Is that right? My problem is that I'm using an old Mac (word 2000) and a chromebook, neither which are compatible with Sigil or Calibre. Plus I'm in the middle of rural France. Very remote. Hence I'm running up hill somewhat? Although, as I'm only uploading to KDP, it views fine on their viewer. But I'm worried it won't when I publish. What do you think? I have these errors but it views ok on the Kindle Viewer. Thanks. |
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
Hi again,
I did what you said and it worked, I now have one more error (which is better than the 30 I had before) It says: Error while parsing file: attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title" The code might be here: </head> <body bgcolor=white lang=EN-US class=blue vclass=purple style='tab-interval:36.0pt'> <div class=Section1> <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Philip Ogley</span></p> <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Le Glitch</span></p> <span lang=EN-GB style='font-size:12.0pt;font-family:Times;mso-ansi-language: EN-GB;mso-fareast-language:EN-US'><br clear=ALL style='page-break-before:always'> </span> <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>First published 2019 by Canap� Publishing, UK</span></p> <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o ![]() ![]() <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>ISBN: 978-1-69115878-2 (Paperback)</span></p> <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o ![]() ![]() <p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Copyright � 2019 Philip Ogley</span></p> <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o ![]() ![]() thanks again |
![]() |
![]() |
![]() |
#10 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
what?
|
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
It's part of my book from a word doc.
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
|
My problem is that I'm using word 2000 on a mac. I also have a chromebook, but neither are compatible with sigil or calibre plus I live in rural France. very remote. Hence I'm running uphill a bit. When I upload to kindle, the viewer gives me the view as I want it. But I have errors on the Epub. Does this matter?
|
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
Tags |
epub, epub validation error |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Validation error message??? | crich70 | Sigil | 5 | 01-11-2018 09:00 PM |
EPUB Validation error after DOC>EPUB conversion | djkmann | Conversion | 5 | 11-29-2016 09:42 AM |
Epub validation Error | fiona86 | ePub | 3 | 06-25-2011 12:57 AM |
epub validation error | drwinn | Workshop | 17 | 03-22-2011 05:10 PM |
weird epub validation error message | GFMCo | ePub | 2 | 09-09-2010 07:25 PM |