OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Using ePub


Sorry Eric, I mean it has to be the first file listed in the zip. This
is from,

http://www.idpf.org/ocf/ocf1.0/download/ocf10.htm

"...but MUST also contain a "mimetype" file as the first file in the ZIP
archive to aid in the easy identification of the media type of the
container. [See section 3.4]"

-----Original Message-----
From: Eric Johnson [mailto:EMJOHNSO@progress.com] 
Sent: 27 March 2009 15:12
To: Kwan, Richard; Keith Fahlgren
Cc: docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] Using ePub

By first do you mean at the top level or do you mean the first file
listed in the zip?


-----Original Message-----
From: Kwan, Richard [mailto:Richard.Kwan@uk.penguingroup.com]
Sent: Friday, March 27, 2009 10:58 AM
To: Eric Johnson; Keith Fahlgren
Cc: docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] Using ePub

is the mimetype file the first in the zip? 

-----Original Message-----
From: Eric Johnson [mailto:EMJOHNSO@progress.com]
Sent: 27 March 2009 14:54
To: Keith Fahlgren
Cc: docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] Using ePub

Thanks for the quick fix and the additional information!!

I got my book to build an open in Stanza desktop. There are still a few
validation errors from the on-line validator, bit I think I know how to
fix most of them.

One that perplexes me is that I got an error about the expected
mimetype. The mimetype file I place at the root of the package contains
"application/epub+zip" and the validator tells me that my package has
the wrong mimetype and it is expecting "application/epub+zip"...

Is there something subtle that I'm missing?


-----Original Message-----
From: Keith Fahlgren [mailto:abdelazer@gmail.com]
Sent: Thursday, March 26, 2009 10:00 PM
To: Bob Stayton
Cc: Eric Johnson; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Using ePub

On Thu, Mar 26, 2009 at 3:39 PM, Bob Stayton <bobs@sagehill.net> wrote:
> Indeed, the xmlns errors indicate a problem in the stylesheet.  You 
> can't assign an element to a namespace by trying to assign an ordinary

> attribute with name "xmlns".  It must use the namespace attribute on
xsl:element.
>
> Change this (and the like):
>
>       <xsl:element name="item">
>         <xsl:attribute
> name="xmlns">http://www.idpf.org/2007/opf</xsl:attribute>
>
> to this:
>
>       <xsl:element name="item" 
> namespace="http://www.idpf.org/2007/opf";>

Thanks for this bug report, Bob. I'm surprised xsltproc never cared but
the code was horribly casual with namespaces, and this has been resolved
in SVN.

Eric: You can either grab a new epub/docbook.xsl here
http://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/epub/docboo
k.xsl
or wait for one of the snapshot builds.

Please let me know what I can do to help you get Ant going. I'm not an
Ant user, but have a basic understanding of the three ePub specs. You
may find this list of resources useful:
http://labs.oreilly.com/2009/03/epub-resources-and-guides.html


Keith

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


 
This email was sent by a company owned by Pearson plc, registered office
at 80 Strand, London WC2R 0RL.
Registered in England and Wales with company number 53723


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]