View Single Post
Old 02-11-2013, 07:55 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,291
Karma: 35906004
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
That looks like the hidden "__MACOSX" folder that OSX includes when performing the normal "Archive as" function. That hidden resource folder can't exist in a valid ePub (and still pass validation, anyway). This is one time where doing it "from scratch" is biting you in the ass. Don't create an "archive," create a zip file with the "zip" command—if you insist on doing it from scratch. But I recommend using pdurrant's tool for easily zipping/unzipping epubs properly on OSX, instead. There are special considerations when creating an ePub package (the mimetype file must be first and uncompressed).

Your validator is complaining that the files (that start with "._") in the hidden __MAXOSX folder are NOT declared in the opf. And they shouldn't be; because the hidden __MACOSX folder shouldn't be in the ePub package in the first place.

Last edited by DiapDealer; 02-11-2013 at 10:25 AM.
DiapDealer is offline   Reply With Quote