Bug 239979

Summary: automatic XML transformations are not supported
Product: [Applications] konqueror Reporter: Christopher Yeleighton <giecrilj>
Component: khtml xmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 4.3.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christopher Yeleighton 2010-05-29 15:13:18 UTC
Version:           4.3.5 (using KDE 4.3.5) 
OS:                Linux

XML pages with an XML stylesheet declaration of type "text/xsl" do not apply the XSLT transformation to the document.

Reproducible: Always

Steps to Reproduce:
1. 
Save the following code as "test.xml":

<?xml version="1.0" 
?><?xml-stylesheet type="text/xsl" href="test.xsl" ?><root >Error</root >

2. 
Save the following code as "text.xsl":

<?xml version="1.0" 
?><xsl:stylesheet version="1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
><xsl:template match="/" 
><HTML ><HEAD ><TITLE >Test page</TITLE ></HEAD ><BODY ><P /></BODY ></HTML 
></xsl:template ></xsl:stylesheet >

3. 
View the file "text.xml".

Actual Results:  
3. A page "test.xml" containing the text "Error".

Expected Results:  
3. A blank page "Test page".

OS: Linux (x86_64) release 2.6.31.12-0.2-desktop
Compiler: gcc
Comment 1 Maksim Orlovich 2010-05-29 17:48:52 UTC

*** This bug has been marked as a duplicate of bug 55420 ***