Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2019, 10:16 AM   #1
Philogger
Member
Philogger began at the beginning.
 
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
Philogger is offline   Reply With Quote
Old 10-19-2019, 11:28 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
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.
Turtle91 is offline   Reply With Quote
Advert
Old 10-19-2019, 11:39 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Old 10-19-2019, 01:26 PM   #4
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
Quote:
Originally Posted by Turtle91 View Post
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.
Thanks.
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>
<oocumentProperties>
<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?
Philogger is offline   Reply With Quote
Old 10-19-2019, 01:34 PM   #5
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
Quote:
Originally Posted by theducks View Post
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
Thanks.
How do I do that? I don't even know what inline style is? Sorry....
Philogger is offline   Reply With Quote
Advert
Old 10-19-2019, 03:03 PM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
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.
Turtle91 is offline   Reply With Quote
Old 10-19-2019, 03:24 PM   #7
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
Quote:
Originally Posted by Turtle91 View Post
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.
Ok,
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>
<oocumentProperties>
<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>
</oocumentProperties>
</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
Philogger is offline   Reply With Quote
Old 10-19-2019, 03:31 PM   #8
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
Quote:
Originally Posted by Turtle91 View Post
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.
Hi,
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>
<oocumentProperties>
<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>
</oocumentProperties>
</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.
Philogger is offline   Reply With Quote
Old 10-19-2019, 03:38 PM   #9
Philogger
Member
Philogger began at the beginning.
 
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]>&nbsp;<![endif]><o></o></p>

<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]>&nbsp;<![endif]><o></o></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Copyright �
2019 Philip Ogley</span></p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o></o></p>

thanks again
Philogger is offline   Reply With Quote
Old 10-19-2019, 03:57 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Philogger View Post
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]>&nbsp;<![endif]><o></o></p>

<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]>&nbsp;<![endif]><o></o></p>

<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Copyright �
2019 Philip Ogley</span></p>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o></o></p>

thanks again
I'd like to ask, where did you get this eBook? Did you scan the paperback or did you download it?
JSWolf is offline   Reply With Quote
Old 10-19-2019, 04:01 PM   #11
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
what?
Philogger is offline   Reply With Quote
Old 10-19-2019, 04:08 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Philogger View Post
what?
Your Word document is a scan of a paperback book. Did you scan it or did you download it?
JSWolf is offline   Reply With Quote
Old 10-19-2019, 04:21 PM   #13
Philogger
Member
Philogger began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2019
Device: Kindle
It's part of my book from a word doc.
Philogger is offline   Reply With Quote
Old 10-19-2019, 04:34 PM   #14
Philogger
Member
Philogger began at the beginning.
 
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?
Philogger is offline   Reply With Quote
Old 10-19-2019, 05:07 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Philogger View Post
It's part of my book from a word doc.
I know it's part of a book you have in Word. I'm asking where this book came from. You didn't buy it. Did you scan it or did you download it?
JSWolf is offline   Reply With Quote
Reply

Tags
epub, epub validation error


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:43 AM.


MobileRead.com is a privately owned, operated and funded community.