Just opening and then saving Flat OPC XML file in Aspose’s Java API modifies contents of the file, i.e. there are some new control chars inserted in the newly created file that wasn’t present in the original file. I’m including with this message: original Flat OPC file (original.xml), saved copy of that file (copy.xml) and source code of program that was used to produce copy of the file (FlatOPCDocumentOpenSaveTest.java)
Best regards,
Ivan Tanaskovic
Hi Ivan,
Hi Awais,
I’ve already included both xml files with my original post because I believed that opening them (and comparing them) in any hex editor/viewer shouldn’t be too much of the problem.
Anyway, just for your convenience (and on your specific request) I’m including screen captures of those two files opened in one such hex editor/viewer; please observe just first few bytes of both files and you’ll immediately spot the first difference between two documents. There is large number of differences similar to that first one, and they occur throughout the copy.xml document.
Without even opening any of the attached files one can tell just from difference of file sizes between two documents (6917 bytes/characters to be exact) that there is significant difference between them.
I hope that this time you’ll find more time on your hands to deal with this issue.
Best regards,
Ivan Tanskovic
Hi Ivan,
Hi Ivan,