[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: QDom as an alternative to KConfig?
From: Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date: 2001-04-03 16:21:03
[Download RAW message or body]
Harri Porten wrote:
>
> aleXXX wrote:
> >
> > Maybe something could be done about the files which are parsed by every app:
> > kdebugrc, kdegloabls, kstylerc, index.desktop of the icon themes.
>
> Yes. Following the ksyscoca principle: a binary cache that is only
> refreshed if the original file was modified meanwhile. Any obstacles I
> oversee ?
I've been working on something related to this - a standard binary
representation for XML. It's designed to allow it to support the
standard XML APIs (DOM and SAX) but to use a very compact and easy
to parse data stream. It has all the usual XML features (tags, attrs,
DTDs, namespaces etc.) but much lower overhead (it uses a variable
length id->name mapping so it scales nicely even to big DTDs).
Ultimately I'm planning to make it possible to compile a DTD to a
known BTD to provide even more powerful features (and to remove
the need for symbol storage if the DTD is available at both the
source and destination locations). I don't have this part
implemented yet.
As well as being able to support things like an XML Sycoca I think
this could give a big performance increase to XML mechansims like
XMLRPC. Currently I have some basic code in Java and C++, and the
beginning of a white paper for the format. If people are interested
I can stick it online somewhere.
Cheers
Rich.
ps. My machine is now working again!
>
> Harri.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic