ChangeLog for WebLint 1.005 21-nov-94 neilb * Fixed bug whereby unknown tags were always given as , whether they were opening or closing tags. (reported by Larry Virden ) 20-nov-94 neilb * Giving the -R switch with no files/directories specified now defaults to `.', the current directory. (suggested by Barry Bakalor ) * Fixed bug whereby required attributes were being checked on closing tags as well as opening tags. (reported by Barry Bakalor ) * Fixed bugs in `bad-link' check for non-existent targets: - mailto: - news: - directories - absolute paths, eg cgi-scripts (HREF="/cgi-bin/foo") (reported by Barry Bakalor ) * Fixed typos in weblintrc. (reported by Barry Bakalor ) 1.004 19-nov-94 neilb * Added an Announce file to distribution, which contains verbose announcement for the current version, listing all new warnings and their identifiers. * First attempt at check for potentially unclosed elements --- checking for: < ... < ... > for example: Warning has identifier `unexpected-open'. This might not catch all cases at the moment, since I didn't want it to generate bogus warnings where < appears in an attribute value (eg ALT="<-"). * Changed the 'expected-attribute' identifier to 'required-attribute', and added a warning with identifier 'expected-attribute'. This is for elements which have no *required* attributes, but for which you expect to see at least one attribute, such as anchors. * Added a Makefile, with targets for install, preview, tar, clean, and a postscript version of the man page. (suggested by Richard Lloyd ) 18-nov-94 neilb * Added support for `proposed' items: REL and REV attributes of anchors, META, DFN, STRIKE, and U. (noted by Robert Schmunk ) 17-nov-94 neilb * Added a check for relative local links, to generate a warning if the target does not exist. Warning identifier: bad-link * Added -d and -e switches to enable and disable warnings. The argument can be one or more warning identifiers, with multiple identifiers separated with commas. For example: weblint -e upper-case foo.html A pseudo identifier `mixed-case' is now supported: weblint -e mixed-case foo.html Turns off upper-case and lower-case checking. * Warning added for heading which is more than one level deeper than the most recent heading. I.e.

followed by

results in warning, with identifier 'heading-order'. (suggested by Bill Arnett ) 16-nov-94 neilb * Changed the extension switch from -e to -x, so that -e and -d can be used for enable/disable warning(s). 15-nov-94 neilb * Added a check for an odd number of quotes in an element, so the following now generates a warning: ". * The usage statement is now printed if weblint is invoked without any command-line arguments. * Fixed bug whereby alt text would generate a warning that element had no ALT text. * Added a check for legal attributes. So the following generates a warning: Unknown attribute "HROF" for element . with warning identifier of 'unknown-attribute'. * Messages are now written to STDOUT rather than STDERR. 1.002 2-nov-94 neilb * Now correctly (or more correctly at least) recognizes SGML comments, and doesn't get confused by markup embedded in comments. Added a new warning for markup embedded in a comment, since this confuses some browsers. The warning, with identifier 'markup-in-comment', is enabled by default. * Modified the checks on element closing tags , performed for , and -- the following used to generate a bogus warning that no was seen: sample
  • unclosed italic
* Slight re-arrangement of man page sections, to follow traditional UNIX conventions (reported by Joerg Heitkoetter ) * No longer complains if you have more than one ADDRESS element on a page. 1-nov-94 neilb * added a -R switch, which is used to recurse down directories, checking any files found with a file extension of .html or .htm; for example: weblint -R . Weblint now depends on find.pl from the standard perl library. (suggested by Thomas Leavitt ) * changed logic of the check for elements which can and can't appear in the HEAD element. Weblint previously complained that ISINDEX could only appear in the HEAD, which was not true (reported by Victor Parada ) 29-oct-94 neilb * attributes were not being seen in multi-line tags if they appeared after the first newline. Eg: alt text>
	generated a warning that the IMG had no ALT text.
	(reported by Barry Bakalor <barry@hal.com>)
    *	Now handles whitespace around the = of tag attributes.
	The following used to generate a warning:
		<IMG SRC = and complaining that the IMG had no ALT text. (reported by Richard Lloyd ) * If you give `-' as a filename, weblint will read from standard input. Warnings will be given for `stdin'. (suggested by Ryan Waldron ) 1.001 24-oct-94 neilb * Added a man page (initial man page supplied by Juergen Schoenwaelder ) * Added a check for FORM elements: - INPUT, SELECT, and TEXTAREA must appear in a FORM. - OPTION must be within a SELECT element. * Added code which checks for overlapped elements. E.g.: This now results in one warning rather than six :-) Multiply overlapped elements (more than two) don't always generated the `correct' number of warnings, but you should get at least one :-) * Improved check for unclosed elements. Following example now generates one warning, instead of the multitude generated by weblint 1.0: ... unclosed bold element 23-oct-94 neilb * fixed the whine generated if you have a at the start of your page. * added support for a configuration file. WEBLINTRC, or $HOME/.weblintrc. Changed the whine() function to use warning identifiers. Defined whines, with identifiers, and default enabling are stored beyond the end of the script. Can enable or disable warnings in your .weblintrc. * added check for illegally nested elements (eg anchors). * additional check for items which should not appear in HEAD. * check that
and
appear in a definition list (DL). * added COMMENT to list of obsolete elements. * added check for elements which must be in a FORM element. * added check for , which is not enabled by default. 21-oct-94 neilb * added check for LI, that it appears within DIR, MENU, OL or UL elements * Fixed bug whereby weblint wasn't seeing tags with embedded newlines. Eg: 20-oct-94 neilb * fixed bug in the code which keeps track of currently `open' elements. It was getting confused on line numbers. (reported by Barry Bakalor ) * checks at end of file for unclosed elements were giving message: tag <...> has no matching . rather than correct closing tag. (reported by Barry Bakalor ) 1.000 First version made publically available.

... ...