Subject: Re: [xsl] 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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do you ensure that da, Joe Wicentowski joew | Thread | [xsl] Tools to Flatten a DTD, rick@xxxxxxxxxxxxxx |
Re: [xsl] How do you ensure that da, Joe Wicentowski joew | Date | [xsl] Tools to Flatten a DTD, rick@xxxxxxxxxxxxxx |
Month |