Re: Validator timeout and XML-LibXML bug

Ville Skytt¸«£ <>, 2010-06-14 09:34 +0300:

> Thanks, but please note that this fix is not a silver bullet: it just works 
> around one (common, I hope) instance of the problem; XML::LibXML's slowness 
> when it has lots of errors to report hasn't gone anywhere.  And I think the 
> only things that could be done about that is get XML::LibXML fixed, disable 
> XML wellformedness checks in the validator, or switch to another XML parser.

As I mentioned it my other message, I think changing the validator
to not run XML wf-ness checks on text/html pages by default might
help greatly with this problem.

But I also want to ask: When XML::LibXML is used for wf-ness
checking, is it currently reading the contents of each page into a
DOM? If so, is there a way to have it run in SAX/streaming mode
instead? And if so, can we having to just fail at the first
well-formedness error?


Michael(tm) Smith

Received on Friday, 18 June 2010 03:15:17 UTC