- From: Christian Grün <christian.gruen@gmail.com>
- Date: Thu, 6 Feb 2014 21:00:12 +0100
- To: Florent Georges <fgeorges@fgeorges.org>
- Cc: John Lumley <john@saxonica.com>, EXPath ML <public-expath@w3.org>
> The OCF spec[1] (the ePUB spec that defines how to package files > together in a ZIP file) mandates the first entry to be "mimetype" > entry, uncompressed, and containing "application/epub+zip". This is > an easy way to check this is actually intended to be an actual ePPUB > file encoded as ZIP, without having to unzip the file (a bit like > magic numbers in image files). True, thanks. For me, this would be yet another reason to stick wirh XML. XQuery 3.1 arrays would be another solution, but this is even further away.
Received on Thursday, 6 February 2014 20:01:04 UTC