Thread: Help Validation
View Single Post
Old 07-09-2013, 02:01 PM   #9
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by rbay View Post
Hei again,

Thanks for your fast answer !

I still have 2 errors... and really don't know how to get out of them using Sigil.
When I deleted the attribute from the contents' file, Sigil is rewriting them...

Do I miss something with attributes ?

Here is the ePubcheck

9 juil. 2013 16:54:22
FILE: 130709-7-F-LGR.epub …has 2 error(s)

ERROR: /OEBPS/content.opf(18,73): attribute "opf:role" not allowed here; expected attribute "dir", "id" or "xml:lang"
ERROR: /OEBPS/content.opf(19,80): attribute "opf:event" not allowed here; expected attribute "id"
END OF FILE ERRORS

Used library: EpubCheck 3.0b5

---------- END OF CHECK RESULTS ----------

Thanks in advance and sorry for my english...

.
i believe that the 'opf:...' syntax is no longer used in epub3. the structure of the metadata where you want to include information about the author should look something like

Code:
    <dc:creator id="creator">Haruki Murakami</dc:creator>
    <meta refines="#creator" property="role" scheme="marc:relators" id="role">aut</meta>
    <meta refines="#creator" property="alternate-script" xml:lang="ja">村上 春樹</meta>
    <meta refines="#creator" property="file-as">Murakami, Haruki</meta>
where meta tags 'refine' particular elements. more in the spec

i really do think that sigil is just going to continue to frustrate your attempts to make it make epub3s, though, and that it will be easier to just crack open the epub and make the changes with a text-editor. either that or see if you can find an epub3 metadata editor somewhere online.
mzmm is offline   Reply With Quote