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

Improve detection of Graphviz *.dot format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16
    • detector, mime
    • None

    Description

      Detection of Graphviz document formats could be improved by adding

      • either *.dot as glob pattern (conflicts with the more frequent MSWord templates)
      • a magic pattern which catches the .dot language grammar, eg. ^\s*(?:strict\s+)?(?:di)?graph\b

      Seen with Common Crawl data (see also discussions on user@tika and dev@poi): web server sends "text/vnd.graphviz" (often wrong) and Tika detects "application/msword" (sometimes wrong), see WARC file).

      Attachments

        Activity

          People

            Unassigned Unassigned
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: