In my WPF application I'm generating an xps report based on a flowdocument.
I've tested all the ViewModel part of the generation with unit tests, but I'd like to add an acceptance test (using specflow, http://www.specflow.org/) that compares the newly created report against an nominal report in order to avoid unwanted changes in the future.
Unfortunately, the unzipped content of the generated xps differs in GUID's of the embedded resources (e.g the font) each time the report is re-generated. I guess comparing the fixed pages in /Documents/1/Pages is enough, but nevertheless the fonts are referenced with GUID in there.
Is there a way how I can compare xps files ignoring GUID part? Can someone give me a hint to the right Direction?