Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6721 closed bug (invalid)

XHTML IE8 fix doesn't work with jQuery

Reported by: fazend Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


This is my XHTML/PHP file:

<? header('Content-type: application/xhtml+xml')?>
<?="<?xml version=\"1.0\" encoding=\"utf-8\"?>"?>
<?="<?xml-stylesheet type=\"text/xsl\" href=\"ie-fix.php\"?>"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml"> 
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<script type="text/javascript"
<script type="text/javascript">

This is the XSL/PHP file (ie-fix.php):

<? header('Content-type: text/xsl')?>
<?="<?xml version=\"1.0\" encoding=\"utf-8\"?>"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.w3.org/1999/xhtml" version="1.0">
    <xsl:output method="xml" encoding="utf-8"></xsl:output>
    <xsl:template match="/">
        <xsl:copy-of select="node()"></xsl:copy-of>

I created it as explained here: http://www.w3.org/MarkUp/2004/xhtml-faq#ie

My code doesn't work in Safari 5.0, the errors I'm getting are:

TypeError: Result of expression 'd.style' [null] is not an object.
ReferenceError: Can't find variable: $

Could anyone help, please? Thanks!

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

You say it's an IE8 fix but it doesn't work in Safari?

Try the forum first: http://forum.jquery.com

If it turns out to be a bug, reopen with some more details.

Note: See TracTickets for help on using tickets.