Debian Bug report logs - #353220
opensp: please add support for http proxy

Package: opensp; Maintainer for opensp is Neil Roeth <neil@debian.org>; Source for opensp is src:opensp.

Reported by: Dan Jacobson <jidanni@jidanni.org>

Date: Thu, 16 Feb 2006 22:03:06 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, liam@htmlhelp.com, pabs@pablotron.org, Aurelien Jarno <aurel32@debian.org>:
Bug#353220; Package wdg-html-validator. Full text and rfc822 format available.

Acknowledgement sent to Dan Jacobson <jidanni@jidanni.org>:
New Bug report received and forwarded. Copy sent to liam@htmlhelp.com, pabs@pablotron.org, Aurelien Jarno <aurel32@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Dan Jacobson <jidanni@jidanni.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: validate: use $http_proxy
Date: Fri, 17 Feb 2006 03:16:49 +0800
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.



Information forwarded to debian-bugs-dist@lists.debian.org, Aurelien Jarno <aurel32@debian.org>:
Bug#353220; Package wdg-html-validator. Full text and rfc822 format available.

Acknowledgement sent to Liam Quinn <liam@htmlhelp.com>:
Extra info received and forwarded to list. Copy sent to Aurelien Jarno <aurel32@debian.org>. Full text and rfc822 format available.

Message #10 received at 353220@bugs.debian.org (full text, mbox):

From: Liam Quinn <liam@htmlhelp.com>
To: Dan Jacobson <jidanni@jidanni.org>, <353220@bugs.debian.org>
Subject: Re: Bug#353220: validate: use $http_proxy
Date: Thu, 16 Feb 2006 21:56:48 -0500 (EST)
On Fri, 17 Feb 2006, Dan Jacobson wrote:

> 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?

Right.  The DTD fetching is done by the underlying SGML parser rather than
the "validate" script.  The SGML parser currently does not support use of
an HTTP proxy.

-- 
Liam Quinn




Information forwarded to debian-bugs-dist@lists.debian.org, Aurelien Jarno <aurel32@debian.org>:
Bug#353220; Package wdg-html-validator. Full text and rfc822 format available.

Acknowledgement sent to Aurelien Jarno <aurelien@aurel32.net>:
Extra info received and forwarded to list. Copy sent to Aurelien Jarno <aurel32@debian.org>. Full text and rfc822 format available.

Message #15 received at 353220@bugs.debian.org (full text, mbox):

From: Aurelien Jarno <aurelien@aurel32.net>
To: Dan Jacobson <jidanni@jidanni.org>, 353220@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#353220: validate: use $http_proxy
Date: Wed, 03 May 2006 17:11:34 +0200
reassign 353220 opensp
retitle 353220 opensp: please add support for http proxy
thanks

Dan Jacobson a écrit :
> 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?

http_proxy is considered, but the DTD is fetched (if needed) by the SGML 
validator itself (ie onsgmls), which does not support HTTP proxies.

Anyway it is not a problem for most pages, as a local copy of the DTD is 
 used for all the W3C standards. In your case, the page is using a non 
W3C standard ("XHTML 1.1 Strict"), that's why the SGML validator tries 
to fetch the DTD given in HTML source.

I am therefore reassigning the bug to opensp (the package which provides 
onsgmls).

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Bug reassigned from package `wdg-html-validator' to `opensp'. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. Full text and rfc822 format available.

Changed Bug title. Request was from Aurelien Jarno <aurelien@aurel32.net> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 06:59:57 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.