c# - Compare generated xps document against a nominal xps, ignoring random resource GUID's -


in wpf application i'm generating xps report based on flowdocument.

i've tested viewmodel part of generation unit tests, i'd add acceptance test (using specflow, http://www.specflow.org/) compares newly created report against nominal report in order avoid unwanted changes in future.

unfortunately, unzipped content of generated xps differs in guid's of embedded resources (e.g font) each time report re-generated. guess comparing fixed pages in /documents/1/pages enough, nevertheless fonts referenced guid in there.

compare 2 xps documents

fixed page differences

is there way how can compare xps files ignoring guid part? can give me hint right direction?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -