I had the same problem with <script> tags in IE with XHTML. Here's what I ended up doing that worked. I put a semicolon in there, so it was just an empty statement and didn't bother anything.

<script src="script.js" type="text/JavaScript">;</script>

Ed

---

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: Christos Karras <[EMAIL PROTECTED]>
Subject: Re: xalan ignores xsl:output method="html"?
Date: Tue, 29 Jan 2002 11:21:03 -0500


>I have a stylesheet with <textarea> and <div> tags, when they are >empty, xalan outputs <textarea/> and <div/> instead >of <textarea></textarea> and <div></div>, which Internet Explorer >doesn't correctly interpret....Is it because xalan doesn't know >about IE's bug on <textarea/> and <div/>, so it thinks it >can safely output that?

Generally, Xalan doesn't know about any browser-specific issues.
Do people want separate serializers for every version of every
browser?

Can the problem be worked around by sticking a space or comment
into the element? That would force separate start and end tags.
<div><!-- IE has a bug --></div>
If that sort of workaround is not available, then file a bug
report in Bugzilla, so we at least have it tracked. If you file a
report, state as much as you can about the versions of IE that
have the bug, and cite their bug identifier if known.
.................David Marston


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx




Reply via email to