Ask Your Question
1

BOM removal from zip file

asked 2018-07-30 21:54:03 -0600

anonymous user

Anonymous

A zip file in a hdfs directory contains 1000's of xml files. while parsing the xml files, I am getting xml parser_00 error. it looks like the files contains BOM. I followed the steps from other post to remove BOM and write it to a directory as a whole zip file, but it didn't work. What is the process to remove BOM from zip file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-31 09:22:52 -0600

metadaddy gravatar image

The process should be:

  1. Extract XML files from ZIP
  2. Remove BOM from each XML file
  3. Create new ZIP with BOM-less XML files

Did you do this? What was the result?

edit flag offensive delete link more

Comments

please provide the processor which can be use for the above logic?

edukondalu gravatar imageedukondalu ( 2018-11-30 01:20:39 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-30 21:54:03 -0600

Seen: 466 times

Last updated: Jul 31