Re: Convert one XML format to another and verify the conversion … how to “verify the conversion”?
Shlomi Fish <[email protected]> Sat, 29 Jun 2024 19:26:38 +0300
| Newsgroups | gmane.text.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Roger, On Sat, 29 Jun 2024 15:59:42 +0000 Roger L Costello <[email protected]> wrote: > Hi Folks, > I am writing a program that converts an old XML format to a new XML forma= t. > In addition to doing the conversion, I also need to verify the conversion= . I > have two questions: >=20 > 1. What does it mean to =E2=80=9Cverify the conversion=E2=80=9D? Do= es 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 th= at? > 2. As I do the conversion, I simultaneously output (to a separate f= ile) > metadata for each conversion action. What metadata should I generate to > enable the conversion to be verified? >=20 > Allow me to explain =E2=80=A6 >=20 > My program converts this old format: >=20 > <Airport_Name>Boston Logan Airport</Airport_Name> >=20 > to this new format: >=20 > <name>Boston Logan Airport</name> your description reminds me of the series of sketches on the Israeli versio= n 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_chea= ting/ . I can suggest writing some tests by hand using xpath or similar to verify that *some* of the transformed results are right.=20 --=20 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/ .) =E2=80=94 https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - https://shlom.in/reply . _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: [email protected] subscribe: [email protected] List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php