![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad Pro, Kindle Fire HD
|
Validation Error from ePub Checker
Hello. I'm getting a specific kind of error from ePub Checker, which I hope will be easy to fix, once I figure out why there's a problem. I know someone here will spot this quickly and I'm happy to feel foolish but to learn from my mistake.
These errors apply to the text formatted in the attached sample, element ul sample.txt. element "ul" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context Attribute name "ul" associated with an element type "ul" must be followed by the ' = ' character. The one below applies to the text formatted in the attached sample, element p sample.txt element "p" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context Lists will be the death of me! I keep thinking I have them figured out, and then something like this happens. Any advice will be greatly appreciated! Thank you! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I took a quick look at the files. In the second file you have the following structure:
Code:
<ol> <li>Some text</li> <p>other text</p> <li>... Code:
<ol> <li><p>Some text</br /> other text</p></li> <li>... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad Pro, Kindle Fire HD
|
Thanks, Toxaris. The problem, then, is having the numbering continue when an <ol> has a <ul> under it.
What I want to achieve is: 1. text text text 2. text text text • text that relates to list item 2 • text that relates to list item 2 3. text text text etc. Sometimes there are subbullets; those are the <ul ul>. But it's my understanding that EPUB or more specifically, MOBI for Kindle, doesn't respect <start="x">, where x is the value for a beginning or continuing list item number, so that's why I wrap the <ul> into the <ol>? Works in web browsers, but maybe not in EPUB? |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Right, ePub does not support the "start" property. In practice it is better to forget about lists and just hardcode the numbering/bulleting.
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
As said many times on these forums, not everything from the XHTML/CSS 2.0 stack is in the specification of ePUB. If something works in a webbrowser, it does not say it will have to work in an ePUB reader. Lists are one of those things. Some things work, some don't. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad Pro, Kindle Fire HD
|
Got it, Jellyby and Toxaris. I'll stop beating my head against a brick wall on this one. Thanks.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad Pro, Kindle Fire HD
|
Sorry. I meant Jellby. Such a Dickensian sort of name!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub validation error -- what? | Yuroc | ePub | 2 | 08-16-2011 01:29 PM |
Epub validation Error | fiona86 | ePub | 3 | 06-25-2011 12:57 AM |
epub validation checker | bobcdy | ePub | 0 | 06-03-2011 05:31 PM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |