![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7
Karma: 473442
Join Date: Oct 2010
Device: none
|
Help, please: duplicate id: heading_id_12
How can correct the mistake?
Validate EPUB documents Invalid EPUB FSR_05a.epub is NOT valid 1. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0003.xhtml: duplicate id: heading_id_12 2. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0004.xhtml: duplicate id: heading_id_12 3. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0005.xhtml: duplicate id: heading_id_12 4. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0006.xhtml: duplicate id: heading_id_12 5. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0007.xhtml: duplicate id: heading_id_12 6. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0008.xhtml: duplicate id: heading_id_12 7. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0009.xhtml: duplicate id: heading_id_12 8. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0010.xhtml: duplicate id: heading_id_12 9. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0011.xhtml: duplicate id: heading_id_12 10. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0013.xhtml: duplicate id: heading_id_12 11. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0022.xhtml: duplicate id: heading_id_12 12. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0023.xhtml: duplicate id: heading_id_12 13. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0024.xhtml: duplicate id: heading_id_12 14. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0025.xhtml: duplicate id: heading_id_12 15. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0026.xhtml: duplicate id: heading_id_12 16. Check finished with warnings or errors! Preflight report Epubpreflight runs some of the same validation as epubcheck, but additionally checks for problems like very large file sizes that might affect some reading systems. 1. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0003.xhtml: duplicate id: heading_id_12 2. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0004.xhtml: duplicate id: heading_id_12 3. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0005.xhtml: duplicate id: heading_id_12 4. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0006.xhtml: duplicate id: heading_id_12 5. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0007.xhtml: duplicate id: heading_id_12 6. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0008.xhtml: duplicate id: heading_id_12 7. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0009.xhtml: duplicate id: heading_id_12 8. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0010.xhtml: duplicate id: heading_id_12 9. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0011.xhtml: duplicate id: heading_id_12 10. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0013.xhtml: duplicate id: heading_id_12 11. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0022.xhtml: duplicate id: heading_id_12 12. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0023.xhtml: duplicate id: heading_id_12 13. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0024.xhtml: duplicate id: heading_id_12 14. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0025.xhtml: duplicate id: heading_id_12 15. ERROR: FSR_05a.epub: could not parse OEBPS/Text/Section0026.xhtml: duplicate id: heading_id_12 16. Check finished with warnings or errors! |
![]() |
![]() |
![]() |
#2 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Vadimzn: I suspect--because I've done it myself--you copied a header that you intended to use in multiple places, like a chapter heading or whatever, but the chapter header you copied had already been given its header ID. When you copied it, you didn't DELETE the "heading id_12" text inside the <H1> (or header whatever) tags. Go back; delete all the "heading_id_12" bits inside the header tags, then open your TOC editor again, click "okay," and then all your header id's should be automagically renumbered. Save that ePUB, and try running that through ePUBcheck (or better yet, Flight Crew), and I think it should work fine.
heading_id numbers are not intended to be used more than once; they're identifiers by which the ncx, etc., find each header. Good luck, HTH. Hitch |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7
Karma: 473442
Join Date: Oct 2010
Device: none
|
Hitch,
thanks a lot. I have corrected it. Regards, Vadim |
![]() |
![]() |
![]() |
#4 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Good! Did it pass ePUBcheck?
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7
Karma: 473442
Join Date: Oct 2010
Device: none
|
Yes, it did. I am going to setup this book on LSUK.
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2010
Location: Near Chicago
Device: none
|
Just a quick follow-up to this issue.
I've searched but not found the answer: Is it OK if heading_id numbers repeat in separate files? In other words, if there are 5 h3 headings in file1.xhtml: id="heading_id_1" id="heading_id_2" id="heading_id_3" id="heading_id_4" id="heading_id_5" and four h3 headings in file2.xhtml: id="heading_id_1" id="heading_id_2" id="heading_id_3" id="heading_id_4" is that going to be a problem? The ePub I've just finished has this going on, and it validates in FlightCrew and epubcheck. Just want to be sure I shouldn't go through and renumber them. I haven't looked yet to see if any h1 or h2 headings share the same numbers as any h1, h2 or h3 headings in other files. Edit: now I've checked and there are occasions where one file has an h2 with id_9 and another has an h3 with id_9. Thanks Last edited by chinookdesign; 12-27-2010 at 04:00 PM. |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
id's repeating in different files is fine but in one file they are not fine ever.
Dale |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2010
Location: Near Chicago
Device: none
|
Thanks Dale
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate Detection | albill | Calibre | 2 | 10-26-2010 02:21 PM |
Duplicate files on SD card | drdman | Astak EZReader | 6 | 08-08-2010 07:03 PM |
PRS-600 Duplicate books | radcliffe287 | Sony Reader | 4 | 12-18-2009 06:54 AM |
Duplicate books on reader | bassett520 | Calibre | 2 | 11-29-2009 08:51 PM |