felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r817621 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
Date Tue, 22 Sep 2009 11:59:54 GMT
Author: fmeschbe
Date: Tue Sep 22 11:59:54 2009
New Revision: 817621

URL: http://svn.apache.org/viewvc?rev=817621&view=rev
Log:
Remove xml directive since some IE versions are known to not switch
into standards mode if <!DOCTYPE> is not first data in file ...

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java?rev=817621&r1=817620&r2=817621&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
Tue Sep 22 11:59:54 2009
@@ -558,8 +558,7 @@
         //  7 branding favourite icon (BrandingPlugin.getProductName())
         //  8 branding favourite icon (BrandingPlugin.getProductImage())
 
-        final String header = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
-        + "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
+        final String header = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
 
         + "<html xmlns=\"http://www.w3.org/1999/xhtml\">"
         + "  <head>"



Mime
View raw message