Bunch of validator patches

Hello people,

I sent this message already on saturday but seems one has to be subscribed
to the list before sending, so here it goes again:

I've been hacking around with the current validator source from CVS and
made some patches (attached). The patches are independent of each other
unless otherwise said, here's some notes about them:

validator-protocol.patch:
- added support for all schemes supported by LWP
  (except 'file' for security reasons)
- tweaked unsupported scheme message
- removed URI::Escape (unused)
- avoid namespace pollution by adding ()'s to use's
- whitespace cleanups

validator-server.patch:
- use host name from environment instead of hardcoded

validator-paths.patch:
- added more portability to path names using File::Spec
  ($base_path stuff still not portable)
- use POSIX::tmpnam() for temp file names

validator-charset.patch:
- added "8859_1" to list of should-be-replaced charsets
  (example: http://www.jboss.org/)

validator-xhtml.patch (requires validator-protocol.patch):
- XHTML validity and coding style consistency fixes
  (the "default" values for CGI's popup_menu up to 2.78 are broken; like
  selected="1", I've sent a patch for this to the author)
- added "for" attributes to labels so they work in Mozilla
- cleanup of unused DOCTYPEs
- added Content-Language header
- use locally installed validity icons
- cleanup + XHTML output to failed basic authentication message

validator-checklink.patch (checklink.pl only):
- XHTML 1.0 Strict
- avoid namespace pollution by adding ()'s to use's
- removed HTTP::Status (unused)
- whitespace cleanups

validator-style.patch:
- added monospace to pre, code and tt elements for nicer output
- XHTML validity fixes and nicer output to some static files

validator-warnings.patch:
- added some warnings when closing filehandles fail
- nuked some warnings reported by perl -w


-- 
Ville Skyttä
Popsystems Ltd
ville.skytta@popsystems.com
http://www.popsystems.com/

Received on Monday, 8 October 2001 02:24:12 UTC