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

WordExtractor - bold hyperlink not closed properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2, 1.3, 1.4, 1.5
    • 1.14, 2.0.0
    • parser
    • None
    • Any

    Description

      If a Word document contains a bold hyperlink, the resulting xhtml is:

      <a href="http://www.testdomain.com/support/workcentre-7232-7242/file-download/enus.html?operatingSystem=macosx108&amp;fileLanguage=en&amp;contentId=126220&amp;from=downloads&amp;viewArchived=false"><b>Test link</a></b>

      The closing bold and anchor tags are transposed, which isn't valid XHTML.

      Attachments

        1. WordParserTest.java
          17 kB
          Alan Hunter
        2. WordExtractor.java
          26 kB
          Alan Hunter
        3. testWORD_strikethrough_hyperlink.doc
          26 kB
          Alan Hunter
        4. testWORD_italic_hyperlink.doc
          26 kB
          Alan Hunter
        5. testWORD_bold_hyperlink.doc
          26 kB
          Alan Hunter
        6. example.doc
          56 kB
          Alan Hunter

        Activity

          People

            tallison Tim Allison
            alanhunter Alan Hunter
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: