xsl-list
[Top] [All Lists]

[xsl] Strange Opera bug ?

2007-07-05 09:31:19
Hi list,

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.

Manfred

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>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>