- From: J David Eisenberg <catcode@catcode.com>
- Date: Thu, 5 Jul 2007 15:20:43 -0500 (CDT)
- To: www-validator@w3.org
I set up the validator on my local machine, and it was hanging for minutes
at a time while trying to parse XHTML. I suspect it has something to do
with the issue described at http://www.perlmonks.org/?node_id=161028
I made the following change near line 615 of file "check" to use local
copies of the DTD when parsing XHTML. Would this be a reasonable thing to
add to the production version of the validator?
#===================
if (&is_xml($File)) {
require XML::LibXML;
my $catalog = File::Spec->catfile($CFG->{Paths}->{SGML}->{Library},
'xml.soc'); ## added
my $xmlparser = XML::LibXML->new( catalog => $catalog); ## modified
#====================
--
J. David Eisenberg http://catcode.com/
Received on Thursday, 5 July 2007 20:20:58 UTC