[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strange Opera bug ?

Subject: Re: Strange Opera bug ?
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 05 Jul 2007 18:49:53 +0200
Re:  Strange Opera bug ?
Manfred Staudinger wrote:

The stylesheet below triggers a "XSLT processing failed!" in Opera.

Which version of Opera is that exactly?


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.




--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.