tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garret Wilson <gar...@globalmentor.com>
Subject valid XHTML 1.1, Tomcat, text/xml, and @!&* IE
Date Sat, 18 Sep 2004 00:55:34 GMT
With Tomcat 5.5.2, JSF, and JSP, I'm serving up pure, 
standards-compliant XHTML 1.1 that starts out with:

<?xml version="1.0">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

That works just fine with FireFox, but with IE (the very latest and 
greatest available), I get:

Parameter entity must be defined before it is used. Error processing 
resource 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd...

%xhtml-prefw-redecl.mod;
-^

Apparently, it's because of an IE bug that chokes if the content is 
served as text/xml. See:

http://lists.w3.org/Archives/Public/www-math/2002Apr/0002.html
http://www.biglist.com/lists/xsl-list/archives/200405/msg00106.html
http://www.intertwingly.net/blog/1626.html

How do I tell Tomcat to serve JavaServer Faces files as text/html (or 
application/html+xml, but maybe that's asking for too much) so that IE 
users can access content that's apparently too standards-compliant for 
their browsers?

Garret


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message