<?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>142</bug_id>
          
          <creation_ts>2003-02-21 09:47:59 +0000</creation_ts>
          <short_desc>Limit accepted size of documents</short_desc>
          <delta_ts>2007-05-24 04:57:27 +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.6.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/2000/CR-DOM-Level-2-20000307/DOM2.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Terje Bless">link</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <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>357</commentid>
    <comment_count>0</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-02-21 09:47:59 +0000</bug_when>
    <thetext>Validating the DOM Level2 CR apparently buggars up some component of the
Validator during processing, resulting in an &quot;Internal Server Error&quot; returned to
the browser. cf. original report from Karl Dubost
&lt;http://lists.w3.org/Archives/Public/www-validator/2002Dec/0140.html&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>384</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-03-01 14:02:22 +0000</bug_when>
    <thetext>Hmmm. It looks like for DOM2.html we grow our resident size by a factor of 100:1
due to the huge ESIS generated and inefficient handling. Either we need more RAM
on v.w3.org or we need to implement mmap() when the ESIS exceedes some
(configurable?) limit.

First step is to profile to see why a 12.5MB ESIS grows to over a 100MB resident
size. :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-03-01 14:45:05 +0000</bug_when>
    <thetext>Retarget 0.7.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203</commentid>
    <comment_count>3</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 13:09:42 +0000</bug_when>
    <thetext>Retarget to &quot;1.0&quot;; this wants S:P:O to implement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5434</commentid>
    <comment_count>4</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-08-18 03:27:06 +0000</bug_when>
    <thetext>We no longer have ESIS in HEAD but once (if) we do DOM-based stuff we might 
have similar problems. Perhaps we should just enforce a maximum file size like 
3MB and refuse to further process anything larger?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15176</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-05-24 04:57:27 +0000</bug_when>
    <thetext>FWIW, the now-under-SPO version of the validator processes this (humongous) document, slowly, but surely.

I am therefore changing the summary of this bug from:
Internal Server Error on Large Document
to
Limit accepted size of documents,
since I quite agree with Bjoern that we may want to play safe.

s/blocker/enhancement/, too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>