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

<title> and <meta name="title"> metadata collision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.14
    • None
    • parser

    Description

      In several different corpuses I've found HTML files which look like the following:

       <html>
        <head>
         <title>Some title</title>
         <meta name="title" content="some other title">
        </head>
         ...
      </html>
      

      This causes the "title" property in the metadata to have two values set, when one would expect that this field is not multivalued.

      Perhaps some fields from <meta> tags, like this one, should be namespaced.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcaruanagalizia Matthew Caruana Galizia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: