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

Back off to tagsoup when xml parser fails on Tika xhtml in tika-eval

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.21
    • Component/s: None
    • Labels:
      None

      Description

      On TIKA-2791, we added extraction of structure tags. If there's a parse failure on Tika's xhtml, we initially backed off to treat the full xhtml as if it were a string of text that happened to include markup.

      It would be better to back off to the html parser so that content comparisons can still work accurately even if there is a tag failure: <b><i></b></i>

        Attachments

          Activity

            People

            • Assignee:
              tallison@apache.org Tim Allison
              Reporter:
              tallison@apache.org Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: