![]() |
#1 |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
ePUBCHECKER errors
I have three volumes, the second two are OK, the first one has this particualar error twice: 'AUTHOR': fragment identifier is not defined
1) /tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html(23) : 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html' 2)/toc.ncx(13): 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html' How and where do I have to define the identifier? What does the identifier look like and what should it be? |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
TOC line 13
and line 23 of the other file. Can you post the code so we can see |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
Quote:
There is a file in the folder in which I was working that's named "toc-mbp_toc_intermediary.xml". I'm not sure if it ended up being used in the creation of the EPUB file, but here's its content: <?xml version="1.0" encoding="UTF-8"?> -<toc> <item title="zenny.com presents" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_0"/><item title="Copyright" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_1"/><item title="What They Say About The Book" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_2"/><item title="Dedication" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_3"/><item title="NOTE TO THE READER" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_4"/><item title="INTRODUCTION TO THE NEW ENGLISH EDITION" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_5"/><item title="INTRODUCTION" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_6"/><item title="1 THE GOOD SOLDIER ŠVEJK ACTS TO INTERVENE IN THE WORLD WAR" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_7"/><item title="2 THE GOOD SOLDIER ŠVEJK AT POLICE HEADQUARTERS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_8"/><item title="3 ŠVEJK BEFORE THE COURT PHYSICIANS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_9"/><item title="4 THEY THREW ŠVEJK OUT OF THE MADHOUSE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_A"/><item title="5 ŠVEJK AT THE DISTRICT POLICE STATION IN SALMOVA STREET" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_B"/><item title="6 ŠVEJK AT HOME AGAIN, HAVING BROKEN THROUGH THE VICIOUS CIRCLE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_C"/><item title="7 ŠVEJK GOES IN THE MILITARY" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_D"/><item title="8 ŠVEJK AS A MALINGERER" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_E"/><item title="9 ŠVEJK IN THE GARRISON PRISON" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_F"/><item title="10 ŠVEJK AS MILITARY SERVANT TO THE FIELD CHAPLAIN" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_10"/><item title="11 ŠVEJK RIDES WITH THE FIELD CHAPLAIN TO SERVE A FIELD MASS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_11"/><item title="12 A RELIGIOUS DEBATE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_12"/><item title="13 ŠVEJK GOES TO PROVIDE THE LAST RITES" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_13"/><item title="14 ŠVEJK AS A MILITARY SERVANT TO SENIOR LIEUTENANT LUKÁŠ" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_14"/><item title="15 CATASTROPHE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_15"/><item title="AFTERWORD TO THE FIRST VOLUME: “IN THE REAR”" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_16"/><item title="About the Author" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_17"/><item title="Endnotes " href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publ ications%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_18"/> </toc> Last edited by zenny; 06-04-2011 at 10:58 PM. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
With what program did you create this? It looks awful!
Try to avoid spaces in filenames when you can. Further more, there are no relative links in there, but actual links. That is bound to give problems. |
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
As for opening the epub, it is just a zip file with the .epub extension. Open it with your usual zip archive program. You will have to be careful when you re-pack it though. Once you have unzipped it, look for the files referred to in the error message and see what's there. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,964
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
I opened the XML file in Microsoft WordPad. But spaces replaced by "%20" are really not the culprit according to the error messages,as far as I can see, are they?
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Show us the contents of your "Content.opf" file
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,964
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Spaces are not the problem, but it makes it unreadable. However, the local filepaths are not correct. Please make them relative.
Again, what program did you use to make this .... mess? |
![]() |
![]() |
![]() |
#11 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
Quote:
<?xml version="1.0" encoding="UTF-8"?> -<toc> <item title="zenny.com presents" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_0"/><item title="Copyright" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_1"/><item title="What They Say About The Book" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_2"/><item title="Dedication" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_3"/><item title="NOTE TO THE READER" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_4"/><item title="INTRODUCTION TO THE NEW ENGLISH EDITION" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_5"/><item title="INTRODUCTION" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_6"/><item title="1 THE GOOD SOLDIER ŠVEJK ACTS TO INTERVENE IN THE WORLD WAR" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_7"/><item title="2 THE GOOD SOLDIER ŠVEJK AT POLICE HEADQUARTERS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_8"/><item title="3 ŠVEJK BEFORE THE COURT PHYSICIANS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_9"/><item title="4 THEY THREW ŠVEJK OUT OF THE MADHOUSE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_A"/><item title="5 ŠVEJK AT THE DISTRICT POLICE STATION IN SALMOVA STREET" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_B"/><item title="6 ŠVEJK AT HOME AGAIN, HAVING BROKEN THROUGH THE VICIOUS CIRCLE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_C"/><item title="7 ŠVEJK GOES IN THE MILITARY" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_D"/><item title="8 ŠVEJK AS A MALINGERER" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_E"/><item title="9 ŠVEJK IN THE GARRISON PRISON" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_F"/><item title="10 ŠVEJK AS MILITARY SERVANT TO THE FIELD CHAPLAIN" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_10"/><item title="11 ŠVEJK RIDES WITH THE FIELD CHAPLAIN TO SERVE A FIELD MASS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_11"/><item title="12 A RELIGIOUS DEBATE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_12"/><item title="13 ŠVEJK GOES TO PROVIDE THE LAST RITES" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_13"/><item title="14 ŠVEJK AS A MILITARY SERVANT TO SENIOR LIEUTENANT LUKÁŠ" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_14"/><item title="15 CATASTROPHE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_15"/><item title="AFTERWORD TO THE FIRST VOLUME: “IN THE REAR”" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_16"/><item title="About the Author" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_17"/><item title="Endnotes " href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_18"/> </toc> |
|
![]() |
![]() |
![]() |
#12 | ||
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
Quote:
Quote:
I didn't have to unzip it though because the Mobipocket Creator did that behind the scenes when I double-clicked on it. It showed the book HTML file and a content file without an extension. I presume it is the XML TOC file the contents of which I posted here. |
||
![]() |
![]() |
![]() |
#13 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
Thank you for confirming my suspicion.
![]() Quote:
If by the mess you mean the escape codes, those appeared when I opened the XML file in Word Pad. |
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 24
Karma: 10
Join Date: Dec 2009
Device: none
|
I might have identified the problem by looking at the Metadata screen in Mobipocket Creator and comparing it with the same screens for the subsequent two volumes of the book which passed the test. I have no idea how the error message would lead me there, but, here it is. Notice that the author's last name in the metadata for Book One contains an "s" with a diacritical mark, but not so in metadata for the remaining two volumes. The diacritical mark is also in the title of all three volumes and didn't hurt anything, but, is it just a coincidence that the 'AUTHOR': fragment identifier is not defined ..." and the "Author" in the metadata for the book with the problem differs from the other two instances in that the name of the author contains the ever-problematic FOREIGN language character?
METADATA eBook Title:The Good Soldier Švejk - Book One Author: Hašek, Jaroslav METADATA eBook Title:The Good Soldier Švejk - Book Two Author: Hasek, Jaroslav METADATA eBook Title:The Good Soldier Švejk - Book(s) Three & Four Author: Hasek, Jaroslav Unfortunately, I don't have access to the file 'fateful-adventures-of-the-good-soldier-svejk-book-one.epub/tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html' in which the referenced error occurred. It is/was on the server of the epubcheck on-line gizmo at ThreePress Consulting. Last edited by zenny; 06-06-2011 at 09:27 PM. |
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,964
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So try changing the name of the author to match the others and try again.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubchecker error | robgor | ePub | 1 | 02-04-2011 02:10 AM |
newbie needs to make epub to pasa epubchecker | Ray Tayek | Calibre | 2 | 11-27-2010 11:31 PM |
Errors | Caitlin | Calibre | 7 | 11-15-2010 03:48 PM |
Calibre errors on one PC, not another | Katelyn | Calibre | 12 | 07-13-2009 09:09 PM |
Errors and Errors... | uncultured | Amazon Kindle | 7 | 03-11-2009 05:11 PM |