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:
parent
268c9230cd
commit
88fd68050f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user