IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: Midgardlife
About
User Name: Midgardlife
Forum Rank: Newbie
Real Name:
Location Hesperia Ca
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Sunday, September 10, 2017
Last Visit: Sunday, September 10, 2017 3:42:31 AM
Number of Posts: 1
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: File comparison when versioning in file name
Posted: Sunday, September 10, 2017 3:42:11 AM
Hellin_Th wrote:
Good morning,
We are really interested in your DiffDog program but we first need to check some functionalities.
We are publishing XSDs zip regularly and we would like to be able to generate a report that would list all the changes made between the previous version of the XSDs and the new version.
Our publication follow always the same folder structure like the one here under

XSD folder
__document
____RequestStartAccess
______ebIX_MessageBusinessInformationEntities_RequestStartAccess_02-02p002.xsd
______ebIX_MessageDataType_RequestStartAccess_02-02p002.xsd
______ebIX_RequestStartAccess_02-02p002.xsd
____NotificationTicketProcessing
______ebIX_MessageBusinessInformationEntities_NotificationTicketProcessing_02-06p001.xsd
______ebIX_MessageDataType_NotificationTicketProcessing_02-06p001.xsd
______ebIX_NotificationTicketProcessing_02-06p001.xsd
____Message ...
__generic
____5_000001_0p1pA.xsd
____5_BE000385_0p1pA.xsd
____260_000077_0p2pA.xsd
____...

But, as the version number is in the filename (the part in red in the example here above) we are not sure that your program will understand that he has to compare the 2 files. For the files that didn't changed between the 2 version of course there will not be any problem as the filename remains completely the same but for the ones that evolved the filename will be adapted.

On a clearer way, will DiffDog understand that he has to compare file from the following 2 folders structure?

Baseline:
XSD folder
__document
____RequestStartAccess
______ebIX_MessageBusinessInformationEntities_RequestStartAccess_02-02p002.xsd
______ebIX_MessageDataType_RequestStartAccess_02-02p002.xsd
______ebIX_RequestStartAccess_02-02p002.xsd
____NotificationTicketProcessing
______ebIX_MessageBusinessInformationEntities_NotificationTicketProcessing_02-06p001.xsd
______ebIX_MessageDataType_NotificationTicketProcessing_02-06p001.xsd
______ebIX_NotificationTicketProcessing_02-06p001.xsd
____Message ...
__generic
____5_000001_0p1pA.xsd
____5_BE000385_0p1pA.xsd
____260_000077_0p2pA.xsd
____...

New Version:
XSD folder
__document
____RequestStartAccess
______ebIX_MessageBusinessInformationEntities_RequestStartAccess_02-02p003.xsd
______ebIX_MessageDataType_RequestStartAccess_02-02p003.xsd
______ebIX_RequestStartAccess_02-02p003.xsd
____NotificationTicketProcessing
______ebIX_MessageBusinessInformationEntities_NotificationTicketProcessing_02-07p001.xsd
______ebIX_MessageDataType_NotificationTicketProcessing_02-07p001.xsd
______ebIX_NotificationTicketProcessing_02-07p001.xsd
____Message ...
__generic
____5_000001_1p0pA.xsd
____5_BE000385_0p1pA.xsd
____260_000077_0p3pA.xsd
____...

Thanks for your response

Have a nice day

Thibaut

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.