View Single Post
Old 05-18-2013, 03:36 AM   #1
kakkalla
Zealot
kakkalla doesn't litterkakkalla doesn't litter
 
kakkalla's Avatar
 
Posts: 146
Karma: 194
Join Date: Jun 2010
Location: Melbourne
Device: iPad
No declaration found for element 'list-holder'

Hi everyone.

I open my epub that I have generated from InDesign in Sigil and I use the validation button to check it. I get a report that there are no problems. This checks with another program I use on my Mac named ePubChecker.

Now, I run a search and replace using Regex and I create an element named "list-holder" which I am using as a wrapper to help me style some list elements.

When I run the validator again, I get three errors:
1. Attribute 'class' is not declared for element 'list-holder'
2. No declaration found for element 'list-holder'
3. Element 'list-holder' is not allowed for content model (and then a series of tags that are valid)

What gives? Are we not able to use any tag we want in the code? How can I define my element 'list-holder' so that it does not cause these errors?

Thanks in advance.
kakkalla is offline   Reply With Quote