[xsl] How do you ensure that data is not altered/corrupted in a transformation?

Subject: [xsl] How do you ensure that data is not altered/corrupted in a transformation?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 May 2023 08:36:44 -0000
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>

How do you ensure that the data -- 12000 feet -- was not altered/corrupted in
the transformation?

I have heard of people doing a hash on the data prior to the transformation, a
hash on the data after the transformation, and then comparing the hashes. Is
that what you would do when lives are on the line? What is your
recommendation?

/Roger

Current Thread