mirror of https://github.com/apache/poi.git
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
45bcbd9828
commit
2172d63be9
|
@ -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