You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:28:06 UTC

[jira] Updated: (XERCERJ-495) Processing large CDATA is extemely slow ...

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:26 PM
    Changes:
             Attachment changed from Bug13776.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-495?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-495

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-495
    Summary: Processing large CDATA is extemely slow ...
       Type: Bug

     Status: Resolved
 Resolution: CANNOT REPRODUCE

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Raffa Edwards

    Created: Fri, 18 Oct 2002 10:46 PM
    Updated: Mon, 12 Apr 2004 2:26 PM
Environment: Operating System: Windows XP
Platform: PC

Description:
In Xerces 2.1.0 the contents of CDATA was return to the "character" processing 
method a single line at a time.  In Xerces 2.2.0 the entire contents of CDATA 
is passed to the "character" processing method in one call.  The problem occurs 
if CDATA contains a large amount of data (approximately 1mb).  Processing the 
mb of data in 2.1.0 takes less than a couple of seconds, but it takes version 
2.2.0 over seven minutes to return the array of characters to the "character" 
processing method.  The CPU is very busy during the entire process.
[A test case can be provided.]
[The problem also occurs on Win2K.]


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org