|
|
#1 |
|
Member Retired
![]() Posts: 1
Karma: 10
Join Date: Dec 2010
Device: none
|
Epub check Errors, Help Please
# ERROR: Beyond-This-Mask.epub/OPS/content.opf(63): bad value for attribute "id"
# ERROR: Beyond-This-Mask.epub/OPS/content.opf(69): bad value for attribute "id" # ERROR: Beyond-This-Mask.epub/OPS/content.opf(111): bad value for attribute "idref" # ERROR: Beyond-This-Mask.epub/OPS/content.opf(114): bad value for attribute "id Those are the errors I keep getting and I have no idea how to fix them. Any suggestions? |
|
|
|
|
|
#2 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Asking in the correct forum would be a good start
. I've moved the thread to the appropriate place.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
An EPUB file is essentially just a ZIP file with the file extension .epub. It is a container for the files that contain the book content and formatting ((X)HTML, CSS, images, etc), and a few other files with metadata (XML files). The "content.opf" file is one of the metadata files. The errors you're getting indicate that several of the "id" attributes (and one "idref" attribute) inside the content.opf file have values that aren't allowed in the OPF or XML specification. The numbers in brackets indicate the line number where the error is located in the file.
How to fix - that depends on whether you're creating the EPUB by hand, or if you're using an application to create the EPUB. If you make a copy of the EPUB (so you don't risk messing up the original), then change the file extension of the copy from .epub to .zip you can extract the OPF file and open it up in a plain text or HTML editor to have a look at the content and edit it. If you're not sure what to look for, post a copy of the content.opf file here, and I or someone else will have a look. If you're using an application to create the EPUB file, let us know what it is so someone can suggest the best way to fix these errors. |
|
|
|
|
|
#4 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,812
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 12-17-2010 at 06:16 AM. Reason: to fix errors |
|
|
|
|
|
|
#5 |
|
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Umm... do you maybe mean FlightCrew, Jon?
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,812
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#7 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The value of the "id" attribute (and "idref") must start with a letter, not a number. Is that your case?
Last edited by Jellby; 12-17-2010 at 03:19 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you check a book for errors? | Davimee | Astak EZReader | 12 | 10-05-2010 02:39 PM |
| Epub Check Errors (loads!) | ghostyjack | ePub | 5 | 09-03-2010 09:34 AM |
| ePub Errors | mrbillb | ePub | 1 | 08-11-2010 09:24 PM |
| errors after epub check | ericp20 | Sigil | 2 | 06-13-2010 11:40 AM |
| ePub errors | Hatgirl | ePub | 2 | 05-18-2010 02:00 PM |