summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-04-12 12:04:16 +0000
committerot <ot@localhost>2007-04-12 12:04:16 +0000
commit5212479e4131ef114deeda17bc3c9ce4a9e2fa43 (patch)
treeffff18605ec944aaef2c1e72cfff84989a2d63a3
parentb8697cb850614093b5e38cd861e6d5ebd63a6f0f (diff)
downloadmarkup-validator-5212479e4131ef114deeda17bc3c9ce4a9e2fa43.zip
markup-validator-5212479e4131ef114deeda17bc3c9ce4a9e2fa43.tar.gz
markup-validator-5212479e4131ef114deeda17bc3c9ce4a9e2fa43.tar.bz2
making prefilling of document structure on the server-side rather than via scripting.
See: http://lists.w3.org/Archives/Public/www-validator/2007Mar/0078.html +thread and: http://lists.w3.org/Archives/Public/www-validator/2007Apr/0049.html +thread
-rw-r--r--share/templates/en_US/prefill_html401.tmpl16
-rw-r--r--share/templates/en_US/prefill_xhtml10.tmpl17
2 files changed, 33 insertions, 0 deletions
diff --git a/share/templates/en_US/prefill_html401.tmpl b/share/templates/en_US/prefill_html401.tmpl
new file mode 100644
index 0000000..15ea790
--- /dev/null
+++ b/share/templates/en_US/prefill_html401.tmpl
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+ <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>
+ <meta http-equiv="content-type" content="text/html;charset=utf-8">
+ <meta http-equiv="Content-Style-Type" content="text/css">
+</head>
+<body>
+ <div>
+
+<TMPL_VAR NAME="fragment">
+
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/share/templates/en_US/prefill_xhtml10.tmpl b/share/templates/en_US/prefill_xhtml10.tmpl
new file mode 100644
index 0000000..22dec35
--- /dev/null
+++ b/share/templates/en_US/prefill_xhtml10.tmpl
@@ -0,0 +1,17 @@
+<?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">
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>
+ <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
+ <meta http-equiv="content-style-type" content="text/css" />
+ </head>
+ <body>
+ <div>
+
+<TMPL_VAR NAME="fragment">
+
+ </div>
+</body>
+ </html> \ No newline at end of file