Version: (using KDE KDE 3.5.4) Installed from: Slackware Packages Compiler: gcc 3.4.6 OS: Linux Please open my XHTML 1.1 valid site http://freez.security-portal.cz in konqueror and look, it will be rendered without any stylesheet, but as you can see, I use <?xml-stylesheet type='text/css' href='http://freez.security-portal.cz/templates/freez/css/style1.css'?> Both of Opera and Gecko renders my site properly. Is it possible to fix khtml, which is ignoring xml-stylesheet? http://www.w3.org/TR/xml-stylesheet/ Thanks for any response
Uhm, you're serving this as text/html, so not showing the stylesheet is the proper behavior. Of course, if you gave us the same mimetype as mozilla, application/xhtml+xml it won't work right since that currently uses the wrong parser :( It should spottily work with text/xml, but there are bugs with that (see #115882), and that code needs a big rework (shame I forgot most of what it does by now :( )... Man, this bug report is like a big TODO list for me..
Anyway what is need to get the right mimetype server? Do we need an accept-header we can set somewhere?
KHTML should send the accept-header with at least application/xhtml+xml,text/html,application/svg+xml,application/xml,text/xml
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.