[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

  • From: Shlomi Fish <shlomif@shlomifish.org>
  • To: Roger L Costello <costello@mitre.org>
  • Date: Sat, 29 Jun 2024 19:26:38 +0300

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.