Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

Service signer, Add DTD catalog / resolver #15

Closed
GoogleCodeExporter opened this issue Sep 25, 2015 · 4 comments
Closed

Service signer, Add DTD catalog / resolver #15

GoogleCodeExporter opened this issue Sep 25, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

ePub (and other file formats) may contain XML files with a DOCTYPE.
A resolver is to be added, probably somewhere in
AbstractXmlSignatureService.getXmlSignatureDigestValue

It might be wise to use local copies of well-known DTD's

Original issue reported on code.google.com by bart.han...@fedict.be on 16 Sep 2009 at 9:09

@GoogleCodeExporter
Copy link
Author

Another use case: signing ODF-files containing MathML formulas.

OOo adds a DOCTYPE at the top of the (embedded) content.xml containing the 
MathML 
formula, causing a FileNotFoundException when the service tries to load math.dtd

Original comment by bart.han...@fedict.be on 16 Oct 2009 at 1:57

@GoogleCodeExporter
Copy link
Author

Could you send me a hello world ODF with a MathML formula embedded?

Original comment by frank.co...@gmail.com on 12 Feb 2010 at 7:00

@GoogleCodeExporter
Copy link
Author

DocumentBuilder.setEntityResolver should to the trick.

Original comment by frank.co...@gmail.com on 14 Jun 2010 at 6:33

@GoogleCodeExporter
Copy link
Author

Original comment by frank.co...@gmail.com on 8 Aug 2010 at 7:21

  • Changed state: Done

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

No branches or pull requests

1 participant