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

Error parsing HTML partial with AutoDetect parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • parser

    Description

      I get the following error parsing a html file containing a partial HTML document.

      TIKA-237: Illegal SAXException from org.apache.tika.parser.xml.DcXMLParser@3a43af

      The following conditions need to exist in the file for the error to be thrown:

      + A HTML comment before any HTML tags
      + More than one top level HTML tag

      I will attach a test file to reproduce

      Attachments

        1. test.html
          0.1 kB
          Brett S.

        Activity

          People

            jukkaz Jukka Zitting
            webflint Brett S.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: