Subject: Re: [xsl] Strange Opera bug ? From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx> Date: Thu, 5 Jul 2007 19:22:42 +0200 |
Manfred Staudinger wrote:9.21
> The stylesheet below triggers a "XSLT processing failed!" in Opera.
Which version of Opera is that exactly?
xy.js does not exist. The transformation fails, so nothing is interpreted.> 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"/>
Does xy.js exist? Does the error occur with certain script statements (e.g. document.write) or does it occur in general?
> <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">
I am not sure that will help but I fail to see how using output method="html" together with an XHTML doctype and an XHTML namespace makes any sense. Output method="html" would serialize recognized HTML elements in _no namespace_ according to HTML rules but you do not have any such elements. The only meaningful output method for XHTML 1.0 with XSLT 1.0 is xml in my view. XSLT 2.0 has output method xhtml.
You and David are right, but with method="xml" it's the same. I think I have tried _all_ variants I can think of, but no chance.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Strange Opera bug ?, Martin Honnen | Thread | RE: [xsl] Strange Opera bug ?, Michael Kay |
Re: [xsl] Strange Opera bug ?, Martin Honnen | Date | [xsl] Wrap and XSL in XSL-FO (serve, Mark Anderson |
Month |