Debian Codegraph @

test/TestComment.html

raw
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN">
2 <html>
3 <head>
4 <title>HTML Comment Parser Test</title>
5 <link rel="author" href="mailto:[email protected]">
6 <base href="http://nyx10.cs.du.edu:8001/~pgilmart/TestComment.html">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 </head>
9
10 <body>
11 <P> Test of the HTML/SGML comment syntax, as given in the W3 HTML Spec:
12 <a
13 href="http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_3.html#SEC15">
14 Comments</a>
15
16 <P>See especially, the footnote:
17 <a
18 href="http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_foot.html#FOOT10"
19 >(10)</a>
20
21 <P>
22 Co-vary the LYK_MINIMAL and LYK_HISTORICAL command key toggles (use the
23 'k'eymap command to see their key bindings) to establish Valid, Minimal
24 or Historical comment parsing, and toggle trace mode on (Ctrl-T), to see
25 how comment parsing is affected.
26
27 <P>Case 01 through Case 14 should appear
28 as short separate paragraphs with the case numbers aligned vertically.
29 Some noise characters may appear to the right as a byproduct of code present
30 for error recovery, but there should be no noise before each case number.
31
32 <P> Case <!-- trivial --> | 01 | Trivial
33 <P> Case <!-- extra hyphens and spaces -- -- -- > | 02 | Hyphens and Spaces
34 <P> Case <!-- extra < < < --> | 03 | Extra LT --> --> -->
35 <P> Case <!-- balanced < < < > > > --> | 04 | Balanced
36 <P> Case <!-- extra > -- --> > still in comment --> | 05 | Extra GT
37 <P> Case <!-- stuff between -- and > -- still in comment --> | 06 | Stuff Inside
38 <P> Case <!-- Extra <!-- -- Second Comment --> | 07 | Extra Open --> -->
39 <P> Case <!-- New Line between --
40 -- Second Comment --
41 > | 08 | New line
42 <P> Case <!---> degenerate --> | 09 | Degenerate <P> Case <!----> | 10 | Empty
43 <P> Case <!-- perverse <!--> | 11 | Perverse --> --> -->
44 <P> Case <!-- Comment -- -- and a half > this is still in comment -- > | 12 | Multiple Comments --> --> -->
45 <P> Case <!> | 13 | Zero Comments
46 <P> Case <!-- < >
47 < > Still in comment --> | 14 | Last
48
49 <P>&lt;<STRONG>Tests completed!</STRONG>&gt;
50 </body>
51 </html>