You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using PresentationBuilder.PublishSlides to generate slides from the original pptx file.
The problem is that this method returns non-deterministic results from run to run: slide's DocumentByteArray has different data - there is a difference in several bytes.
I am not quite sure, but I think that ZIP archives (*.pptx, *.docx, *.xlsx) are not deterministic by their native
According to Wikipedia http://en.wikipedia.org/wiki/Zip_(file_format) seems that zip files have headers for File last modification time and File last modification date so any zip file checked into git will appear to git to have changed if the zip is rebuilt from the same content since. And it seems that there is no flag to tell it to not set those headers.
In addition to that, in my case _rels/.rels file has several <Relationship .. tags where Id are unique (another file has a different id set).
The same story for other rels files (see ppt folder).
I'm using
PresentationBuilder.PublishSlides
to generate slides from the original pptx file.The problem is that this method returns non-deterministic results from run to run: slide's
DocumentByteArray
has different data - there is a difference in several bytes.Is it an expected behavior or not? Thanks.
Simple repro code (NET SDK 6.0.100, Clippit 1.8.1):
The text was updated successfully, but these errors were encountered: