tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TIKA-102) Parser implementations loading a large amount of content into a single String could be problematic
Date Sun, 25 Nov 2007 22:52:43 GMT

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

Jukka Zitting resolved TIKA-102.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1-incubator
         Assignee: Jukka Zitting

Patch (v2) committed in revision 598075. Thanks!

> Parser implementations loading a large amount of content into a single String could be
problematic
> --------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-102
>                 URL: https://issues.apache.org/jira/browse/TIKA-102
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Niall Pemberton
>            Assignee: Jukka Zitting
>             Fix For: 0.1-incubator
>
>         Attachments: TIKA-102-appendable-v1.patch, TIKA-102-appendable-v2.patch
>
>
> A Number of the parser implementations create one large String of the content and then
pass it to the ContentHandler. Would be better to just write to the ContentHandler its parsed.
Attaching a patch which changes the parsing to write to an "Appendable" (which java.io.Writer
implements since JDK 1.5) and changes to XMLContentHandler to also implement Appendable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message