Subject: [xsl] Strange Opera bug ? From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx> Date: Thu, 5 Jul 2007 18:31:04 +0200 |
The stylesheet below triggers a "XSLT processing failed!" in Opera. It works fine with Saxon 6.5.5, MSXML3 and Fx 2.0.0.4. The failing part is <script src="xy.js" type="text/javascript"/> no matter how I code it, so no workaround ! I've submitted a bug-report (bug-272491) already, but would like to hear if anyone has experienced this also ??? The transformation will work only, if I delete the line above.
XML: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="view_opera.xsl" type="text/xsl"?> <Envelope/>
XSLT: <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" omit-xml-declaration="yes" indent="no" /> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de"> <head> <script src="xy.js" type="text/javascript"/> <title>Suchergebnis</title> </head> <body> <p><a href="Ind_Such.html">Neue Suche</a></p> </body> </html> </xsl:template> </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] adding attribute values, Michael Kay | Thread | Re: [xsl] Strange Opera bug ?, David Carlisle |
RE: [xsl] adding attribute values, Maxine Pensyl-Johnso | Date | Re: [xsl] Strange Opera bug ?, David Carlisle |
Month |