![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2012
Device: ipad
|
Validation errors on epub3 sheet music document
I'm trying to publish a book of short sheet music pieces exported from a music notation program that provides export to epub 3 format. The problem is that the export process leaves a bunch of validation errors and although the music shows up perfectly on my iPad when I load the epub onto it the same file will not pass Apple's validator. I have solved a few of the errors on my own but can't figure out how to do the two that I am pasting below.
I am also providing a copy of the exported contents.opf, nav.xhtml, and the first page p001.html of the document in a zip file attached to this post. First error is: ERROR ITMS-9000: "ChristmasCarolsAltoSaxIBookv3.epub: OEBPS/content.opf(24): assertion failed: media overlay items must be of the 'application/smil+xml' type (given type was ''). This error occurs 39 times." at Book (MZItmspBookPackage) Second error is: ERROR ITMS-9000: "ChristmasCarolsAltoSaxIBookv3.epub: OEBPS/content.opf(21): assertion failed: global media:duration meta element not set" at Book (MZItmspBookPackage) There are actually a couple more errors as well but I didn't want to burden anyone with a really long post. Any help would be greatly appreciated! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The errors seem self explaining to me... In your content.opf there are references to documents but you do not tell what type of documents these are or specify a wrong type. For media overlays these apparently have to be different. Change them accordingly. To be more concrete, change 'application/xhtml+xml' to 'application/smil+xml'
The second error is that for this kind of book metadata is missing. You need to enter the meta element for duration. I cannot say what the exact metaname is though. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
The second error is about setting the time (duration) for that particular piece of embedded audio, as far as I can tell, without pulling your whole book apart. Does any of that help? Hitch |
|
![]() |
![]() |
![]() |
#4 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
EDIT: Please see the next message.
I keep the text of my previous message in the spoiler: Spoiler:
Last edited by AlPe; 11-03-2013 at 10:25 AM. |
![]() |
![]() |
![]() |
#5 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
MakeMusic. (from the p001.html)
BTW, looking at p001.html, I share the concern raised by Hitch: does MakeMusic generate the SMIL files at all? I do not see any "id" associated to XHTML elements, which are needed for the sync highlighting. What is your ebook supposed to do? Just displaying the score? The score and an <audio> player? Or should it also highlight the notes as the audio plays? EDIT: after looking at MakeMusic web site, I think that the generated EPUB simply contains the score, not the (MIDI?) audio, and hence no SMIL at all. If this is indeed the case, removing the "media-overlay" property should fix both the two errors you reported in your first post (since media:duration is not required if there are no media overlays). As far as I can tell, the folks at MakeMusic are probably working on exporting a "better" EPUB3 (with audio and note highlighting), but in the last release they disabled this feature, forgetting to remove the "media-overlay" property (and not checking with the EPUB validator before releasing...) EDIT 2: I edited the previous message Last edited by AlPe; 11-03-2013 at 10:26 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
AlPe: Not to be dense, but if there's no SMIL files, how does the score/music follow the text? I admit to not having tried to yet make any ePUB3 audio-embedded iBooks' ePUBS--does this happen, somehow, w/o SMIL files? Does the note/text highlighting occur using something available in ePUB3 that's not viable in 2? Hitch |
|
![]() |
![]() |
![]() |
#7 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Apologies, my first post might have created some confusion.
After browsing MakeMusic and skimming through the posted p001.xhtml, I realized that the EPUB3 exported by MakeMusic does not seem to have audio (hence, no media overlays/SMIL), but it contains only the score, in SVG format. So, to eliminate OP's first post errors, it suffices to remove the Code:
media-overlay="..." Hitch, to answer your question: with no SMIL files no synchronous highlighting is possible (not only in iBooks, but in EPUB 3 in general). Moreover, since Media Overlay is not part of EPUB 2, such a functionality is not available in EPUB 2. |
![]() |
![]() |
![]() |
#8 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Thanks for confirming what I already thought was right; we've made lots'a synchronized iBooks files, using SMIL's, and I was pondering what mysteries of ePUB3 had occurred (of which I was unaware) that somehow made synchronous highlighting possible sans the SMIL, which, obviously, we bookmakers would ALL love to not have to do, as you know all too well. So, if the OP is still around, we've solved this, correct? At least, vis-a-vis the SMIL media type? Did we solve the duration issue? Hitch |
|
![]() |
![]() |
![]() |
#9 | ||
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#10 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
![]() Hitch |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting a Music Sheet | maestralien | Conversion | 16 | 01-04-2013 11:32 AM |
Sheet Music on the Kindle? | Prestidigitweeze | Amazon Kindle | 4 | 04-23-2012 10:13 AM |
Sheet Music Now Available for Kindle | Gideon | News | 19 | 03-29-2010 05:52 AM |
A (Sheet) Music Reader | RWood | News | 14 | 06-02-2008 05:24 AM |