Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encryption.xml of content protected epub #32

Closed
rdeltour opened this issue Oct 15, 2013 · 3 comments
Closed

encryption.xml of content protected epub #32

rdeltour opened this issue Oct 15, 2013 · 3 comments

Comments

@rdeltour
Copy link
Member

From waelwrw@gmail.com on April 12, 2009 12:12:46

PROBLEM: We are using encryption.xml for content protection for embedded fonts in
ePub packages as described in http://www.adobe.com/devnet/digitalpublishing/pdfs/content_protection.pdf ,
the encryption.xml file generates two errors by epubcheck-1.0.4 METHOD: Checking epub package with content protection (encryption.xml) RESULT: Two errors generated:

  1. ERROR: files\test.epub/META-INF/encryption.xml(2): attribute
    "compression" from namespace "http:/ns.
    adobe.com/digitaleditions/enc" not allowed at this point; ignored
  2. ERROR: files\test.epub/META-INF/encryption.xml(5): unfinished element EXPECTED: If it's a bug, plz. fix it to support content protected epub checking, or
    tell me how can i fix my file if it is my fault. PLATFORM: epubcheck-1.0.4
    Windows-XP ADDITIONAL INFO: Sample file attached (test.epub), Kindly download and check it.

Thanks..

Wael Abdelsattar
Production Developer
Hindawi Publishing Corporation
wael.abdelsattar@hindawi.com http://www.hindawi.com/

Attachment: test.epub

Original issue: http://code.google.com/p/epubcheck/issues/detail?id=32

@rdeltour
Copy link
Member Author

From themank...@gmail.com on July 16, 2009 22:47:15

I had same problem so, I changed the file as the below.


enc:EncryptedData
<enc:EncryptionMethod Algorithm=' http://ns.adobe.com/pdf/enc#RC'/ >
enc:CipherData
<enc:CipherReference URI='your font path'/>

However, I still had the error: 2. ERROR: /META-INF/encryption.xml(5): unfinished
element
Do you solve the problem or fix the error?

@rdeltour
Copy link
Member Author

From soroto...@gmail.com on August 23, 2009 00:49:54

I have made several fixes in this area. Adobe font mangling will continue to be
flagged as a warning, IDPF mangling will not.

Status: Fixed

@rdeltour
Copy link
Member Author

From themank...@gmail.com on July 16, 2009 22:47:15

I had same problem so, I changed the file as the below.

<encryption xmlns='urn:oasis:names:tc:opendocument:xmlns:container'
xmlns:enc=' http://www.w3.org/2001/04/xmlenc#' >
<enc:EncryptedData>
<enc:EncryptionMethod Algorithm=' http://ns.adobe.com/pdf/enc#RC'/ >
<enc:CipherData>
<enc:CipherReference URI='your font path'/>

However, I still had the error: 2. ERROR: /META-INF/encryption.xml(5): unfinished
element
Do you solve the problem or fix the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant