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