#725955 xsltproc (libxslt?) HTTP requests lack User-Agent: that http://www.w3.org/ requires

Package:
xsltproc
Source:
libxslt
Description:
XSLT 1.0 command line processor
Submitter:
Ivan Shmakov
Date:
2014-10-04 11:00:10 UTC
Severity:
normal
#725955#5
Date:
2013-10-10 10:10:26 UTC
From:
To:
	As per strace(1), xsltproc(1) (and perhaps the underlying
	libxslt library itself) uses HTTP/1.0, while http://www.w3.org/
	seems to require an User-Agent: HTTP/1.1 request header.

10:04:44 sendto(5, "GET /TR/xhtml1/DTD/xhtml1-strict.dtd HTTP/1.0\r\nHost: www.w3.org\r\nAccept-Encoding: gzip\r\n\r\n", 90, 0, NULL, 0) = 90

	The end result is that an attempt to load a DTD from W3 (such
	as: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) fails:

10:04:59 recvfrom(5, "HTTP/1.0 500 Server Error\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>500 Server Err"..., 4096, 0, NULL, NULL) = 185

#725955#10
Date:
2014-10-04 10:57:56 UTC
From:
To:
libxslt uses nanohttp from libxml2 to make HTTP requests, so the package should be changed to lixml2.

Nick