use jaxp transformer instead of dom serializer to try fix old-xerces test failure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2018-10-05 20:09:45 +00:00
parent 268c9230cd
commit 88fd68050f
1 changed files with 2 additions and 2 deletions

View 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);