[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Convert one XML format to another and verify theconversion
Hi Roger, On Sat, 29 Jun 2024 15:59:42 +0000 Roger L Costello <costello@mitre.org> wrote: > Hi Folks, > I am writing a program that converts an old XML format to a new XML format. > In addition to doing the conversion, I also need to verify the conversion. I > have two questions: > > 1. What does it mean to “verify the conversion”? Does XSD validation > constitute verifying the conversion? My sense is no. My sense is that each > action taken during the conversion must be verified. Do you agree with that? > 2. As I do the conversion, I simultaneously output (to a separate file) > metadata for each conversion action. What metadata should I generate to > enable the conversion to be verified? > > Allow me to explain … > > My program converts this old format: > > <Airport_Name>Boston Logan Airport</Airport_Name> > > to this new format: > > <name>Boston Logan Airport</name> your description reminds me of the series of sketches on the Israeli version of Sesame Street called "The 'Happiness' Family" or "Family 'Bliss'" where they are frustrated first from clothes being dirty and finally with the washing soap being dirty. Related to it is "I thought using loops was cheating" https://www.reddit.com/r/EDM/comments/26e2vw/i_thought_using_loops_was_cheating/ . I can suggest writing some tests by hand using xpath or similar to verify that *some* of the transformed results are right. -- Shlomi Fish https://www.shlomifish.org/ Chuck Norris/etc. Facts - https://www.shlomifish.org/humour/bits/facts/ Chuck Norris doesn't celebrate holidays -- holidays celebrate Chuck Norris. (By sevvie: https://sevvie.github.io/ .) — https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - https://shlom.in/reply .
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|