[Yanel-commits] rev 34717 - public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager

michi at wyona.com michi at wyona.com
Thu Apr 3 11:11:18 CEST 2008


Author: michi
Date: 2008-04-03 11:11:17 +0200 (Thu, 03 Apr 2008)
New Revision: 34717

Modified:
   public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyViewer.java
Log:
namespace fixed

Modified: public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyViewer.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyViewer.java	2008-04-03 09:09:17 UTC (rev 34716)
+++ public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyViewer.java	2008-04-03 09:11:17 UTC (rev 34717)
@@ -33,7 +33,7 @@
      */
     static public String getXHTMLView (PolicyManager pm, String path, String contentItemId, int orderedBy, boolean showParents, boolean showTabs) {
         try {
-            StringBuffer sb = new StringBuffer("<html>");
+            StringBuffer sb = new StringBuffer("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
             sb.append("<head>");
             sb.append("<title>Access Policy: " + path + "</title>");
             // TODO: Calculate back path ...
@@ -81,7 +81,7 @@
             return sb.toString();
         } catch(Exception e) {
             log.error(e, e);
-            return "<html><body>Exception: " + e.getMessage() + "</body></html>";
+            return "<html xmlns=\"http://www.w3.org/1999/xhtml\"><body>Exception: " + e.getMessage() + "</body></html>";
         }
     }
 



More information about the Yanel-commits mailing list