Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-116

Streaming parser for OpenDocument files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2
    • parser
    • None

    Description

      The current OpenOfficeParser first reads the entire meta.xml and content.xml files from the given OpenDocument zip into memory, then parses the in-memory files to DOM trees, merges the trees, and finally evaluates a number of XPath expressions against the resulting DOM tree to extract metadata and document content. All this requires quite a bit of memory and multiple passes over the document.

      It would be better if the document could be streamed directly through zip and sax parsers without keeping a full copy of the document in memory or doing multiple passes over the document.

      Attachments

        1. TIKA-116.patch
          72 kB
          Jukka Zitting

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: