I have a zip file I need SnapLogic to source that was created on a Mac using Apple’s compress utility.
To read the zip file, I used a ZipFile Reader snap which had no problem reading the zip file.
Next I connected a XML parser snap to the ZipFile Reader snap and ran into an issue about the XML data not being well formed.
“Failure: Failed to convert xml to json, Reason: Invalid UTF-8 start byte 0xad (at char #38, byte #-1), Resolution: Please check if the xml data is well formed”
When I do a ‘view data’ on the ZipFile Reader’s output, I see there is an extra 223 byte __MACOSX entry for every file contained in the zip file.
What is the best way to remove these extra _MACOSX entries from be passed to the XML parser snap?