03-09-2010, 11:10 AM | #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 ... |
03-09-2010, 12:05 PM | #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.
|
Advert | |
|
03-09-2010, 12:36 PM | #3 | |
Sigil Developer
Posts: 7,840
Karma: 5449464
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. |
|
03-09-2010, 12:43 PM | #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 ...
|
03-09-2010, 12:45 PM | #5 |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
|
Advert | |
|
03-09-2010, 12:55 PM | #6 |
The Grand Mouse 高貴的老鼠
Posts: 71,766
Karma: 306664726
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
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.
|
03-09-2010, 02:04 PM | #7 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
03-09-2010, 02:39 PM | #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 ... |
|
03-09-2010, 02:46 PM | #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.
|
03-09-2010, 03:13 PM | #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!
|
03-10-2010, 02:27 AM | #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
|
|
03-10-2010, 11:06 AM | #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. |
|
03-10-2010, 12:21 PM | #13 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
03-10-2010, 03:46 PM | #14 |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
|
03-10-2010, 05:24 PM | #15 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
Tags |
epub, epubvalidator, sigil |
|
Similar Threads | ||||
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 |