Skip navigation
doron@pilotfish
Currently Being Moderated

Issue uploading epub to ACS

Aug 13, 2012 4:10 AM

Tags: #acs #upload_failure #e_pack_error

I am trying to upload an epub file into our ACS Server. I can view the file perfectly using Digital Editions, but when uploading into ACS I get the following error returned to me:

 

<error xmlns="http://ns.adobe.com/adept" data="E_PACK_ERROR http://[server here]/packaging/Package The%20element%20type%20%22p%22%20must%20be%20terminated%20by%20the%20 matching%20end-tag%20%22%3c/p%3e%22."/>

 

Below is the request snippet:

 

<package xmlns="http://ns.adobe.com/adept">

                <resourceItem xmlns="http://ns.adobe.com/adept">1</resourceItem>

                <metadata xmlns="http://ns.adobe.com/adept">

                                <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Applying Cognitive Linguistics</dc:description>

                                <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">English</dc:language>

                                <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">Routledge, Taylor and Francis</dc:publisher>

                                <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Applying Cognitive Linguistics</dc:title>

                                <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tyler, Andrea</dc:creator>

                </metadata>

                <permissions xmlns="http://ns.adobe.com/adept">

                                <display>

                                                <device />

                                </display>

                                <excerpt>

                                                <device />

                                                <count initial="1" max="1" incrementInterval="86400" />

                                </excerpt>

                                <print>

                                                <device />

                                                <count initial="10" max="10" incrementInterval="86400" />

                                </print>

                </permissions>

                <dataPath>C:\EBookImports\31\9781135965525.epub</dataPath>

                <thumbnailData>[encrypted data here - too long for post]</thumbnailData>

                <expiration>2012-08-06T14:41:00Z</expiration>

                <nonce>OBRZLZETLTVVNXQSXHBT</nonce>

                <hmac>BMSEBLE6HzvTuakTVf11PxtVsnc=</hmac>

</package>

 
Replies
  • Currently Being Moderated
    Aug 13, 2012 7:28 AM   in reply to doron@pilotfish

    Somewhere in the epub file in one of the html file there is a <p> element that doesn't have a matching </p> end tag.  This makes it a non valid EPUB.

     

    For a more descriptive error you can go run epubcheck on the file, which should show exactly where the error is.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points