Re: mod_perl and entities

On 03/15/2011 11:07 PM, Ville Skyttä wrote:
> On 03/15/2011 12:02 AM, Nicholas Bamber wrote:
>> I have found that if mod_perl is enabled then the markup validator is 
>> unable to process entities.
> 
> Looks like validator's XML::LibXML catalog setup doesn't work properly
> under mod_perl.  So it ends up retrieving online DTDs, and www.w3.org
> appears to have issues or configuration that makes requests to them
> timeout/fail quite a bit at least for me, which causes all kinds of
> breakage.  I'll look into it.

I finally found a way to get this to work:
http://dvcs.w3.org/hg/markup-validator/diff/14e6605f488e/httpd/conf/httpd.conf
http://dvcs.w3.org/hg/markup-validator/diff/14e6605f488e/httpd/mod_perl/startup.pl

Received on Monday, 28 November 2011 21:00:34 UTC