On 2012-12-04 15:19:26, CHORNY wrote:
Show quoted text> Strawberry perl 5.8.9, 5.14.0, 5.16.1
>
> D:\06\XML-LibXML-2.0013>perl -Mblib t/40reader_mem_error.t
> 1..2
> Terminating on signal SIGINT(2)
>
It does not hang, but is very, very slow, and may take up to an hour to
complete. Reason is that currently w3.org is very slow, and this test is
implicitly downloading the xhtml DTD from w3.org. Unfortunately this is
a modular DTD with many includes...
$ time lwp-request
http://w3.org/TR/xhtml11/DTD/xhtml11.dtd > /dev/null
0.136u 0.014s 0:29.77 0.4% 6+5268k 3+0io 0pf+0w
(That is, half a minute just for first file...)
My suggestion is to use a test case without an externally loaded DTD, or
provide all necessary DTDs locally and setup a catalog (the latter is
what we do at $company, we were bitten too many times by slow DTD
providers).
Regards,
Slaven