[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How do you ensure that data is not altered/corrupt

Subject: Re: How do you ensure that data is not altered/corrupted in a transformation?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 May 2023 20:47:37 -0000
Re:  How do you ensure that data is not altered/corrupt
On Fri, 2023-05-19 at 08:37 +0000, Roger L Costello costello@xxxxxxxxx
wrote:
> Hi Folks,
>
> In certain domains loss of life may occur if data is
> altered/corrupted in any way.
>
> Suppose you write an XSLT program which transforms this:
>
> <alt>12000 feet</alt>
>
> to this:
>
> <altitude>12000 feet</altitude>

Or you changed

<alt unit="feet">1200</alt>
into
<alt unit="metres">1200</alt>
which might not be seen in a text comparison...

So you have to write tests. Round-tripping can mask errors, and writing
tests with the same software used for transforms can also mask errors.
There is no single complete answer.



--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread

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
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.