Re: XML::LibXML hangs on document w/ DTD

Vaclav Barta <[email protected]> Wed, 16 Nov 2011 19:01:53 +0100
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
On Tuesday 15 November 2011 20:08:35 Michael Ludwig wrote:
> Vaclav Barta schrieb am 15.11.2011 um 19:33 (+0100):
> > in response to a user bug report, I tried testing my module
> > (XML::DifferenceMarkup) again and found that its testsuite hangs on my
> > machine :-( - which isn't necessarily anybody else's problem, :-) but
> > I've isolated it to a test case that isn't using XML::DifferenceMarkup
> 
> > at all:
> Well done! It hangs on everybody's machine, that's the W3C's way of
> telling people not to download the DTD from their servers but use a
> local copy instead.
I see.

> Try load_html, works for me (but see below):
Well, I don't really want to treat HTML specially - it's a XML testcase...
 
> > prints "parsed a" but hangs when parsing b... It could still be a
> > problem with my local configuration (although AFAIK I didn't do
> > anything special to resolve DTDs)
> The doc for XML::LibXML::Parser says it'll do so by default.
> Check the load_ext_dtd option.
Yes, that works - thanks!
 
> http://search.cpan.org/dist/XML-LibXML/
> 
> The fact that load_xml does not seem to honour the load_ext_dtd option
> looks like a bug me. But I might be wrong.
For me, it does...
 
	Bye
		Vasek
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs