ERROR ITMS-9000 package.opf attribut errors
Hello,
I'm running into an error I was not able to fix, while trying to upload my epub book in iTunes producer.
here is the two errors I'm getting:
"Package Summary:
1 package(s) were not uploaded because they had problems:
/Users/Me/Desktop/Portraits.itmsp - Error Messages:
ERROR ITMS-9000: "Portraits.epub: /Users/Me/Desktop/Portraits.itmsp/Portraits.epub/EPUB/package.opf(4): [RSC-005] Erreur lors de l'analyse du fichier 'lattribut {0} nest pas autorisé ici ; lattribut {0} est attendu'.. This error occurs 4 times. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets
ERROR ITMS-9000: "Portraits.epub: /Users/Me/Desktop/Portraits.itmsp/Portraits.epub/EPUB/Navigation/nav.xhtml(13): [RSC-005] Erreur lors de l'analyse du fichier 'lélément {0} est incomplet {1}'. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets
I have checked my file and it works fine on my Mac and both of my iPads, I cannot find how to fix the .opf and the nav file.
here are the 4 first lines of the opf, which contain the error:
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" xml:lang="fr" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="uid" version="3.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title id="id-1">Portraits</dc:title>
Hope someone can help? thank you in advance!! ;-)
iPad Air Wi-Fi, iOS 11.1, Using Calibre 2.3