|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2012
Device: ipad,kindle fire
|
WARNING OEBPS/content.opf 6 24 title element is empty ERROR OEBPS/content.opf 18 46 character content of element "dc:identifier" invalid; must be a string with length at least 1 (actual length was 0) Used Indesign CS 5.5 to create. Any help would be great. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,114
Karma: 958803
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
There must be an unique identifier in the opf file. Most people use the ISBN number when available. More or less the same is valid for the title. The title element in the opf is required in the ePUB specifications.
I assume that in ID this can be done in the metadata.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Det
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 720
Karma: 478020
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
You may try sigil to correct it, it has a metadata-editor |
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2012
Device: ipad,kindle fire
|
Thank you both.
Issue fixed.
|
|
|
|
|
|
#5 |
|
Freelance Book Designer
![]() Posts: 1
Karma: 10
Join Date: Jun 2012
Device: iPad
|
I know I'm months late to this thread, but I was pleased to find it. Only it leaves me with other questions. For instance, if I'm just trying to put together a sample epub doc from a print book I did design and layout on, what can I use for ID info, since the ISBN is not mine to fool around with? Also, is there generally a "rule book" or operations manual that decodes validator error messages in plain, non-techie English?
Thank you. |
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,835
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Anything you like as long as it's unique. For example I use afjbnnn where afjb are my intials, and nnn is a three digit number. If I ever get to my thousandth ePub I'll use afjb1000
__________________
Regards, Alex "I would unite with anybody to do right and with nobody to do wrong." Frederick Douglass Circaidy Gregory Press - Earlyworks Press |
|
|
|
|
|
#7 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,150
Karma: 2505637
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
I use "Jellby:YYYYMMDD", where YYYYMMDD is the date when I create the OPF file. If I create several ones in a single day, I add "b", "c", etc. My identifier looks like this:
Code:
<dc:identifier id="BookId">Jellby:20120701</dc:identifier> |
|
|
|
|
|
#9 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: none
|
I am getting the error: character content of element "dc:identifier" invalid; must be a string with length at least 1. Sounds like the fix is to open the source code and place the ISB number into the dc: identifier. Can someone post what code and am looking for to add this to? May sound trivial but I am new with code.
Also, the validator is telling me to take the spaces out of my file names. I can't do this since the TOC uses these names. Is this going to be a problem in final validation? |
|
|
|
|
|
#10 | |
|
Det
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 720
Karma: 478020
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
Btw: Doing this would be easy by using sigil, but which tool do you use ?? Building a toc from filenames is a bit unusual. Spaces and other special character's (such like äöü) in Filenames could cause problems (somewhere in the universe ), but i never heard about a case, where they are a real problem.
|
|
|
|
|
|
|
#11 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: none
|
What program opens the .opf file. I assumed a text editor or Dreamweaver would do this but neither let me. I'm not seeing where I can fix this in the metadata panel (in InDesign) either. I tried to use sigil but I am on OS 10.5.8 and can't seem to find an older download of Sigil anywhere. The newest version needs OS 10.6.
|
|
|
|
|
|
#12 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
__________________
|
|
|
|
|
|
|
#13 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,835
Karma: 2831780
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS 650, Kindle3, iPad2, Sony PRS T1, Sony PRS T2
|
Quote:
Or you could try renaming content.opf to content.txt (or whatever Apple uses for text files) and then rename it back to content.opf when you've edited it.
__________________
Regards, Alex "I would unite with anybody to do right and with nobody to do wrong." Frederick Douglass Circaidy Gregory Press - Earlyworks Press |
|
|
|
|
|
|
#14 |
|
Connoisseur
![]() ![]() Posts: 94
Karma: 126
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
i have a mac and use textwrangler to edit just about all epub content documents (including your opf). also it's free.
i've also used http://www.famkruithof.net/uuid/uuidgen to generate unique identifiers |
|
|
|
![]() |
| Tags |
| epub validation error |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ePub Validation Error | sn12 | ePub | 8 | 03-08-2012 11:44 AM |
| Epub Validation Error | DTurner | ePub | 6 | 09-12-2011 05:13 PM |
| epub validation error | drwinn | Workshop | 17 | 03-22-2011 05:10 PM |
| epub validation error | sassanik | Sigil | 19 | 12-08-2010 05:46 AM |
| ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |