google-code-export / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
1 stars 3 forks source link

downloaded pptx files for google docs presentation are not binary identical #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make a presentation
2. get the url with the drive API
3. download pptx file a few times, you'll notice that they differ (md5sum or 
even size; while the date remains unchanged)

What is the expected output? What do you see instead?
expected is that they are binary identical if they are unchanged

What version of the product are you using? On what operating system?
N/A

Please provide any additional information below.

after some investigation, it seems that the internal theme xml files are not 
ordered when they are parsed and thus theme1.xml might be one of Office/Custom 
347/Default and the other 2 themes might be one of the others. that means the 
notesMaster and SlideMaster and presentation .xml.rels files also change in 
their referral to theme1, theme2 and/or theme3.

if you order them before parsing the themes into theme*.xml ; this should 
result in binary identical pptx files.

Original issue reported on code.google.com by maar...@coloc.be on 28 Apr 2014 at 2:26