Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2011, 09:20 AM   #1
soparch
Member
soparch began at the beginning.
 
Posts: 24
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
Attached Files
File Type: txt error_list.txt (5.3 KB, 88 views)
soparch is offline   Reply With Quote
Old 04-15-2011, 11:09 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,323
Karma: 4964183
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)
Jellby is online now   Reply With Quote
 
Advertisement
Old 04-15-2011, 02:09 PM   #3
soparch
Member
soparch began at the beginning.
 
Posts: 24
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
soparch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 11:45 PM
Error during validation macdafydd ePub 19 12-01-2010 07:07 PM
Epub Validation Error? LadyDae ePub 6 10-29-2010 08:20 PM
ePub validation error sk19.gupta Introduce Yourself 6 10-19-2010 11:53 PM
Validation error rrosenwald Calibre 10 10-01-2010 12:12 PM


All times are GMT -4. The time now is 06:49 AM.


MobileRead.com is a privately owned, operated and funded community.