![]() |
#1 |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
attribute "span" not
I've made an ePub book with Sigil, and ePubValidator (http://threepress.org/document/epub-validate/) gives this error:
ERROR: Origino de specioj.epub/OEBPS/Text/content022.xhtml(94): attribute "span" not allowed at this point I cannot find anything wrong. Does someone know how to interpret the number (94) behind the page name? I thought it might be the 94th line, but the 94th line from Sigils point of view is empty. 94th character in the file doesn't make sence either ... |
![]() |
![]() |
![]() |
#2 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Without the epub file in question, helping you is impossible.
|
![]() |
![]() |
![]() |
#3 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,810
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
Once I placed it within a block level tag (like a <p > < /p > tag set) that error message went away for me. But the error messages from epubcheck are so vague I have no idea if you are having the same issue or not. |
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Thanks for trying, Kevin, but no, I've just checked: every < span > element is within a <p > element ...
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
|
![]() |
![]() |
![]() |
#6 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,022
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
It's the 94th line. But not the 94th line in Sigil, but the 94th line in the source file content022.xhtml, where lines are delimited by CR/LF or CR or LF.
|
![]() |
![]() |
![]() |
#7 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Quote:
But the bad news is, that the 94th line is a blank line between two paragraphs ... ![]() So a start supposing that EPUBValidator is getting crazy ... |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Often an error turns up because of a lack of something. This results in a display like you are seeing. Perhaps there should have been a </span> before the point in the file or it is not well nested.
|
![]() |
![]() |
![]() |
#10 |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
I found it!!! But the problem was not in line 94, but several paragraphs before that ... Thanks to all who tried thinking with me!
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
|
![]() |
![]() |
![]() |
#12 | |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Quote:
I haven't the slightest idea how it came there, and why I managed not to see it ... Today I had a similar problem. I imported an HTML file in Sigil. This file had many < h1 > chapters. After opening it in Sigil I saw that every < h1 > had been changed to < h1 class="" >. This empty class gave the same error message as the strange span="" yesterday. |
|
![]() |
![]() |
![]() |
#13 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
|
![]() |
![]() |
![]() |
#15 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
Tags |
epub, epubvalidator, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Settings," then "311" - Int'l Kindle searches for wireless providers in the area | Dr. Drib | Amazon Kindle | 2 | 08-28-2011 10:27 AM |
attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 10:57 AM |
Yep. It's official. Sony Reader has "ruined" books for me. A final "review." | WilliamG | Sony Reader | 48 | 01-14-2011 03:49 AM |
element "span" not allowed in this context | jihwan | Calibre | 4 | 07-17-2010 09:25 PM |
< ol > "start attribute issue | eclecticguy | ePub | 5 | 06-08-2010 01:41 PM |