Hi,

Sure, let me try to explain the issue.
So I am working on LibreOffice files: *.odt/*.ott, they are zip archives
that contain xml files and empty folder (I don't know the reason of having
empty folders, but in any case I think that a potential zip file can have a
structure with empty folders). 
Here is a sample of structure from simple odt file:  
where you can see that Configurations2/* consists of empty folder.

My idea is to make changes with xml files and save the same structure after
updating a *.odt file. I am using camel-xslt and camel-zipfile components. I
ran to the problem that camel-zipfile doesn't work with empty folder within
zip file.

ZipIterator can not read empty folders and ZipAggregator can not put them
back into zip file.
I am attaching a simple odt file  hello.odt
<http://camel.465427.n5.nabble.com/file/n5793812/hello.odt>  
If you want I can try to create a pull request with changes in java code and
unit tests. I just need to figure out a little bit how to make a clone of
camel-zipfile and try to build it locally. Or else I can try to create a
patch with diffs.

Thanks,
Vlad



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-zipfile-tp5793495p5793812.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to