DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13776>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13776

Processing large CDATA is extemely slow ...

           Summary: Processing large CDATA is extemely slow ...
           Product: Xerces2-J
           Version: 2.2.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to