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

WordExtractor - bold hyperlink not closed properly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2, 1.3, 1.4, 1.5
    • Fix Version/s: 1.14, 2.0.0
    • Component/s: parser
    • Labels:
      None
    • Environment:

      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. example.doc
          56 kB
          Alan Hunter
        2. testWORD_bold_hyperlink.doc
          26 kB
          Alan Hunter
        3. testWORD_italic_hyperlink.doc
          26 kB
          Alan Hunter
        4. testWORD_strikethrough_hyperlink.doc
          26 kB
          Alan Hunter
        5. WordExtractor.java
          26 kB
          Alan Hunter
        6. WordParserTest.java
          17 kB
          Alan Hunter

          Activity

            People

            • Assignee:
              tallison Tim Allison
              Reporter:
              alanhunter Alan Hunter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment