gtktalog-devel
[Top][All Lists]
Advanced

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

Re: [Gtktalog-devel] XML tests


From: Yves Mettier
Subject: Re: [Gtktalog-devel] XML tests
Date: Tue, 16 Sep 2003 00:26:58 +0200 (CEST)
User-agent: SquirrelMail/1.4.1

> Hi all,

Hi Toni :)

>
> I've done some XML test with Gtktalog. The full report can be found at
> http://www.nokelu.be/tmp/test_results.sxc (OpenOffice.org Calc format).

Could you add the original size of the catalog ? We need to see if the 
difference is
very big or not.

For example, here is one of my tests:
gtktalog : 1420654
XML      : 9255334
XML.gz   : 1456885

(the contents are mdk cooker main, mdk cooker contrib and plf cooker)
The difference is only 2.5%: it is not very important.
If such tests show that XML.gz is something like 2.5% bigger than the original 
file
format, I think it is worth using XML.gz: going faster and more extensible, for 
minor
cost supplement.
I did not take time to perform other tests like you.

I have a very important question about your test with gzip and saving gtktalog 
catalogs:
do you use the best compression ratio ? Do you use 9 in gtktalog (see the 
prefs) ? Do
you use the --best or the -9 option with gzip ?


> Perhaps there is no need to use XML as native file format, because the
> pro's aren't very convincing (to me that is). The only pro we have, is
> readability by text editors.

... and it is easier to extend. With the current file format, we break the 
compatibility
for any new feature we want to add.

> Conclusion so far: keep the current file format and allow XML saving as
> option (for people who need to access the data from other sources).

Well, I need the difference between a gtktalog catalog and an XML.gz catalog 
compressed
with -9 option before concluding anything :)

For the time tests, I "feel" the difference: XML.gz is better :)

> Aside of that, my DTD knowledge is far too small to start writing one.
> Perhaps I have to start learning it ;)

Well, either write a sample XML format, or write a DTD. The important is to have
something working :)
If you want to test your DTD:
xmllint --noout --valid --dtdvalid your.dtd.file your.file.xml
Or something similar (man xmllint or xmllint --help :)

Thanks for the test: very interesting yet!
And try the OOo html export: looks good :)

Yves


-- 
- Homepage    - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key     - http://ymettier.free.fr/gpg.txt                    -
- Maitretarot - http://www.nongnu.org/maitretarot/                 -
- GTKtalog    - http://www.nongnu.org/gtktalog/                    -






reply via email to

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