Author: jmorliaguet
Date: Sat Jan 14 23:13:47 2006
New Revision: 2212

Modified:
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_remote_data.html
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
Log:

- XHTML validation fixes (functional tests validate against XHTML strict)



Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
@@ -145,7 +143,7 @@
   <script type="text/javascript">
     function displayChoice(selected, choice) {
       $("message").innerHTML +=
-        "<li>" + selected.getAttribute('id') + ' => ' + choice + '</li>';
+        selected.getAttribute('id') + ' =&gt; ' + choice + '\n';
     }
 
     new CPSSkins.Controller('controller').register({
@@ -159,7 +157,7 @@
 
   </script>
 
-  <ul id="message"></ul>
+  <pre id="message"></pre>
 
 </body>
 

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_navpanel_test.html
        Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
@@ -39,9 +37,11 @@
 
   <h1>CPSSkins navigation panels</h1>
 
+  <div>
   <a class="header"
     href="javascript:CPSSkins.switchPerspective('panels/panel1')">
   PANEL 1</a>
+  </div>
 
   <ins class="view">
   {"widget": {
@@ -52,9 +52,11 @@
   }
   </ins>
 
+  <div>
   <a class="header"
      href="javascript:CPSSkins.switchPerspective('panels/panel2')">
   PANEL 2</a>
+  </div>
 
   <ins class="view">
   {"widget": {
@@ -65,9 +67,11 @@
   }
   </ins>
 
+  <div>
   <a class="header"
     href="javascript:CPSSkins.switchPerspective('panels/panel3')">
   PANEL 3</a>
+  </div>
 
   <ins class="view">
   {"widget": {
@@ -78,9 +82,11 @@
   }
   </ins>
 
+  <div>
   <a class="header"
     href="javascript:CPSSkins.switchPerspective('panels/panel4')">
   PANEL 4</a>
+  </div>
 
   <ins class="view">
   {"widget": {

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
        (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_observer_test.html
        Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_panel_test.html
   Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
@@ -27,6 +25,7 @@
 
   <div id="msg"></div>
 
+  <div>
   <a href="javascript:CPSSkins.switchPerspective('site-designer')">
   Site designer</a>
   <a href="javascript:CPSSkins.switchPerspective('page-designer')">
@@ -35,6 +34,7 @@
   Layout designer</a>
   <a href="javascript:CPSSkins.switchPerspective('element-editor')">
   Element editor</a>
+  </div>
 
   <table style="width:100%">
     <tr style="vertical-align: top">
@@ -85,7 +85,7 @@
         </ins>
 
       </td>
-      <td syle="width: 60%">
+      <td style="width: 60%">
 
         <ins class="view">
         {"widget": {

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_remote_data.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_remote_data.html
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_remote_data.html
  Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_tooltip.html
      Sat Jan 14 23:13:47 2006
@@ -1,9 +1,7 @@
-<?xml version="1.0" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xml:lang="en" lang="en"
-      xmlns="http://www.w3.org/1999/xhtml";
-      xmlns:cpsskins=http://namespaces.zope.org/cpsskins";>
+      xmlns="http://www.w3.org/1999/xhtml";>
 <head>
   <title>CPSSkins Unit test file</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to