Zip File error “header is corrupt” when i am adding exta field into header using java ZipEntry Class
问题 I set Content Type=text/xml in extra field of header while compressing. Below is my header. PK�*�H27664.040.678.FI00091710.xmlContent Type=text/xml It gives me error while decompressing validation fails "Header is corrupt". When removing the extra field Content Type=text/xml everything works fine. I need to set header extra field as it s necessary for me. Can someone help me how I can proceed it without getting error with extra field. Please help. Thanks in advance 回答1: The extra field itself