]> source.dussan.org Git - poi.git/commitdiff
use jaxp transformer instead of dom serializer to try fix old-xerces test failure
authorPJ Fanning <fanningpj@apache.org>
Fri, 5 Oct 2018 20:09:45 +0000 (20:09 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 5 Oct 2018 20:09:45 +0000 (20:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842979 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java

index d649c515a736b3fc36f29f27c772e0a209aef6c5..94a9658323607d3cebcafa27ccdc63e7ae35e776 100644 (file)
@@ -925,8 +925,8 @@ public final class TestPackage {
                                if (ze.getSize() == 0) {
                                        continue;
                                }
-                               // add zip entry header ~ 30 bytes
-                               long size = ze.getSize()+30;
+                               // add zip entry header ~ 128 bytes
+                               long size = ze.getSize()+128;
                                double ratio = ze.getCompressedSize() / (double)size;
                                min_ratio = Math.min(min_ratio, ratio);
                                max_size = Math.max(max_size, size);