XML Dump random problem with VDouble

Stan Busk maxprog at mac.com
Wed Mar 21 15:20:41 CDT 2007


Hi,

I have a problem with XML Dump. I never exactly get back what I dump.  
As an example my DB as a record, #1341, where a VDouble is storing  
the value '10149.25'. The XML dump always creates that record with a  
value of '10149.20'. It doesn't happen on all records, only 1% or 2%  
records. Also I can't see any reason or pattern. The number has  
nothing particular, other similar numbers are dumped correctly.

This is how the record looks like in the app:
http://www.maxprog.com/misc/valentina/record.jpg
The on-list data and edition data are made thru 2 different queries.  
All the app (reports, stats, etc...) show that record with '10149.25'.

This is an extract of the XML dump for that record:

<Record>
    <f n="RecID">1341</f>
    <f n="Transaction_Date">10/25/2004</f>
    <f n="Transaction_Type">7</f>
    <f n="Transaction_AccountDebited">17</f>
    <f n="Transaction_AccountCredited">1</f>
    <f n="Transaction_Amount">10149.2</f>
    <f n="Transaction_Comment"><![CDATA[]]></f>
    <f n="Transaction_InvoiceNum"><![CDATA[]]></f>
</Record>

The amount is converted to '10149.2'. I found a dozen of such errors  
out of 2500 records.

I would say it is a bug. I can create a report at mantis. What do you  
need?

Stan


More information about the Valentina mailing list