lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Incorrect format for 'PremiumTaxLoad'


From: Greg Chicares
Subject: [lmi] Incorrect format for 'PremiumTaxLoad'
Date: Mon, 20 Nov 2006 03:47:16 +0000
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

File | New | Illustration | OK
Illustration | Copy full illustration data
[paste it somewhither and look at it]

In the tenth column, I see:
  PremiumTaxLoad
  40000%
where '400' is wanted.

The original code (still in HEAD) has this latent defect:

  C:/lmi/src/lmi[0]$grep -w PremTaxLoad ledger_xml_io.cpp
    format_map["PremTaxLoad"                       ] = f4;
    format_map["PremTaxLoad"                       ] = f1;

which got translated this way in 'format.xml' (in 'gnome-xml-branch'):

    <column name="PremTaxLoad">
        <title basis="run_curr_basis">Curr Premium Tax Load</title>
        <title basis="run_guar_basis">Guar Premium Tax Load</title>
        <format>f4</format>
    </column>

which demonstrates why it's important to correct latent defects.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]