[CMF-checkins] CVS: CMF/CMFCore/tests/base - content.py:1.4

Yvo Schubbe schubbe@web.de
Wed, 5 Feb 2003 12:51:30 -0500


Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv3960/CMFCore/tests/base

Modified Files:
	content.py 
Log Message:
Merged yuppie-collector041-branch:
- Changed behavior of bodyfinder and html_headcheck.
- Fixed header stripping in edit and PUT. (Collector #41)

=== CMF/CMFCore/tests/base/content.py 1.3 => 1.4 ===
--- CMF/CMFCore/tests/base/content.py:1.3	Fri Jun  7 18:41:22 2002
+++ CMF/CMFCore/tests/base/content.py	Wed Feb  5 12:50:57 2003
@@ -41,6 +41,26 @@
 </html>
 '''
 
+SIMPLE_XHTML = """\
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+    "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>Title in tag</title>
+  <meta name="description" content="Describe me" />
+  <meta name="contributors" content="foo@bar.com; baz@bam.net;
+    Benotz, Larry J (larry@benotz.stuff)" />
+  <meta name="title" content="Title in meta" />
+  <meta name="subject" content="content management" />
+ </head>
+ <body bgcolor="#ffffff">
+  <h1>Not a lot here</h1>
+ </body>
+</html>
+"""
+
 # A document with an html-qualifying *portion*.
 FAUX_HTML_LEADING_TEXT = '''\
 The following would look like HTML but for this leading text: