[ 
https://issues.apache.org/jira/browse/XERCESJ-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold closed XERCESJ-102.
-----------------------------------------

> Parsing gets very slow with lots of entity references
> -----------------------------------------------------
>
>                 Key: XERCESJ-102
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-102
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: DOM (Level 3 Core)
>    Affects Versions: 2.0.0 [beta 4]
>         Environment: Operating System: All
> Platform: All
>            Reporter: Arno de Quaasteniet
>         Attachments: ASF.LICENSE.NOT.GRANTED--testcase.zip
>
>
> When a document contains a large number of enitiy references parsing the 
> document using the DOMParser gets very slow (as in unacceptable slow: 60 sec 
> for a 230kb doc on a PIII 800MHz). This is probably caused by the fact that 
> the 
> character data handler of the DOMParser does not use a stringbuffer to 
> collect 
> the value of a textnode, but instead adds strings together to concatenate 
> them.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to