You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2009/09/22 13:59:54 UTC

svn commit: r817621 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java

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>"