[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KoXmlReader and opening other files
From:       "Ariya Hidayat" <ariya () kde ! org>
Date:       2007-05-14 9:06:28
Message-ID: ba035dd10705140206r3ebd54c9lc8e3609e2a19d5fe () mail ! gmail ! com
[Download RAW message or body]

> I have a concern about KoXmlReader, in Krita we need to access the XML and
> other files at the same time, I want to be sure that it will still be
> possible. As KoStore can only access one file at a time, that means the XML
> file needs to be loaded in memory.

Why would that be a problem? Or am I missing something?

Just to clarify: classes in KoXmlReader still have to load the XML
file in memory. It just uses an improved data structure (along with
on-the-fly compression) so that it won't eat too much memory and yet
can provide sensible DOM interfaces.

If in doubt, check the unit test (in libs/store/tests/). Don't forget
to comment and uncomment KOXML_USE_QDOM in KoXmlReader.h and compare
the result of the tests.

Feel free of course to add more tests there.


Regards,

Ariya
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic