[Checkins] SVN: z3c.form/trunk/src/z3c/form/ Adding document type (required for z3c.pt to render xmlns namespace). These changes only affect the test suite.

Malthe Borch mborch at gmail.com
Sat Sep 13 15:56:22 EDT 2008


Log message for revision 91127:
  Adding document type (required for z3c.pt to render xmlns namespace). These changes only affect the test suite.

Changed:
  U   z3c.form/trunk/src/z3c/form/form.txt
  U   z3c.form/trunk/src/z3c/form/group.txt
  U   z3c.form/trunk/src/z3c/form/subform.txt
  U   z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt
  U   z3c.form/trunk/src/z3c/form/tests/simple_display.pt
  U   z3c.form/trunk/src/z3c/form/tests/simple_edit.pt
  U   z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt

-=-
Modified: z3c.form/trunk/src/z3c/form/form.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/form.txt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/form.txt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -476,6 +476,7 @@
 and see how the form looks like:
 
   >>> print addForm.render() # doctest: +NOPARSE_MARKUP
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
     <body>
       <i>There were some errors.</i>
@@ -588,6 +589,7 @@
 Now the factory will be used to provide a template:
 
   >>> print addForm.render() # doctest: +NOPARSE_MARKUP
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
   ...
   </html>
@@ -597,6 +599,7 @@
 methods:
 
   >>> print addForm() # doctest: +NOPARSE_MARKUP
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
   ...
   </html>

Modified: z3c.form/trunk/src/z3c/form/group.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/group.txt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/group.txt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -106,6 +106,7 @@
 We can now render the form:
 
   >>> print add.render()
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
     <body>
       <form action=".">

Modified: z3c.form/trunk/src/z3c/form/subform.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/subform.txt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/subform.txt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -466,6 +466,7 @@
   u'MA-991723FDG'
 
   >>> print carForm.render() # doctest: +NOPARSE_MARKUP
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">       
       ...
       <fieldset>
@@ -495,6 +496,7 @@
   >>> carForm = CarForm(mycar, request)
   >>> carForm.update()
   >>> print carForm.render() # doctest: +NOPARSE_MARKUP
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
     ...
       <fieldset>

Modified: z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/tests/simple_caredit.pt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:tal="http://xml.zope.org/namespaces/tal">       
   <body>

Modified: z3c.form/trunk/src/z3c/form/tests/simple_display.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_display.pt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/tests/simple_display.pt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:tal="http://xml.zope.org/namespaces/tal">       
   <body>

Modified: z3c.form/trunk/src/z3c/form/tests/simple_edit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_edit.pt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/tests/simple_edit.pt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:tal="http://xml.zope.org/namespaces/tal">       
   <body>

Modified: z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt	2008-09-13 19:51:15 UTC (rev 91126)
+++ z3c.form/trunk/src/z3c/form/tests/simple_groupedit.pt	2008-09-13 19:56:22 UTC (rev 91127)
@@ -1,3 +1,4 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:metal="http://xml.zope.org/namespaces/metal"
       xmlns:tal="http://xml.zope.org/namespaces/tal">       



More information about the Checkins mailing list