Version: 4.0 (using KDE 3.1.2) Installed from: compiled sources Compiler: gcc version 2.95.4 20020320 [FreeBSD] OS: FreeBSD (i386) release 4.8-STABLE When an XML file is loaded in Konqueror, it does not display the contents, but it starts the application associated with the MIME type text/xml. It would be nice if Konqueror would display the file in a fashion similar to how IE and Mozilla handle XML files. Example of an XML file: http://people.freebsd.org/~znerd/config.xml Example of how Mozilla 1.4 renders it (ignore the font rendering issue): config.xml-on-Mozilla.jpg Ernst de Haan ( znerd <[at]> FreeBSD.org )
Testcase appears blank in konqueror window. Hard to say what the proper behavior is. Not FreeBSD specific in any case.
Indeed it shows blank on some configurations. On others it starts the application associated with text/xml, for example KWrite. My guess is that Konqueror attempts to render it as HTML, but it doesn't find any HTML tags, so it displays nothing. My request is that Konqueror does render XML, similarly to how Mozilla handles this. It does not have to be anything fancy, just having the option of displaying the XML inline in Konqueror, would make this browser a LOT more usable for me. I work with XML-RPC style web services all the time, but I have to use Mozilla for this...
*** Bug 75461 has been marked as a duplicate of this bug. ***
This is still a problem with KDE 3.3.1...
You can fix this yourself if you would like: 1) Go into kcontrol 2) select KDE Components->File Accociations 3) search for "xml" in the "Find filename pattern" box 4) To to the embedding tab 5) In the "Services Preferences Order", select "Embedded Advanced Text Editor (katepart)" and move it to the top of the list. For some reason, Konq kept my old settings until I xkilled it and started it over. Perhaps because I have told it to cache some copies in memory for faster startup. The easiest way to ensure the new settings are read would be to log out of KDE and log back in. After you do, viola! XML is displayed in a nice tree. Behold the power of kparts David
In fact that works very well for me. Thanks, David!
*** Bug 111030 has been marked as a duplicate of this bug. ***
If I try to add this XML to akkregator with RMB it dos not happen. IMHO konqueror should ask for this.
*** Bug 111335 has been marked as a duplicate of this bug. ***
*** Bug 114634 has been marked as a duplicate of this bug. ***
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann