> -----Urspr?ngliche Nachricht----- > Von: Hussein Shafie [mailto:hussein at xmlmind.com] > Gesendet: Montag, 13. Juli 2009 10:16 > An: Thomas Dumm > Cc: xmleditor-support at xmlmind.com > Betreff: Re: [XXE] Why do you trasnform docbook documents > into xhtml documents during the ePub transformation? > > Thomas Dumm wrote: > > > > Is there a reason why you have choosen to transform docbook xml > > documents into xhtml documents during the ePub conversion process? > > ePub is basically an XHTML 1.1 based format. You cannot > expect an ePub reader to properly render any format other (X)HTML. > >
If you give the reader rendering info for the xml via a css, it should be possible to display any xml. XXE does the same. > > > > In principle it would also be possible to link to the docbook xml > > document as an "out-of-line XML Island Content Document" in > the ePub > > file > > > (http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section1.4.1.4). > > In my understanding, this is just a secondary functionality. > First and foremost you need to generate an XHTML 1.1 document. > > My understandig of the specification is, that there are the two *preferred* vocabularies, XHTML and the Digital Talking Book (DTBook), where no rendering-info is required but any Out-of-line XML Island Content Document is possible, if 1. it is a well-formed and valid XML document (as defined by XML 1.1according to its schema); and 2. it is encoded in UTF-8 or UTF-16; and 3. it has a MIME media type other than application/xhtml+xml, text/x-oeb1-document or application/x-dtbook+xml. > > > Or do I misunderstand the ePub specification here? > > > > >

