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

Html elements and attributes not available in XHTML representation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: parser
    • Labels:
      None

      Description

      The following HTML document :

      <html lang="fi"><head>document 1 title</head><body>jotain suomeksi</body></html>

      is rendered as the following xhtml by Tika :

      <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"><head><title/></head><body>document 1 titlejotain suomeksi</body></html>

      with the lang attribute getting lost. The lang is not stored in the metadata either.

        Attachments

        1. TIKA-379-3.patch
          9 kB
          Julien Nioche
        2. ASF.LICENSE.NOT.GRANTED--TIKA-379-2.patch
          7 kB
          Julien Nioche
        3. ASF.LICENSE.NOT.GRANTED--TIKA-379
          2 kB
          Julien Nioche

          Issue Links

            Activity

              People

              • Assignee:
                chrismattmann Chris A. Mattmann
                Reporter:
                jnioche Julien Nioche
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: