You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by "Lopez Cantero, Sergio" <SL...@sadiel.es> on 2008/03/03 10:46:25 UTC

Problems c14ning openoffice math xml

Hi, I’m having trouble with the c14nation of xml files included when you add a math object in openoffice to do it’s signature.

Apache doesn’t create the same hash as openoffice so it fails.

I’ve found the math.dtd and put it into the path so apache can find it but it didn’t solve the problem.

Anyone tried signing openoffice documents with math objects?

Thanks

 

Files are like:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd"><math:math xmlns:math="http://www.w3.org/1998/Math/MathML"><math:semantics><math:mrow><math:mrow><math:mrow><math:mo math:stretchy="false">¬</math:mo><math:mrow><math:mo math:stretchy="false">(</math:mo><math:mi math:fontstyle="italic">BV1</math:mi><math:mo math:stretchy="false">)</math:mo></math:mrow></math:mrow><math:mo math:stretchy="false">∧</math:mo><math:mi math:fontstyle="italic">BV2</math:mi></math:mrow><math:mo math:stretchy="false">∧</math:mo><math:mi math:fontstyle="italic">BV3</math:mi></math:mrow><math:annotation math:encoding="StarMath 5.0">neg (BV1) and BV2 and BV3</math:annotation></math:semantics></math:math>