![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: iphone
|
Dc creator problem
I feel like I am going mad. Well maybe I am, but can anyone help me with this problem:
I'm making epubs from Indesign (cs5.5) and tweaking them in calibre. Everyhing looks OK but when I try to validate them (on Threepress) I'm getting this error: ERROR: In Search of the Promised Land_ The Politics of Post-War Ireland - Gary Murphy.epub/OEBPS/content.opf(4): attribute "role" not allowed here; expected attribute "file-as", "id", "role" or "xml:lang" ERROR: In Search of the Promised Land_ The Politics of Post-War Ireland - Gary Murphy.epub/OEBPS/content.opf(4): attribute "file-as" not allowed here; expected attribute "file-as", "id", "role" or "xml:lang" Here is a section from my content.opf file: <dc:creator opf:role="aut" opf:file-as="Murphy, Gary">Gary Murphy</dc:creator> What am I doing wrong? I'm getting the same error from all my epubs out of calibre. I was doing some post production work in Sigil which did give me valid epubs but Sigil completed ruined all the linked footnotes in the documents (and there are hundreds!) but that's another story! Would love to hear if anyone has a solution. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: iphone
|
no joy
Thanks for the quick response, but no joy with that fix. am still getting the same error:
ERROR: In Search of the Promised Land_ The Politics of Post-War Ireland - Gary Murphy.epub/OEBPS/content.opf(4): attribute "role" not allowed here; expected attribute "file-as", "id", "role" or "xml:lang" ERROR: In Search of the Promised Land_ The Politics of Post-War Ireland - Gary Murphy.epub/OEBPS/content.opf(4): attribute "file-as" not allowed here; expected attribute "file-as", "id", "role" or "xml:lang" Even when I delete out any role etc and just have the names it still doesnt work. sigh ![]() |
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: iphone
|
I did. My line now reads: <dc:creator role="aut" file-as="Murphy, Gary">Gary Murphy</dc:creator>
also tried just <dc:creator >Gary Murphy</dc:creator> but that doesn't work either. What am I missing? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
![]() |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2011
Device: iphone
|
Can anyone recommend a different validator tool. I thought this was the standard but obviously not!
Heres my content.opf Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <package xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" unique-identifier="bookid" version="2.0"> <metadata> <meta name="generator" content="Adobe InDesign"/> <meta name="cover" content="x187.png"/> <dc:title>In Search of the Promised Land: The Politics of Post-War Ireland, 1945-1961</dc:title> <dc:subject></dc:subject> <dc:description>In In Search of the Promised Land, Gary Murphy argues against the thesis of Tom Garvin and his work, Preventing the Future. In that book, Garvin argues that old culture, old ideas and the repression of the Church held Ireland’s development in check through the 1940s and 1950s. Gary Murphy suggests that our government and civil service leaders were in fact open to change and new ideas and this openness led them to adopt outward-looking policies. He accepts that some policy-makers were reluctant to accept any compromise on sovereignty or Ireland’s self reliance even though in the long term, these compromises opened the economy and brought employment and success. It was the fresh thinking that came from within the country that eventually led to the association with Europe and the joining of the EEC. Far from holding the country back, the post-war leadership and culture was seeking new ways to deal with the nation’s challenges.</dc:description> <dc:creator role="aut" file-as="Murphy, Gary">Gary Murphy</dc:creator> <dc:publisher>Mercier Press</dc:publisher> <dc:date>2011-06-24</dc:date> <dc:source></dc:source> <dc:relation></dc:relation> <dc:coverage></dc:coverage> <dc:rights>Gary Murphy, 2009</dc:rights> <dc:language>en-GB</dc:language> <dc:identifier id="bookid"></dc:identifier> </metadata> <manifest> <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/> <item id="css" href="template.css" media-type="text/css"/> <item id="Cover" href="Cover.html" media-type="application/xhtml+xml"/> <item id="dedication" href="dedication.html" media-type="application/xhtml+xml"/> <item id="Frontis" href="Frontis.html" media-type="application/xhtml+xml"/> <item id="Copyright" href="Copyright.html" media-type="application/xhtml+xml"/> <item id="Glossary-of-Abbreviations" href="Glossary%20of%20Abbreviations.html" media-type="application/xhtml+xml"/> <item id="Governments-of-Ireland--1923-2009" href="Governments%20of%20Ireland%2c%201923%e2%80%932009.html" media-type="application/xhtml+xml"/> <item id="Introduction-The-Promised-Land" href="Introduction%20The%20Promised%20Land.html" media-type="application/xhtml+xml"/> <item id="x1.-The-War-was-Over--but-the-Emergency-was-Not-" href="1.%20The%20War%20was%20Over%2c%20but%20the%20Emergency%20was%20Not%20.html" media-type="application/xhtml+xml"/> <item id="x2.-This-Dark-and-Dismal-Land-" href="2.%20This%20Dark%20and%20Dismal%20Land%20.html" media-type="application/xhtml+xml"/> <item id="x3.-Opening-Out" href="3.%20Opening%20Out.html" media-type="application/xhtml+xml"/> <item id="x4.-A-National-Government-for-Ireland" href="4.%20A%20National%20Government%20for%20Ireland.html" media-type="application/xhtml+xml"/> <item id="x5.-Owners--Workers-and-Farmers--The-Interest-group-Experience-" href="5.%20Owners%2c%20Workers%20and%20Farmers-%20The%20Interest-group%20Experience%20.html" media-type="application/xhtml+xml"/> <item id="x6.-Exploring-Faraway-Lands" href="6.%20Exploring%20Faraway%20Lands.html" media-type="application/xhtml+xml"/> <item id="Acknowledgements" href="Acknowledgements.html" media-type="application/xhtml+xml"/> <item id="Bibliography-" href="Bibliography%20.html" media-type="application/xhtml+xml"/> <item id="Conclusion" href="Conclusion.html" media-type="application/xhtml+xml"/> <item id="BackofEbook" href="BackofEbook.html" media-type="application/xhtml+xml"/> <item id="x187.png" href="images/187.png" media-type="image/png"/> <item id="Facebook-Logo_fmt.jpeg" href="images/Facebook-Logo_fmt.jpeg" media-type="image/jpeg"/> <item id="In-20search-20of-20the-20promis_fmt.png" href="images/In%20search%20of%20the%20promis_fmt.png" media-type="image/png"/> <item id="mercier_fmt.jpeg" href="images/mercier_fmt.jpeg" media-type="image/jpeg"/> <item id="MercierStackedBlack_fmt.png" href="images/MercierStackedBlack_fmt.png" media-type="image/png"/> <item id="Promised-20LandFrontis_fmt.jpeg" href="images/Promised%20LandFrontis_fmt.jpeg" media-type="image/jpeg"/> <item id="twitter_fmt.jpeg" href="images/twitter_fmt.jpeg" media-type="image/jpeg"/> </manifest> <spine toc="ncx"> <itemref idref="Cover"/> <itemref idref="dedication"/> <itemref idref="Frontis"/> <itemref idref="Copyright"/> <itemref idref="Glossary-of-Abbreviations"/> <itemref idref="Governments-of-Ireland--1923-2009"/> <itemref idref="Introduction-The-Promised-Land"/> <itemref idref="x1.-The-War-was-Over--but-the-Emergency-was-Not-"/> <itemref idref="x2.-This-Dark-and-Dismal-Land-"/> <itemref idref="x3.-Opening-Out"/> <itemref idref="x4.-A-National-Government-for-Ireland"/> <itemref idref="x5.-Owners--Workers-and-Farmers--The-Interest-group-Experience-"/> <itemref idref="x6.-Exploring-Faraway-Lands"/> <itemref idref="Acknowledgements"/> <itemref idref="Bibliography-"/> <itemref idref="Conclusion"/> <itemref idref="BackofEbook"/> </spine> </package> |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use flightcrew (part of Sigil) it tends to have much better error messages.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As per this:
http://idpf.org/epub/20/spec/OPF_2.0...m#Section2.2.2 that creator element is perfectly valid. |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
<dc:creator opf:file-as="Bell, Alex" opf:role="aut">Alex Bell</dc:creator> which validates with ePubCheck. |
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2011
Device: none
|
Hi Twibbs
I am also using InDesign CS5.5 and have come across a problem in its revised export to epub function. If you leave the 'unique identifier' field blank in the export options, Indesign is supposed to insert a random unique identifier automatically. I have noticed that this is not happening in epubs that I make, and same seems to be happening with you. Your quoted .opf file reads <dc:identifier id="bookid"></dc:identifier>. A unique reference should be inserted before the closing tag. Unfortunately, epubcheck 1.2 is not detecting this as an error, even though this information is required in all epubs! |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2011
Device: none
|
Hi Twibbs
Sorry, but forgot to mention in my post above that unique identifier is also not being inserted by InDesign CS5.5 in .ncx file |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobipocket Creator problem | Yammerhant | Kindle Formats | 4 | 10-11-2012 04:03 AM |
problem with mobi creator | bobcdy | Kindle Formats | 8 | 06-30-2009 01:28 AM |
creator is as mysterious as sublime creator | bassetti | Introduce Yourself | 2 | 08-24-2008 06:49 AM |
Creator How to use mobipocket creator? | Jules | Kindle Formats | 10 | 06-16-2008 01:14 PM |
Manga creator from JPEGs? (BBeb creator) | jessesn | Sony Reader | 3 | 10-03-2006 12:06 AM |