Version: (using KDE KDE 3.3.0) Installed from: Compiled From Sources OS: Linux In XHTML documents containing processing instructions (PIs), anything between '<?target' and '?>' should be ignored, and not rendered. (See XML spec at http://w3.org/TR/2004/REC-xml-20040204/#sec-pi ). Unfortunately, if I have the following PI: <?mkindex index $name > operator ?> Konq renders "operator ?>" as part of the document's text. The XML spec clearly says that the PI ends at the first occurence of "?>", and that ">" is a legal character inside PIs.
There's an example of this problem at: http://www.personal.rdg.ac.uk/~sis04lw/c++/lang/operator-compare.html See the description for "operator >".
I'm confirming the bug, it doesn't work as expected even in Mozilla (I haven't tested other browsers). Even xmllint has problems understanding this structure...
Does this occur with a recent kde version (ie 3.5.4) ?
That page is served as text/html, so any XML talk of processing instructions is irrelevant --- it will get parsed by an HTML parser.
Please see the following page: http://www.lwithers.me.uk/test.xhtml This is properly served as application/xhtml+xml and displays the problem clearly.
thanks for the testcase. firefox renders w/o showing the xml-part plainly, konqueror 3.5.4 displays it. confirming the bug.
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.