lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Calculation Summary columns selection


From: Evgeniy Tarassov
Subject: Re: [lmi] Calculation Summary columns selection
Date: Wed, 8 Nov 2006 03:58:34 +0100

On 11/7/06, Greg Chicares <address@hidden> wrote:
On 2006-11-7 2:10 UTC, Evgeniy Tarassov wrote:
>
> I have added some more not-so-pretty methods to configure_settings so
> that when the settings are written back into the xml file, it does not
> include the default values specified in the configurable_settings
> constructor.

The defaults hardcoded in C++ are intended only as plausible
values for entities not present in 'configurable_settings.xml',
although generally it's better for all of them to be specified
in that file.

In practice, I think a customized 'configurable_settings.xml'
is always distributed. Any values in that file should override
the defaults hardcoded in C++. IOW, if the new calculation-
summary-column-selections entity is changed, then saving the
file should change only that entity.

Does this mean that any auxiliary formatting in the
configurable_settings.xml has to be preserved? Like when user comments
in some values in the xml file.
An (insane) example of configurable_settings.xml:

<?xml version="1.0"?>
<configurable_settings>
 <!-- bring home some food tonight -->
 <xslt_directory>/etc/custom/cslt/dir</xslt_directory>
 <!-- brush cat's teeth tomorrow -->
</configurable_settings>

Do we have to preserve these user comments or could we just discard
it? If we could, then life will be much easier. :)




reply via email to

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