Add built in validation, using local catalogs! Catalogs also removes our HTML Purifie...
[xhtml-compiler.git] / smoketests / index.xhtml
blob1f9907798a983f8e3eaa1bfd2200e54fa32e24ee
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>index.html</title>
6 <style type="text/css">
7 .index {font-style:italic;}
8 .dir {font-weight:bold;}
9 .disabled a {color:#777;}
10 .filelist {font-family:monospace;}
11 </style>
12 </head>
13 <body>
14 <h1>index.html</h1>
15 <p>This is the index file for smoketest files. This root directory is
16 explicitly allowed and does not allow recursion.</p>
18 <h2>Procedures</h2>
19 <ol>
20 <li>Delete index.html, load page in browser. Expect: Fully formed page</li>
21 <li>Run `php update.php clean`. Expect: All html pages gone</li>
22 <li>Run `php update.php normal`. Expect: No updates</li>
23 <li>Run `php update.php all`. Expect: All html pages generated</li>
24 <li>Touch index.xhtml source file, run `php update.php normal`. Expect: index.html updated</li>
25 <li>Run `php update.php clean`, then visit each active page. Expect: all pages fully formed</li>
26 </ol>
28 <h2>Files</h2>
29 <!-- this needs to be reimplemented using XHTML Compiler functionality -->
30 <ul class="filelist">
31 <li><a href="(special)/" class="dir">(special)/</a><ul>
32 <li><a href="(special)/index.html" class="index">index.html</a> (<a href="(special)/index.xhtml">src</a>)</li>
33 </ul></li>
34 <li class="disabled"><a href="private/" class="dir">private/</a><ul>
35 <li><a href="private/index.html" class="index">index.html</a> (<a href="private/index.xhtml">src</a>)</li>
36 </ul></li>
37 <li><a href="recursive/" class="dir">recursive/</a><ul>
38 <li><a href="recursive/subdir/" class="dir">subdir/</a><ul>
39 <li><a href="recursive/subdir/index.html" class="index">index.html</a> (<a href="recursive/subdir/index.xhtml">src</a>)</li>
40 </ul></li>
41 <li><a href="recursive/index.html" class="index">index.html</a> (<a href="recursive/index.xhtml">src</a>)</li>
42 </ul></li>
43 </ul>
46 </body>
47 </html>