<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN"> <html> <head> <title>HTML Comment Parser Test</title> <link rev="made" href="mailto:pg@sweng.stortek.com"> <base href="http://nyx10.cs.du.edu:8001/~pgilmart/TestComment.html"> </head> <body> <P> Test of the HTML/SGML comment syntax, as given in the W3 HTML Spec: <a href="http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_3.html#SEC15"> Comments</a> <P>See especially, the footnote: <a href="http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_foot.html#FOOT10" >(10)</a> <P> Co-vary the LYK_MINIMAL and LYK_HISTORICAL command key toggles (use the 'k'eymap command to see their key bindings) to establish Valid, Minimal or Historical comment parsing, and toggle trace mode on (Ctrl-T), to see how comment parsing is affected. <P>Case 01 through Case 14 should appear as short separate paragraphs with the case numbers aligned vertically. Some noise characters may appear to the right as a byproduct of code present for error recovery, but there should be no noise before each case number. <P> Case <!-- trivial --> | 01 | Trivial <P> Case <!-- extra hyphens and spaces -- -- -- > | 02 | Hyphens and Spaces <P> Case <!-- extra < < < --> | 03 | Extra LT --> --> --> <P> Case <!-- balanced < < < > > > --> | 04 | Balanced <P> Case <!-- extra > -- --> > still in comment --> | 05 | Extra GT <P> Case <!-- stuff between -- and > -- still in comment --> | 06 | Stuff Inside <P> Case <!-- Extra <!-- -- Second Comment --> | 07 | Extra Open --> --> <P> Case <!-- New Line between -- -- Second Comment -- > | 08 | New line <P> Case <!---> degenerate --> | 09 | Degenerate <P> Case <!----> | 10 | Empty <P> Case <!-- perverse <!--> | 11 | Perverse --> --> --> <P> Case <!-- Comment -- -- and a half > this is still in comment -- > | 12 | Multiple Comments --> --> --> <P> Case <!> | 13 | Zero Comments <P> Case <!-- < > < > Still in comment --> | 14 | Last <P><<STRONG>Tests completed!</STRONG>> </body> </html>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ALT88592.html | File | 14.74 KB | 0644 |
|
ISO_LATIN1_test.html | File | 3.53 KB | 0644 |
|
README.txt | File | 377 B | 0644 |
|
TestComment.html | File | 1.98 KB | 0644 |
|
bad-html.html | File | 1.09 KB | 0644 |
|
c1.html | File | 3.79 KB | 0644 |
|
cp-1252.html | File | 13.24 KB | 0644 |
|
cp-1252a.html | File | 13.56 KB | 0644 |
|
iso-8859-1.html | File | 14.62 KB | 0644 |
|
iso-8859-1a.html | File | 16.67 KB | 0644 |
|
iso-8859-2.html | File | 12.74 KB | 0644 |
|
iso-8859-2a.html | File | 14.78 KB | 0644 |
|
koi8-r.html | File | 15.3 KB | 0644 |
|
quickbrown.html | File | 3.77 KB | 0644 |
|
raw8bit.html | File | 1.17 KB | 0644 |
|
sgml.html | File | 60.76 KB | 0644 |
|
spaces.html | File | 2.54 KB | 0644 |
|
special_urls.html | File | 875 B | 0644 |
|
tabtest.html | File | 1.38 KB | 0644 |
|
tags.html | File | 5.12 KB | 0644 |
|
test-styles.html | File | 2.83 KB | 0644 |
|
unicode.html | File | 42.98 KB | 0644 |
|
utf-8-demo.html | File | 30.84 KB | 0644 |
|