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

Improve detection of Graphviz *.dot format

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16
    • Component/s: detector, mime
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: