Package: wdg-html-validator
Version: 1.6.2-3
Severity: wishlist
File: /usr/bin/validate

Here offline, $http_proxy is ignored by the validate command:
$ validate http://www.raggle.org/|head
*** Errors validating http://www.raggle.org/: ***
Error at line 3, character 49:  error connecting to "www.w3.org" (Network
        is unreachable)
Error at line 3, character 49:  DTD did not contain element declaration for
        document type name

Wait, the man page says http_proxy is considered, but maybe not for
DTDs?

(I was intrigued by the 1.0/1.1 seeming paradox,
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>)

Also, there is no way to tell the vaidator to accept HTTP headers from
a pipe:
$ wwwoffle -O http://validator.w3.org/|validate
*** Errors: ***
Error at line 1, character 1:  character "H" not allowed in prolog

But then
$ validate http://validator.w3.org/|s
*** Errors validating http://validator.w3.org/: ***
Error at line 19, character 43:  there is no attribute "color" ...
at least in the July 1 2005 copy in my cache.

Odd,
$ man validate >&-
Reformatting validate(1), please wait...
`R' is a string (producing the registered sign), not a macro.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to