<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9899</bug_id>
          
          <creation_ts>2010-06-10 09:41:55 +0000</creation_ts>
          <short_desc>validator takes a lot of CPU/time (and timeout in on-line interface) on some pages</short_desc>
          <delta_ts>2011-08-19 08:51:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.8.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>renata_mattiello</cc>
    
    <cc>ville.skytta</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36077</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2010-06-10 09:41:55 +0000</bug_when>
    <thetext>On some pages (some examples pointed from http://lists.w3.org/Archives/Public/www-validator/2010Jun/0013.html), the Validator takes a lot of CPU for a very long time (and usually times out in the on-line version).

The problem seems to be linked to the latest version (1.70) of XML::libXML ; a ticket was reported back in April 2010:
https://rt.cpan.org/Public/Bug/Display.html?id=56671

Villes analysis of the problem has more details and ideas:
http://lists.w3.org/Archives/Public/public-qa-dev/2010Jun/0002.html

Doesn&apos;t seem like there is any easy way around that problem, thgouh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36097</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2010-06-10 22:24:52 +0000</bug_when>
    <thetext>Candidate fix in CVS:
http://dev.w3.org/cvsweb/validator/httpd/cgi-bin/check.diff?r1=1.776&amp;r2=1.777</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55471</commentid>
    <comment_count>2</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2011-08-19 08:51:15 +0000</bug_when>
    <thetext>The mentioned fix as well as http://dvcs.w3.org/hg/markup-validator/rev/d32ff17ac5c8 have been in production since release 1.1 and have as far as I can tell worked around the problem satisfactorily so I&apos;ll mark this as resolved.

Further, XML::LibXML development has been resuscitated recently and the root cause is supposedly fixed in &gt;= 1.77.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>