W3C home > Mailing lists > Public > public-qa-dev@w3.org > June 2010

Re: Validator timeout and XML-LibXML bug

From: Michael(tm) Smith <mike@w3.org>
Date: Fri, 18 Jun 2010 12:15:07 +0900
To: Ville Skytt¸«£ <ville.skytta@iki.fi>
Cc: ted@w3.org, public-qa-dev@w3.org, Dominique Hazael-Massieux <dom@w3.org>, jean-gui@w3.org, tgambet@w3.org
Message-ID: <20100618031504.GA62026@sideshowbarker>
Ville Skytt¸«£ <ville.skytta@iki.fi>, 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?

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike
Received on Friday, 18 June 2010 03:15:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:51 GMT