04-15-2011, 08:20 AM | #1 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
|
Validation error
I have just validated a book with threepress online using epubcheck and it came back with a list of errors but they are all the same error saying that "value of attribute "name" is invalid; must be an XML NMTOKEN"
I cannot see how I have named the files wrong but obviously I have made the same mistake for each file because it is the same error. I have enclosed a text file of the list. When I validate using Sigil's flightcheck there are no problems. Can anyone help. Thanks Soparch |
04-15-2011, 10:09 AM | #2 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It's not the name of the file, but the value of some "name" attribute used inside the file.
First, you should not use "name" for anchors, but "id". Second, the value can only contain some characters and must start with a letter. The files probably have something like name="12", change it to id="sec12" or similar and it should work (and you should change all references to #12 into #sec12, of course) |
Advert | |
|
04-15-2011, 01:09 PM | #3 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
|
Thanks Jelby,
It was something along those lines. Thanks for pointing me in the right direction. It is much appreciated. Soparch |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's this validation error and how to fix it. | Adjust | ePub | 9 | 06-28-2011 10:45 PM |
Error during validation | macdafydd | ePub | 19 | 12-01-2010 06:07 PM |
Epub Validation Error? | LadyDae | ePub | 6 | 10-29-2010 07:20 PM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
Validation error | rrosenwald | Calibre | 10 | 10-01-2010 11:12 AM |