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

Re: Validator timeout and XML-LibXML bug

From: Ville Skytt¸«£ <ville.skytta@iki.fi>
Date: Sat, 19 Jun 2010 00:34:55 +0300
To: public-qa-dev@w3.org
Cc: "Michael(tm) Smith" <mike@w3.org>, ted@w3.org, "Dominique Hazael-Massieux" <dom@w3.org>, jean-gui@w3.org, tgambet@w3.org
Message-Id: <201006190034.55554.ville.skytta@iki.fi>
On Friday 18 June 2010, Michael(tm) Smith wrote:

> 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?

Looking at the XML::LibXML docs, DOM is the mode currently in use, and as I 
noted in a previous related mail, with that interface we can't get to the 
actual first error without traversing the whole (first, possibly long) error 
chain using its $err->_prev().

See the other mail I just sent about considerations about stopping at the 
first error.  Anyway I'll do some testing with streaming mode along with the 
other things I mentioned.
Received on Friday, 18 June 2010 21:35:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:57 UTC