KXMLGuiClient doesn't except empty strings as xml files anymore

Rafael Fernández López ereslibre at kde.org
Sat Sep 20 02:05:56 BST 2008


Hi,

> This is fixed now, isn't it? Rafael and I discussed this more and he (or I,
> I don't remember) made the code more sensible (shows parsing errors, but
> accepts empty documents).
>
> If not, please tell me exactly what you do and what you get  - or add a
> unit test to kxmlgui_unittest.cpp :)

Yes, it should be fixed on trunk. I removed this assertion on revision 
http://websvn.kde.org:80/trunk/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp?r1=858710&r2=860861 
(trunk).

We were actually calling setDomDocument with an empty document (when no rc was 
provided by the app in a explicit way).


Regards,
Rafael Fernández López.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080920/02adf185/attachment.sig>


More information about the kde-core-devel mailing list