Patch: don't create HTML elements from an XML document
David Faure
david at mandrakesoft.com
Wed Oct 16 12:13:38 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Opening konqueror's bookmarks.xml with KHTML results to a very strange
effect: all the <title> tags change the titlebar caption....
This is because DocumentImpl::createElementNS was creating HTML elements
instead of XML elements (when the namespace is empty).
I simply moved that code to HTMLDocumentImpl.
So now it parses a correct DOM tree from the XML...... but doesn't show anything.
That's because we don't have a default style sheet for XML, right?
- --
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9rUni72KcVAmwbhARAovlAJ0X84q8Ya2LCR1r7xNvljVsOPkskwCgmmxp
HM3lm7MMOgC0S7tdT0mWq+Y=
=b5IW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlparsing.diff
Type: text/x-diff
Size: 3424 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20021016/3de85433/attachment.diff>
More information about the kfm-devel
mailing list